public class AttributeExpression extends PropertyExpression
Constructor and Description |
---|
AttributeExpression(Expression objectExpression,
Expression property) |
AttributeExpression(Expression objectExpression,
Expression property,
boolean safe) |
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) |
getObjectExpression, getProperty, getPropertyAsString, getText, isDynamic, isImplicitThis, isSafe, isSpreadSafe, isStatic, setImplicitThis, setObjectExpression, setSpreadSafe, setStatic, toString
getType, setType, transformExpressions, transformExpressions
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
copyNodeMetaData, equals, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getNodeMetaData, getNodeMetaData, hashCode, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition
public AttributeExpression(Expression objectExpression, Expression property)
public AttributeExpression(Expression objectExpression, Expression property, boolean safe)
public void visit(GroovyCodeVisitor visitor)
visit
in class PropertyExpression
public Expression transformExpression(ExpressionTransformer transformer)
Expression
transformExpression
in class PropertyExpression