java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.COperatorType |
Operator types are used to build operators
used by AST components, eg, in
operations
.
All types are regular except the CUSTOM
and CAST
types, which are used to build
custom operators.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | COperatorType.Associativity |
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
COperatorType | ADD | ||||||||||
COperatorType | AND | ||||||||||
COperatorType | CAST | ||||||||||
COperatorType | COND | ternary conditional operator | |||||||||
COperatorType | CUSTOM | ||||||||||
COperatorType | DIV | ||||||||||
COperatorType | EQ | ||||||||||
COperatorType | GE | ||||||||||
COperatorType | GT | ||||||||||
COperatorType | LE | ||||||||||
COperatorType | LOG_AND | ||||||||||
COperatorType | LOG_IDENT | Logical pseudo-identity operator (no output); the opposite of LOG_NOT | |||||||||
COperatorType | LOG_NOT | ||||||||||
COperatorType | LOG_OR | ||||||||||
COperatorType | LT | ||||||||||
COperatorType | MUL | ||||||||||
COperatorType | NE | ||||||||||
COperatorType | NEG | ||||||||||
COperatorType | NOT | ||||||||||
COperatorType | OR | ||||||||||
COperatorType | PTR | ||||||||||
COperatorType | REF | ||||||||||
COperatorType | REM | ||||||||||
COperatorType | SHL | ||||||||||
COperatorType | SHR | ||||||||||
COperatorType | SIZEOF | ||||||||||
COperatorType | SUB | ||||||||||
COperatorType | USHR | ||||||||||
COperatorType | XOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
COperatorType.Associativity |
getAssociativity()
Provide associativity (left, right) information about the operation type.
| ||||||||||
int |
getOperandCount()
Get the number of operands accepted by this operator.
| ||||||||||
int |
getPrecedence()
Provide precedence information about the operation type.
| ||||||||||
COperatorType |
mirror()
Retrieve a mirror of this operator.
| ||||||||||
COperatorType |
reverse()
Retrieve a reverse of this operator.
| ||||||||||
String | toString() | ||||||||||
static COperatorType | valueOf(String name) | ||||||||||
final static COperatorType[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Logical pseudo-identity operator (no output); the opposite of LOG_NOT
Provide associativity (left, right) information about the operation type.
Get the number of operands accepted by this operator.
Provide precedence information about the operation type.
Retrieve a mirror of this operator.
Retrieve a reverse of this operator.