public class EmptyExpression extends Expression
EmptyStatement
Modifier and Type | Field and Description |
---|---|
static EmptyExpression |
INSTANCE
Immutable singleton that is recommended for use when source range or any
other occurrence-specific metadata is not needed.
|
EMPTY_ARRAY
DOC_COMMENT
Constructor and Description |
---|
EmptyExpression() |
Modifier and Type | Method and Description |
---|---|
Expression |
transformExpression(ExpressionTransformer transformer)
Return a copy of the expression calling the transformer on any nested expressions
|
void |
visit(GroovyCodeVisitor visitor) |
getType, setType, transformExpressions, transformExpressions
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
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 EmptyExpression INSTANCE
public EmptyExpression()
INSTANCE
public Expression transformExpression(ExpressionTransformer transformer)
Expression
transformExpression
in class Expression
public void visit(GroovyCodeVisitor visitor)