public final class Condition extends Node
| Constructor and Description |
|---|
Condition() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Node> |
getChildren() |
Expression |
getCondition() |
Block |
getFalseBlock() |
Block |
getTrueBlock() |
void |
setCondition(Expression condition) |
void |
setFalseBlock(Block falseBlock) |
void |
setTrueBlock(Block trueBlock) |
void |
writeTo(ITextOutput output) |
getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, isConditionalControlFlow, isUnconditionalControlFlow, toStringpublic final Expression getCondition()
public final void setCondition(Expression condition)
public final Block getTrueBlock()
public final void setTrueBlock(Block trueBlock)
public final Block getFalseBlock()
public final void setFalseBlock(Block falseBlock)
public final java.util.List<Node> getChildren()
getChildren in class Nodepublic final void writeTo(ITextOutput output)