Package org.eclipse.epsilon.eol.dom
Class EnumerationLiteralExpression
- 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<java.lang.Object>
-
- org.eclipse.epsilon.eol.dom.EnumerationLiteralExpression
-
- All Implemented Interfaces:
ModuleElement
,ICompilableModuleElement
,IExecutableModuleElement
public class EnumerationLiteralExpression extends LiteralExpression<java.lang.Object>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
enumerationLiteral
-
Fields inherited from class org.eclipse.epsilon.eol.dom.LiteralExpression
value
-
Fields inherited from class org.eclipse.epsilon.eol.dom.Expression
resolvedType
-
-
Constructor Summary
Constructors Constructor Description EnumerationLiteralExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(IEolVisitor visitor)
void
build(AST cst, IModule module)
void
compile(IEolCompilationContext context)
java.lang.Object
execute(IEolContext context)
java.lang.String
getEnumerationLiteral()
void
setEnumerationLiteral(java.lang.String enumerationLiteral)
-
Methods inherited from class org.eclipse.epsilon.eol.dom.LiteralExpression
getValue, setValue
-
Methods inherited from class org.eclipse.epsilon.eol.dom.Expression
getResolvedType, hasResolvedType, setResolvedType
-
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
-
-
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classAbstractModuleElement
-
execute
public java.lang.Object execute(IEolContext context) throws EolRuntimeException
- Specified by:
execute
in interfaceIExecutableModuleElement
- Overrides:
execute
in classLiteralExpression<java.lang.Object>
- Throws:
EolRuntimeException
-
getEnumerationLiteral
public java.lang.String getEnumerationLiteral()
-
setEnumerationLiteral
public void setEnumerationLiteral(java.lang.String enumerationLiteral)
-
compile
public void compile(IEolCompilationContext context)
-
accept
public void accept(IEolVisitor visitor)
- Specified by:
accept
in classLiteralExpression<java.lang.Object>
-
-