public final class BlockStatement extends StatementBase
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
void |
accept(ASTVisitorOld visitor)
Accept visitor for a visit.
|
void |
acceptChildren(ASTVisitor visitor)
Accept visitor for a visit to the children of this node.
|
static BlockStatement |
construct(Statement[] stats)
Construct a block statement
|
static BlockStatement |
construct(java.util.Vector<Statement> stats)
Construct a block statement
|
java.lang.String |
getKind()
Get type of statement.
|
getAnnotation, getJudgement, setAnnotation, setJudgementgetPosition, setPositionaccept, accept, print, printCore, toString, toStringCoreequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPosition, setPositionprint, printCore, toString, toStringCorepublic final Statement[] stats
public static BlockStatement construct(java.util.Vector<Statement> stats)
stats - the sequence of statementspublic static BlockStatement construct(Statement[] stats)
stats - the sequence of statementspublic void accept(ASTVisitorOld visitor)
accept in interface ASTaccept in class StatementBasevisitor - the visitor who is accepted by this node.public void accept(ASTVisitor visitor)
accept in interface ASTaccept in class StatementBasevisitor - the visitor who is accepted by this node.public void acceptChildren(ASTVisitor visitor)
acceptChildren in interface ASTacceptChildren in class StatementBasevisitor - the visitor who is accepted by the children of this node.public java.lang.String getKind()