Package com.strobel.decompiler.ast
Class Block
- java.lang.Object
-
- com.strobel.decompiler.ast.Node
-
- com.strobel.decompiler.ast.Block
-
- Direct Known Subclasses:
CaseBlock
,CatchBlock
public class Block extends Node
-
-
Field Summary
Fields Modifier and Type Field Description private Collection<Node>
_body
private Expression
_entryGoto
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Node>
getBody()
java.util.List<Node>
getChildren()
Expression
getEntryGoto()
void
setEntryGoto(Expression entryGoto)
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
-
_body
private final Collection<Node> _body
-
_entryGoto
private Expression _entryGoto
-
-
Method Detail
-
getEntryGoto
public final Expression getEntryGoto()
-
setEntryGoto
public final void setEntryGoto(Expression entryGoto)
-
getBody
public final java.util.List<Node> getBody()
-
getChildren
public final java.util.List<Node> getChildren()
- Overrides:
getChildren
in classNode
-
writeTo
public void writeTo(ITextOutput output)
-
-