|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Represents a one operand expression. For example:
done = !done;
mask = ~0x8000;
| Field Summary | |
static int |
BNOT
Constant representing a bitwise complement ~ expression. |
static int |
LNOT
Constant representing a logical complement ! expression. |
static int |
MINUS
Constant representing a unary - expression. |
static int |
PLUS
Constant representing a unary + expression. |
static int |
POST_DEC
Constant representing a postfix decrement ++ expression. |
static int |
POST_INC
Constant representing a postfix increment ++ expression. |
static int |
PRE_DEC
Constant representing a prefix decrement -- expression. |
static int |
PRE_INC
Constant representing a prefix increment ++ expression. |
| Method Summary | |
int |
getExpressionKind()
Returns this expression's kind encoded as an integer. |
AstExpression |
getOperand()
Returns the 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 BNOT
public static final int LNOT
public static final int MINUS
public static final int PLUS
public static final int POST_DEC
public static final int POST_INC
public static final int PRE_DEC
public static final int PRE_INC
| Method Detail |
public int getExpressionKind()
public AstExpression getOperand()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||