Package org.codehaus.groovy.ast.stmt
Class EmptyStatement
java.lang.Object
org.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.stmt.Statement
org.codehaus.groovy.ast.stmt.EmptyStatement
- All Implemented Interfaces:
- NodeMetaDataHandler
public class EmptyStatement extends Statement
- 
Field SummaryFields Modifier and Type Field Description static EmptyStatementINSTANCEImmutable singleton that is recommended for use when source range or any other occurrence-specific metadata is not needed.
- 
Constructor SummaryConstructors Constructor Description EmptyStatement()
- 
Method SummaryModifier and Type Method Description booleanisEmpty()voidvisit(GroovyCodeVisitor visitor)Methods inherited from class org.codehaus.groovy.ast.stmt.StatementaddStatementLabel, copyStatementLabels, getStatementLabel, getStatementLabels, setStatementLabelMethods inherited from class org.codehaus.groovy.ast.ASTNodecopyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePositionMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.groovy.ast.NodeMetaDataHandlercopyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setNodeMetaData
- 
Field Details- 
INSTANCEImmutable singleton that is recommended for use when source range or any other occurrence-specific metadata is not needed.
 
- 
- 
Constructor Details- 
EmptyStatementpublic EmptyStatement()- See Also:
- INSTANCE
 
 
- 
- 
Method Details