|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Represents a simple or compound assignment expression. For example:
size = 0;
size += 10;
| Field Summary | |
static int |
ASSIGN
Constant representing a simple = assignment expression. |
static int |
BAND_ASSIGN
Constant representing a compound &= assignment expression. |
static int |
BOR_ASSIGN
Constant representing a compound |= assignment expression. |
static int |
BSR_ASSIGN
Constant representing a compound >>>= assignment expression. |
static int |
BXOR_ASSIGN
Constant representing a compound ^= assignment expression. |
static int |
DIV_ASSIGN
Constant representing a compound /= assignment expression. |
static int |
MINUS_ASSIGN
Constant representing a compound -= assignment expression. |
static int |
MOD_ASSIGN
Constant representing a compound %= assignment expression. |
static int |
PLUS_ASSIGN
Constant representing a compound += assignment expression. |
static int |
SL_ASSIGN
Constant representing a compound <<= assignment expression. |
static int |
SR_ASSIGN
Constant representing a compound >>= assignment expression. |
static int |
STAR_ASSIGN
Constant representing a compound *= assignment expression. |
| Method Summary | |
int |
getExpressionKind()
Returns this expression's kind encoded as an integer. |
AstExpression |
getLeftOperand()
Returns the left operand of this expression. |
AstExpression |
getRightOperand()
Returns the right operand of this expression. |
| Methods inherited from interface com.togethersoft.sca.ast.AstExpression |
getOperands, getRuntimeType, getType, isConstant |
| Methods inherited from interface com.togethersoft.sca.ast.AstObject |
addComment, getChildren, getComments, getCompilationUnit, getDeclaringMethod, getDeclaringType, getObjectKind, getPackage, getParent, getPosition, isDeleted, remove, replaceWith, replaceWith, setPosition, setPositionAfter, visitExpressions, visitStatements |
| Field Detail |
public static final int ASSIGN
public static final int BAND_ASSIGN
public static final int BOR_ASSIGN
public static final int BSR_ASSIGN
public static final int BXOR_ASSIGN
public static final int DIV_ASSIGN
public static final int MINUS_ASSIGN
public static final int MOD_ASSIGN
public static final int PLUS_ASSIGN
public static final int SL_ASSIGN
public static final int SR_ASSIGN
public static final int STAR_ASSIGN
| Method Detail |
public int getExpressionKind()
public AstExpression getLeftOperand()
public AstExpression getRightOperand()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||