Top Description Constructors Methods
org.codehaus.groovy.ast.expr

public Class AttributeExpression

extends PropertyExpression
Class Inheritance
Imports
org.codehaus.groovy.ast.GroovyCodeVisitor

Represents an attribute access (accessing the field of a class) such as the expression "foo.@bar".

Constructor Summary

AccessConstructor and Description
public
AttributeExpression(final Expression objectExpression, final Expression property)

public
AttributeExpression(final Expression objectExpression, final Expression property, final boolean safe)

Method Summary

Modifier and TypeMethod and Description
public String
public Expression
transformExpression(final ExpressionTransformer transformer)

Overrides org.codehaus.groovy.ast.expr.PropertyExpression.transformExpression.

Return a copy of the expression calling the transformer on any nested expressions
public void
Inherited from org.codehaus.groovy.ast.expr.PropertyExpression:
getObjectExpressiongetPropertygetPropertyAsStringisDynamicisImplicitThisisSafeisSpreadSafeisStaticsetImplicitThissetObjectExpressionsetSpreadSafesetStatictoString

Constructor Detail

AttributeExpressionback to summary
public AttributeExpression(final Expression objectExpression, final Expression property)
AttributeExpressionback to summary
public AttributeExpression(final Expression objectExpression, final Expression property, final boolean safe)

Method Detail

getTextback to summary
public String getText()

Overrides org.codehaus.groovy.ast.expr.PropertyExpression.getText.

Annotations
@Override
transformExpressionback to summary
public Expression transformExpression(final ExpressionTransformer transformer)

Overrides org.codehaus.groovy.ast.expr.PropertyExpression.transformExpression.

Doc from org.codehaus.groovy.ast.expr.Expression.transformExpression.

Return a copy of the expression calling the transformer on any nested expressions

Annotations
@Override
visitback to summary
public void visit(final GroovyCodeVisitor visitor)

Overrides org.codehaus.groovy.ast.expr.PropertyExpression.visit.

Annotations
@Override