com.pnfsoftware.jeb.core.units.code.java.IJavaOperation |
Known Indirect Subclasses |
Java AST interface to represent arithmetic and logical expressions.
An expression consists of one or two members (the left and right members) and an operator. The left member is optional, and should be null for unary operators.
Examples:
a + 1 a * ((int)b - foo()) !x x ^ y | z
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.units.code.java.IJavaElement
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract IJavaOperation |
duplicate()
Duplicate this element.
| ||||||||||
abstract IJavaExpression |
getLeft()
Get the left member sub-expression.
| ||||||||||
abstract IJavaOperator |
getOperator()
Get the expression's operator.
| ||||||||||
abstract IJavaExpression |
getRight()
Get the right sub-expression.
| ||||||||||
abstract void | setLeft(IJavaExpression left) | ||||||||||
abstract void |
setOperator(IJavaOperator operator)
Set the operator for the expression.
| ||||||||||
abstract void | setRight(IJavaExpression right) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.units.code.java.IJavaElement
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.code.java.IJavaExpression
|
Duplicate this element.
Get the left member sub-expression.
Get the right sub-expression.
Set the operator for the expression. Dangerous method! the operator type is not checked, it is the caller's responsibility to do so.
operator | operator, cannot be null |
---|