public interface ICompoundAssignmentNode
These are:
+=
-=
*=
/=
%=
&=
|=
^=
&&=
||=
<<=
>>=
>>>=
The typical shape of this node is:
ICompoundAssignmentNode IExpressionNode <-- getLeftOperandNode() IExpressionNode <-- getRightOperandNode()For example,
a += b
is represented as
ICompoundAssignmentNode "+=" IIdentifierNode "a" IIdentifierNode "b"
Modifier and Type | Method and Description |
---|---|
ITypeDefinition |
resolveTypeOfRValue(ICompilerProject project)
Determines the compile-time type of the r-value
of the assignment.
|
ITypeDefinition resolveTypeOfRValue(ICompilerProject project)
For example, for a += b
this is the type
of a + b
.
project
- The ICompilerProject
to use to do lookups.ITypeDefinition
of the type of the r-value.Copyright © 2016 The Apache Software Foundation. All rights reserved.