com.pnfsoftware.jeb.core.units.code.java.IJavaConditionalExpression |
Java AST interface to represent conditional expressions.
Conditional expressions in Java use the ternary operator ?:
.
Examples:
a ? b : c
Note: Currently, conditional expressions are read-only elements.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract IJavaExpression |
getLeft()
Get the 'condition' left expression.
| ||||||||||
abstract IJavaExpression |
getRight0()
Get the 'evaluated on true' right expression.
| ||||||||||
abstract IJavaExpression |
getRight1()
Get the 'evaluated on false' right expression.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Get the 'condition' left expression.
Get the 'evaluated on true' right expression.
Get the 'evaluated on false' right expression.