Represents an entry inside a map expression such as 1 : 2.
Type | Name and description |
---|---|
Expression |
keyExpression |
Expression |
valueExpression |
Constructor and description |
---|
MapEntryExpression
(Expression keyExpression, Expression valueExpression) |
Type Params | Return Type | Name and description |
---|---|---|
|
Expression |
getKeyExpression() |
|
Expression |
getValueExpression() |
|
void |
setKeyExpression(Expression keyExpression) |
|
void |
setValueExpression(Expression valueExpression) |
|
String |
toString() |
|
Expression |
transformExpression(ExpressionTransformer transformer) |
|
void |
visit(GroovyCodeVisitor visitor) |
Methods inherited from class | Name |
---|---|
class Expression |
getType, setType, transformExpression, transformExpressions, transformExpressions |
class AnnotatedNode |
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode |
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getNodeMetaData, getNodeMetaData, getText, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition, visit |
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.