Package org.eclipse.epsilon.eol.dom
Class SimpleAnnotation
- java.lang.Object
-
- org.eclipse.epsilon.common.module.AbstractModuleElement
-
- org.eclipse.epsilon.eol.dom.Annotation
-
- org.eclipse.epsilon.eol.dom.SimpleAnnotation
-
- All Implemented Interfaces:
ModuleElement
,ICompilableModuleElement
public class SimpleAnnotation extends Annotation
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
value
-
Fields inherited from class org.eclipse.epsilon.eol.dom.Annotation
name
-
-
Constructor Summary
Constructors Constructor Description SimpleAnnotation()
SimpleAnnotation(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(AST cst, IModule module)
void
compile(IEolCompilationContext context)
java.lang.String
getValue()
java.lang.String
getValue(IEolContext context)
boolean
hasValue()
void
setValue(java.lang.String value)
-
Methods inherited from class org.eclipse.epsilon.eol.dom.Annotation
getName, setName, toString
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri
-
-
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classAbstractModuleElement
-
compile
public void compile(IEolCompilationContext context)
-
hasValue
public boolean hasValue()
- Specified by:
hasValue
in classAnnotation
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
getValue
public java.lang.String getValue(IEolContext context) throws EolRuntimeException
- Specified by:
getValue
in classAnnotation
- Throws:
EolRuntimeException
-
-