public static final class Java.Block extends Java.Statement
The statements that the block defines are executed in sequence.
Modifier and Type | Field and Description |
---|---|
List |
statements |
localVariables
NOWHERE
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.BlockStatementVisitor visitor) |
void |
addStatement(Java.BlockStatement statement) |
void |
addStatements(List statements) |
Java.BlockStatement[] |
getStatements() |
String |
toString() |
findLocalVariable, getEnclosingScope, setEnclosingScope
getLocation, throwCompileException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLocation, throwCompileException
public final List statements
public Block(Location location)
public void addStatement(Java.BlockStatement statement)
public void addStatements(List statements)
public Java.BlockStatement[] getStatements()
public void accept(Visitor.BlockStatementVisitor visitor)
Copyright © 2001–2016. All rights reserved.