Package icyllis.arc3d.compiler.tree
Class BlockStatement
java.lang.Object
icyllis.arc3d.compiler.tree.Node
icyllis.arc3d.compiler.tree.Statement
icyllis.arc3d.compiler.tree.BlockStatement
A block of multiple statements functioning as a single statement.
-
Nested Class Summary
Nested classes/interfaces inherited from class icyllis.arc3d.compiler.tree.Node
Node.ElementKind, Node.ExpressionKind, Node.StatementKind, Node.SymbolKind
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(TreeVisitor visitor) Visit this AST with a given visitor.getKind()
boolean
isEmpty()
boolean
isScoped()
static Statement
static BlockStatement
static Statement
makeCompound
(Statement before, Statement after) void
setScoped
(boolean scoped) void
setStatements
(List<Statement> statements) toString()
Methods inherited from class icyllis.arc3d.compiler.tree.Node
getEndOffset, getStartOffset
-
Constructor Details
-
BlockStatement
-
-
Method Details
-
make
-
makeBlock
-
makeCompound
-
getKind
-
accept
Description copied from class:Node
Visit this AST with a given visitor. -
isEmpty
public boolean isEmpty() -
getStatements
-
setStatements
-
isScoped
public boolean isScoped() -
setScoped
public void setScoped(boolean scoped) -
toString
-