- org.codehaus.groovy.ast.expr.EmptyExpression
-
public class EmptyExpression
extends Expression
Placeholder for an empty expression. Empty expressions are used in closures
lists like (;). During class generation empty expressions should be ignored
or replaced with a null value.
- See Also:
- EmptyStatement
-
-
Field Summary
Fields
| Modifiers |
Name |
Description |
static EmptyExpression |
INSTANCE |
Immutable singleton that is recommended for use when source range or any
other occurrence-specific metadata is not needed. |
-
-
Methods Summary
-
Inherited Methods Summary
Inherited Methods
| Methods inherited from class |
Name |
class Expression |
getType, setType, transformExpression, transformExpressions, transformExpressions |
class AnnotatedNode |
addAnnotation, addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode |
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit |
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.