Class MapEntryExpression
java.lang.Object
org.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.AnnotatedNode
org.codehaus.groovy.ast.expr.Expression
org.codehaus.groovy.ast.expr.MapEntryExpression
Represents an entry inside a map expression such as 1 : 2.
- Version:
- $Revision$
- Author:
- James Strachan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetKeyExpression(Expression keyExpression) voidsetValueExpression(Expression valueExpression) toString()transformExpression(ExpressionTransformer transformer) Return a copy of the expression calling the transformer on any nested expressionsvoidvisit(GroovyCodeVisitor visitor) Methods inherited from class Expression
getType, setType, transformExpressions, transformExpressionsMethods inherited from class AnnotatedNode
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
-
Constructor Details
-
MapEntryExpression
-
-
Method Details
-
visit
-
transformExpression
Description copied from class:ExpressionReturn a copy of the expression calling the transformer on any nested expressions- Specified by:
transformExpressionin classExpression- Parameters:
transformer-
-
toString
-
getKeyExpression
-
getValueExpression
-
setKeyExpression
-
setValueExpression
-