java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.pnfsoftware.jeb.core.units.code.java.JavaOperatorType |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | JavaOperatorType.Associativity |
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JavaOperatorType | ADD | Arithmetic addition | |||||||||
JavaOperatorType | AND | Binary and | |||||||||
JavaOperatorType | CAST_CONVERSION | Special cast type reserved for integer-to-FP and FP-to-integer conversion operations during an IR conversion pass. | |||||||||
JavaOperatorType | CAST_TO_BOOLEAN | Cast to primitive | |||||||||
JavaOperatorType | CAST_TO_BYTE | Cast to primitive | |||||||||
JavaOperatorType | CAST_TO_CHAR | Cast to primitive | |||||||||
JavaOperatorType | CAST_TO_DOUBLE | Cast to primitive | |||||||||
JavaOperatorType | CAST_TO_FLOAT | Cast to primitive | |||||||||
JavaOperatorType | CAST_TO_INT | Cast to primitive | |||||||||
JavaOperatorType | CAST_TO_LONG | Cast to primitive | |||||||||
JavaOperatorType | CAST_TO_OBJECT | Generic cast-to-object operator | |||||||||
JavaOperatorType | CAST_TO_SHORT | Cast to primitive | |||||||||
JavaOperatorType | CONCAT | Similar to ADD (+), but for strings | |||||||||
JavaOperatorType | COND_EXP | conditional expression operator: p ? a: b | |||||||||
JavaOperatorType | DIV | Arithmetic division | |||||||||
JavaOperatorType | EQ | Logical equality | |||||||||
JavaOperatorType | GE | Logical greater-than-or-equal | |||||||||
JavaOperatorType | GT | Logical greater-than | |||||||||
JavaOperatorType | INSTANCEOF | Type check | |||||||||
JavaOperatorType | LE | Logical less-than-or-equal | |||||||||
JavaOperatorType | LOG_AND | Logical and | |||||||||
JavaOperatorType | LOG_IDENT | Logical pseudo-identity operator (generally, does not generate output); the opposite of LOG_NOT | |||||||||
JavaOperatorType | LOG_NOT | Logical not | |||||||||
JavaOperatorType | LOG_OR | Logical or | |||||||||
JavaOperatorType | LT | Logical less-than | |||||||||
JavaOperatorType | MUL | Arithmetic multiplication | |||||||||
JavaOperatorType | NE | Logical non-equality | |||||||||
JavaOperatorType | NEG | Arithmetic negation | |||||||||
JavaOperatorType | NOT | Binary not | |||||||||
JavaOperatorType | OR | Binary or | |||||||||
JavaOperatorType | REM | Arithmetic remainder | |||||||||
JavaOperatorType | SHL | Shift-left (binary shift) | |||||||||
JavaOperatorType | SHR | Signed shift-right (a.k.a. | |||||||||
JavaOperatorType | SUB | Arithmetic subtraction | |||||||||
JavaOperatorType | USHR | Unsigned shift-right (binary shift) | |||||||||
JavaOperatorType | XOR | Binary xor |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JavaOperatorType.Associativity |
getAssociativity()
Provide associativity (left, right) information about the operation type.
| ||||||||||
JavaOperatorType |
getMirror()
Retrieve the mirror of this operator type.
| ||||||||||
int |
getPrecedence()
Provide precedence information about the operation type.
| ||||||||||
boolean | isAnyOf(JavaOperatorType... operatorTypes) | ||||||||||
static JavaOperatorType | valueOf(String name) | ||||||||||
final static JavaOperatorType[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Special cast type reserved for integer-to-FP and FP-to-integer conversion operations during an IR conversion pass. Client code should not use this operator.
Logical pseudo-identity operator (generally, does not generate output); the opposite of LOG_NOT
Signed shift-right (a.k.a. "arithmetic" shift-right: the sign bit is copied over)
Provide associativity (left, right) information about the operation type.
Retrieve the mirror of this operator type.
== -> == != -> != > -> < >= -> <= < -> > <= -> >=Careful, do not confuse mirror operators and inverse operators. Example: the mirror of GT is LT; the inverse of GT is LE.
Provide precedence information about the operation type.