Package com.strobel.decompiler.ast
Class Condition
- java.lang.Object
-
- com.strobel.decompiler.ast.Node
-
- com.strobel.decompiler.ast.Condition
-
public final class Condition extends Node
-
-
Field Summary
Fields Modifier and Type Field Description private Expression
_condition
private Block
_falseBlock
private Block
_trueBlock
-
Constructor Summary
Constructors Constructor Description Condition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class com.strobel.decompiler.ast.Node
getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getChildrenAndSelfRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, getSelfAndChildrenRecursive, isConditionalControlFlow, isUnconditionalControlFlow, toString
-
-
-
-
Field Detail
-
_condition
private Expression _condition
-
_trueBlock
private Block _trueBlock
-
_falseBlock
private Block _falseBlock
-
-
Method Detail
-
getCondition
public final Expression getCondition()
-
setCondition
public final void setCondition(Expression condition)
-
getTrueBlock
public final Block getTrueBlock()
-
setTrueBlock
public final void setTrueBlock(Block trueBlock)
-
getFalseBlock
public final Block getFalseBlock()
-
setFalseBlock
public final void setFalseBlock(Block falseBlock)
-
getChildren
public final java.util.List<Node> getChildren()
- Overrides:
getChildren
in classNode
-
writeTo
public final void writeTo(ITextOutput output)
-
-