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 StringFields inherited from class org.eclipse.epsilon.eol.dom.LiteralExpression
value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IEolVisitor visitor) voidstatic <K,V> Map<K, V> execute(IEolContext context) booleanisTuple()voidsetMapName(String mapName) Methods inherited from class org.eclipse.epsilon.eol.dom.LiteralExpression
getValue, setValueMethods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
buildin interfaceModuleElement- Overrides:
buildin classAbstractModuleElement
-
execute
- Specified by:
executein interfaceIExecutableModuleElement- Overrides:
executein classLiteralExpression<Map<K,V>> - Throws:
EolRuntimeException
-
isTuple
public boolean isTuple()- Returns:
- Since:
- 2.2
-
getMapName
-
setMapName
-
getKeyValueExpressionPairs
-
accept
- Specified by:
acceptin classLiteralExpression<Map<K,V>>
-