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 |
|---|---|
java.util.List |
statements |
localVariablesNOWHERE| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor.BlockStatementVisitor visitor) |
void |
addStatement(Java.BlockStatement statement) |
void |
addStatements(java.util.List statements) |
Java.BlockStatement[] |
getStatements() |
java.lang.String |
toString() |
findLocalVariable, getEnclosingScope, setEnclosingScopegetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileExceptionpublic Block(Location location)
public void addStatement(Java.BlockStatement statement)
public void addStatements(java.util.List statements)
public Java.BlockStatement[] getStatements()
public void accept(Visitor.BlockStatementVisitor visitor)
public java.lang.String toString()
toString in class java.lang.Object