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, setStatementLabelcopyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, hashCode, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePositionclone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcopyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setNodeMetaDatapublic static final EmptyStatement INSTANCE
public EmptyStatement()
INSTANCEpublic void visit(GroovyCodeVisitor visitor)