Represents a base class for expressions which evaluate as an object
Modifiers | Name | Description |
---|---|---|
static Expression[] |
EMPTY_ARRAY |
Type Params | Return Type | Name and description |
---|---|---|
|
ClassNode |
getType() |
|
void |
setType(ClassNode t) |
|
Expression |
transformExpression(ExpressionTransformer transformer) Return a copy of the expression calling the transformer on any nested expressions |
|
protected List<Expression> |
transformExpressions(List<? extends Expression> expressions, ExpressionTransformer transformer) Transforms the list of expressions |
|
protected List<T> |
transformExpressions(List<? extends Expression> expressions, ExpressionTransformer transformer, Class<T> transformedType) Transforms the list of expressions, and checks that all transformed expressions have the given type. |
Methods inherited from class | Name |
---|---|
class AnnotatedNode |
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode |
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, hashCode, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit |
Return a copy of the expression calling the transformer on any nested expressions
Transforms the list of expressions
Transforms the list of expressions, and checks that all transformed expressions have the given type.