|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Expression
subinterface for expressions which have a
single operand.
Field Summary | |
static int |
AD
Unary function type for arithmetic ante-decrement: (--i) . |
static int |
AI
Unary function type for arithmetic ante-increment: (++i) . |
static int |
BITWISE_NOT
Unary function type for bitwise complement: (~1) . |
static int |
GROUP
Unary function type for a group of parentheses: (expr) . |
static int |
NEG
Unary function type for arithmetic sign complement: (-1) . |
static int |
NOT
Unary function type for a logical complement: (!true) . |
static int |
PD
Unary function type for arithmetic post-decrement: (i--) . |
static int |
PI
Unary function type for arithmetic post-increment: (i++) . |
static int |
POS
Unary function type for arithmetic sign identity: (+1) . |
Method Summary | |
Expression |
getValue()
Getter method for the operand. |
void |
setValue(Expression e)
Setter method for the operand. |
int |
type()
Returns the type of this unary function as one of the constants in this interface. |
Methods inherited from interface org.inxar.jenesis.Expression |
getType |
Methods inherited from interface org.inxar.jenesis.Codeable |
getComment, setComment, toCode, vm |
Field Detail |
public static final int GROUP
(expr)
.public static final int NOT
(!true)
.public static final int BITWISE_NOT
(~1)
.public static final int NEG
(-1)
.public static final int POS
(+1)
.public static final int AI
(++i)
.public static final int PI
(i++)
.public static final int AD
(--i)
.public static final int PD
(i--)
.Method Detail |
public int type()
public void setValue(Expression e)
public Expression getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |