public class CaseStatement extends Statement
Constructor and Description |
---|
CaseStatement(Expression expression,
Statement code) |
Modifier and Type | Method and Description |
---|---|
Statement |
getCode() |
Expression |
getExpression() |
void |
setCode(Statement code) |
void |
setExpression(Expression e) |
String |
toString() |
void |
visit(GroovyCodeVisitor visitor) |
getStatementLabel, isEmpty, setStatementLabel
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getNodeMetaData, getText, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition
public CaseStatement(Expression expression, Statement code)
public Statement getCode()
public void setCode(Statement code)
public Expression getExpression()
public void setExpression(Expression e)
public void visit(GroovyCodeVisitor visitor)