| com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICOperator |
This interface is used to define a C operator.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | OP_CARRY | ||||||||||
| String | OP_PARITY | ||||||||||
| String | OP_POW | ||||||||||
| String | OP_ROL | ||||||||||
| String | OP_ROR | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract boolean | checkType(COperatorType... candidateTypes) | ||||||||||
| abstract COperatorType.Associativity |
getAssociativity()
Get the associativity (left, right) of the operator.@return
| ||||||||||
| abstract ICType | getCastType() | ||||||||||
| abstract COperatorType | getInternalOperatorType() | ||||||||||
| abstract ICOperator | getMirror() | ||||||||||
| abstract int | getOperandCount() | ||||||||||
| abstract int |
getPrecedence()
Get the precedence of the operator.
| ||||||||||
| abstract int |
getPrecedenceDelta(ICOperator other)
Check the precedence of this operator against another operator.
| ||||||||||
| abstract ICOperator | getReverse() | ||||||||||
| abstract COperatorType | getType() | ||||||||||
| abstract boolean | isBinary() | ||||||||||
| abstract boolean | isCast() | ||||||||||
| abstract boolean | isCustom() | ||||||||||
| abstract boolean | isRegular() | ||||||||||
| abstract boolean | isTertiary() | ||||||||||
| abstract boolean | isUnary() | ||||||||||
| abstract boolean |
isValidForCombinedAssignment()
Determine if this operator is one of the 11 (+1) arithmetic operators that can be used to
build a combined-operator assignment.
| ||||||||||
Get the associativity (left, right) of the operator.@return
| RuntimeException | if the associativity is not found |
|---|
Get the precedence of the operator. Currently not implemented for all operators, and the method will throw if it cannot find a precedence value.@return
| RuntimeException | if the precedence is not found |
|---|
Check the precedence of this operator against another operator.
| Exception |
|---|
Determine if this operator is one of the 11 (+1) arithmetic operators that can be used to build a combined-operator assignment.