|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A list of statements
Field Summary | |
---|---|
VariableScope |
scope
|
List |
statements
|
Constructor Summary | |
BlockStatement()
|
|
BlockStatement(List statements, VariableScope scope)
|
|
BlockStatement(def statements, VariableScope scope)
|
Method Summary | |
---|---|
void |
addStatement(Statement statement)
|
void |
addStatements(List listOfStatements)
|
List |
getStatements()
|
String |
getText()
|
VariableScope |
getVariableScope()
|
boolean |
isEmpty()
|
void |
setVariableScope(VariableScope scope)
|
String |
toString()
|
void |
visit(GroovyCodeVisitor visitor)
|
Constructor Detail |
---|
public BlockStatement()
public BlockStatement(List statements, VariableScope scope)
public BlockStatement(def statements, VariableScope scope)
Method Detail |
---|
public void addStatement(Statement statement)
public void addStatements(List listOfStatements)
public List getStatements()
public String getText()
public VariableScope getVariableScope()
public boolean isEmpty()
public void setVariableScope(VariableScope scope)
public String toString()
public void visit(GroovyCodeVisitor visitor)