public class EmptyStatement extends Statement
Modifier and Type | Field and Description |
---|---|
static EmptyStatement |
INSTANCE
Immutable singleton that is recommended for use when source range or any
other occurrence-specific metadata is not needed.
|
Constructor and Description |
---|
EmptyStatement() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty() |
void |
visit(GroovyCodeVisitor visitor) |
addStatementLabel, copyStatementLabels, getStatementLabel, getStatementLabels, setStatementLabel
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, hashCode, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
copyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setNodeMetaData
public static final EmptyStatement INSTANCE
public EmptyStatement()
INSTANCE
public void visit(GroovyCodeVisitor visitor)