Package com.strobel.decompiler.ast
Class Loop
- java.lang.Object
-
- com.strobel.decompiler.ast.Node
-
- com.strobel.decompiler.ast.Loop
-
public final class Loop extends Node
-
-
Field Summary
Fields Modifier and Type Field Description private Block_bodyprivate Expression_conditionprivate LoopType_loopType
-
Constructor Summary
Constructors Constructor Description Loop()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockgetBody()java.util.List<Node>getChildren()ExpressiongetCondition()LoopTypegetLoopType()voidsetBody(Block body)voidsetCondition(Expression condition)voidsetLoopType(LoopType loopType)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
-
_loopType
private LoopType _loopType
-
_condition
private Expression _condition
-
_body
private Block _body
-
-
Method Detail
-
getCondition
public final Expression getCondition()
-
setCondition
public final void setCondition(Expression condition)
-
getBody
public final Block getBody()
-
setBody
public final void setBody(Block body)
-
getLoopType
public final LoopType getLoopType()
-
setLoopType
public final void setLoopType(LoopType loopType)
-
getChildren
public final java.util.List<Node> getChildren()
- Overrides:
getChildrenin classNode
-
writeTo
public final void writeTo(ITextOutput output)
-
-