public class MapExpression extends Expression
Constructor and Description |
---|
MapExpression() |
MapExpression(java.util.List<MapEntryExpression> mapEntryExpressions) |
Modifier and Type | Method and Description |
---|---|
void |
addMapEntryExpression(Expression keyExpression,
Expression valueExpression) |
void |
addMapEntryExpression(MapEntryExpression expression) |
java.util.List<MapEntryExpression> |
getMapEntryExpressions() |
java.lang.String |
getText() |
boolean |
isDynamic() |
java.lang.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, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition
public MapExpression()
public MapExpression(java.util.List<MapEntryExpression> mapEntryExpressions)
public void addMapEntryExpression(MapEntryExpression expression)
public java.util.List<MapEntryExpression> getMapEntryExpressions()
public void visit(GroovyCodeVisitor visitor)
public boolean isDynamic()
public Expression transformExpression(ExpressionTransformer transformer)
Expression
transformExpression
in class Expression
public java.lang.String toString()
toString
in class java.lang.Object
public void addMapEntryExpression(Expression keyExpression, Expression valueExpression)