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
_body
private Expression
_condition
private LoopType
_loopType
-
Constructor Summary
Constructors Constructor Description Loop()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Block
getBody()
java.util.List<Node>
getChildren()
Expression
getCondition()
LoopType
getLoopType()
void
setBody(Block body)
void
setCondition(Expression condition)
void
setLoopType(LoopType loopType)
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
-
_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:
getChildren
in classNode
-
writeTo
public final void writeTo(ITextOutput output)
-
-