public class MapExpression extends Expression
Constructor and Description |
---|
MapExpression() |
MapExpression(List<MapEntryExpression> mapEntryExpressions) |
Modifier and Type | Method and Description |
---|---|
void |
addMapEntryExpression(Expression keyExpression,
Expression valueExpression) |
void |
addMapEntryExpression(MapEntryExpression expression) |
List<MapEntryExpression> |
getMapEntryExpressions() |
String |
getText() |
boolean |
isDynamic() |
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, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition
public MapExpression()
public MapExpression(List<MapEntryExpression> mapEntryExpressions)
public void addMapEntryExpression(MapEntryExpression expression)
public List<MapEntryExpression> getMapEntryExpressions()
public void visit(GroovyCodeVisitor visitor)
public boolean isDynamic()
public Expression transformExpression(ExpressionTransformer transformer)
Expression
transformExpression
in class Expression
public void addMapEntryExpression(Expression keyExpression, Expression valueExpression)