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_conditionprivate Block_falseBlockprivate 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()ExpressiongetCondition()BlockgetFalseBlock()BlockgetTrueBlock()voidsetCondition(Expression condition)voidsetFalseBlock(Block falseBlock)voidsetTrueBlock(Block trueBlock)voidwriteTo(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:
getChildrenin classNode
-
writeTo
public final void writeTo(ITextOutput output)
-
-