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 Summary
Fields 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 Summary
Constructors Constructor Description EmptyStatement() -
Method Summary
Modifier and Type Method Description booleanisEmpty()voidvisit(GroovyCodeVisitor visitor)Methods inherited from class org.codehaus.groovy.ast.stmt.Statement
addStatementLabel, copyStatementLabels, getStatementLabel, getStatementLabels, setStatementLabelMethods inherited from class org.codehaus.groovy.ast.ASTNode
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.groovy.ast.NodeMetaDataHandler
copyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setNodeMetaData
-
Field Details
-
INSTANCE
Immutable singleton that is recommended for use when source range or any other occurrence-specific metadata is not needed.
-
-
Constructor Details
-
EmptyStatement
public EmptyStatement()- See Also:
INSTANCE
-
-
Method Details