Package org.eclipse.epsilon.eol.dom
Class MapLiteralExpression<K,V>
java.lang.Object
org.eclipse.epsilon.common.module.AbstractModuleElement
org.eclipse.epsilon.eol.dom.AbstractExecutableModuleElement
org.eclipse.epsilon.eol.dom.Expression
org.eclipse.epsilon.eol.dom.LiteralExpression<Map<K,V>>
org.eclipse.epsilon.eol.dom.MapLiteralExpression<K,V>
- All Implemented Interfaces:
ModuleElement
,IExecutableModuleElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<Map.Entry<Expression,
Expression>> protected String
Fields inherited from class org.eclipse.epsilon.eol.dom.LiteralExpression
value
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(IEolVisitor visitor) void
static <K,
V> Map<K, V> execute
(IEolContext context) boolean
isTuple()
void
setMapName
(String mapName) Methods inherited from class org.eclipse.epsilon.eol.dom.LiteralExpression
getValue, setValue
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
getChildren, getComments, getData, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
Field Details
-
keyValueExpressionPairs
-
mapName
-
-
Constructor Details
-
MapLiteralExpression
public MapLiteralExpression()
-
-
Method Details
-
createMap
- Parameters:
mapName
-- Returns:
- Since:
- 2.1
-
build
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classAbstractModuleElement
-
execute
- Specified by:
execute
in interfaceIExecutableModuleElement
- Overrides:
execute
in classLiteralExpression<Map<K,
V>> - Throws:
EolRuntimeException
-
isTuple
public boolean isTuple()- Returns:
- Since:
- 2.2
-
getMapName
-
setMapName
-
getKeyValueExpressionPairs
-
accept
- Specified by:
accept
in classLiteralExpression<Map<K,
V>>
-