This class is a place holder for an empty expression. Empty expression are used in closures lists like (;). During class Generation this expression should be either ignored or replace with a null value.
Modifiers | Name | Description |
---|---|---|
static EmptyExpression |
INSTANCE |
Fields inherited from class | Fields |
---|---|
class Expression |
EMPTY_ARRAY |
Constructor and description |
---|
EmptyExpression
() use EmptyExpression.INSTANCE instead |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addAnnotation(AnnotationNode value) |
|
void |
addAnnotations(List<AnnotationNode> annotations) |
|
void |
copyNodeMetaData(NodeMetaDataHandler other) |
|
Object |
putNodeMetaData(Object key, Object value) |
|
void |
removeNodeMetaData(Object key) |
|
void |
setColumnNumber(int columnNumber) |
|
void |
setDeclaringClass(ClassNode declaringClass) |
|
void |
setHasNoRealSourcePosition(boolean value) |
|
void |
setLastColumnNumber(int lastColumnNumber) |
|
void |
setLastLineNumber(int lastLineNumber) |
|
void |
setLineNumber(int lineNumber) |
|
void |
setMetaDataMap(Map<?, ?> metaDataMap) |
|
void |
setNodeMetaData(Object key, Object value) |
|
void |
setSourcePosition(ASTNode node) |
|
void |
setSynthetic(boolean synthetic) |
|
void |
setType(ClassNode t) |
|
Expression |
transformExpression(ExpressionTransformer transformer) |
|
void |
visit(GroovyCodeVisitor visitor) |
Methods inherited from class | Name |
---|---|
class Expression |
getType, setType, transformExpression, transformExpressions, transformExpressions |
class AnnotatedNode |
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode |
copyNodeMetaData, copyNodeMetaData, equals, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getNodeMetaData, getNodeMetaData, getText, hashCode, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setNodeMetaData, setSourcePosition, visit |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
use EmptyExpression.INSTANCE instead
Copyright © 2003-2018 The Apache Software Foundation. All rights reserved.