|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Expression
subinterface for assignments.
Field Summary | |
static int |
ADD
Assignment type for arithmetic addition: (a += b) . |
static int |
BAND
Assignment type for bitwise and: (a &= b) . |
static int |
BOR
Assignment type for bitwise or: (a |= b) . |
static int |
CAT
Assignment type for string concatenation: (a += b) . |
static int |
DIV
Assignment type for arithmetic division: (a /= b) . |
static int |
LEFT
Assignment type for bitwise left shift: (a <<= b) . |
static int |
MOD
Assignment type for arithmetic modulus: (a %= b) . |
static int |
MUL
Assignment type for arithmetic multiplication: (a *= b) . |
static int |
RIGHT
Assignment type for bitwise right shift: (a >>= b) . |
static int |
S
Assignment type for simple: (a = b) . |
static int |
SUB
Assignment type for arithmetix subtraction: (a -= b) . |
static int |
UNSIGNED
Assignment type for bitwise unsigned right shift: (a >>>= b) . |
static int |
XOR
Assignment type for bitwise xor: (a ^= b) . |
Fields inherited from interface org.inxar.jenesis.Binary |
EQ, GT, GTE, IOF, LAND, LOR, LT, LTE, NE |
Method Summary | |
Variable |
getVariable()
Gets the lvalue. |
void |
setVariable(Variable variable)
Sets the lvalue. |
int |
type()
Returns the type of this assignment as one of the constants in this interface. |
Methods inherited from interface org.inxar.jenesis.Binary |
getLValue, getRValue, setLValue, setRValue |
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 S
(a = b)
.public static final int BAND
(a &= b)
.public static final int BOR
(a |= b)
.public static final int XOR
(a ^= b)
.public static final int LEFT
(a <<= b)
.public static final int RIGHT
(a >>= b)
.public static final int UNSIGNED
(a >>>= b)
.public static final int ADD
(a += b)
.public static final int SUB
(a -= b)
.public static final int MUL
(a *= b)
.public static final int DIV
(a /= b)
.public static final int MOD
(a %= b)
.public static final int CAT
(a += b)
.Method Detail |
public int type()
type
in interface Binary
public void setVariable(Variable variable)
public Variable getVariable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |