|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Expression
subinterface for expressions which have
left and right operands.
Field Summary | |
static int |
ADD
Binary function type for arithmetic addition: (a +
b) . |
static int |
BAND
Binary function type for bitwise and: (a & b) . |
static int |
BOR
Binary function type for bitwise or: (a | b) . |
static int |
CAT
Binary function type for string concatenation: (a +
b) . |
static int |
DIV
Binary function type for arithmetic division: (a /
b) . |
static int |
EQ
Binary function type for predicate equals: (a =
b) . |
static int |
GT
Binary function type for predicate greater than: (a >
b) . |
static int |
GTE
Binary function type for compund predicate greater than or equal: (a => b) . |
static int |
IOF
Binary function type for class equality: (a instanceof
b) . |
static int |
LAND
Binary function type for logical and: (a && b) . |
static int |
LEFT
Binary function type for bitwise left shift: (a <<
b) . |
static int |
LOR
Binary function type for logical or: (a || b) . |
static int |
LT
Binary function type for predicate less than: (a <
b) . |
static int |
LTE
Binary function type for compound predicate less than or equal: (a <= b) . |
static int |
MOD
Binary function type for arithmetic modulus: (a %
b) . |
static int |
MUL
Binary function type for arithmetic multiplication: (a *
b) . |
static int |
NE
Binary function type for predicate not equals: (a !=
b) . |
static int |
RIGHT
Binary function type for bitwise right shift: (a >>
b) . |
static int |
SUB
Binary function type for arithmetix subtraction: (a -
b) . |
static int |
UNSIGNED
Binary function type for bitwise unsigned right shift: (a
>>> b) . |
static int |
XOR
Binary function type for bitwise xor: (a ^ b) . |
Method Summary | |
Expression |
getLValue()
Getter method for the left side. |
Expression |
getRValue()
Getter method for the right side. |
void |
setLValue(Expression e)
Setter method for the left side. |
void |
setRValue(Expression e)
Setter method for the right side. |
int |
type()
Returns the type of this binary 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 LAND
(a && b)
.public static final int LOR
(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 EQ
(a =
b)
.public static final int NE
(a !=
b)
.public static final int GT
(a >
b)
.public static final int GTE
(a => b)
.public static final int LT
(a <
b)
.public static final int LTE
(a <= b)
.public static final int IOF
(a instanceof
b)
.public static final int CAT
(a +
b)
.Method Detail |
public int type()
public void setLValue(Expression e)
public Expression getLValue()
public void setRValue(Expression e)
public Expression getRValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |