public class MapEntryExpression extends Expression
EMPTY_ARRAY
DOC_COMMENT
Constructor and Description |
---|
MapEntryExpression(Expression keyExpression,
Expression valueExpression) |
Modifier and Type | Method and Description |
---|---|
Expression |
getKeyExpression() |
Expression |
getValueExpression() |
void |
setKeyExpression(Expression keyExpression) |
void |
setValueExpression(Expression valueExpression) |
String |
toString() |
Expression |
transformExpression(ExpressionTransformer transformer)
Return a copy of the expression calling the transformer on any nested expressions
|
void |
visit(GroovyCodeVisitor visitor) |
getType, setType, transformExpressions, transformExpressions
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, hashCode, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
copyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setNodeMetaData
public MapEntryExpression(Expression keyExpression, Expression valueExpression)
public void visit(GroovyCodeVisitor visitor)
public Expression transformExpression(ExpressionTransformer transformer)
Expression
transformExpression
in class Expression
public Expression getKeyExpression()
public Expression getValueExpression()
public void setKeyExpression(Expression keyExpression)
public void setValueExpression(Expression valueExpression)