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 |
localVariablesNOWHERE| Constructor and Description |
|---|
Java.Block(Location location) |
| 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, setEnclosingScopegetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileExceptionpublic final List statements
public Java.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–2013. All rights reserved.