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.Stringvalue-
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 voidbuild(AST cst, IModule module)voidcompile(IEolCompilationContext context)java.lang.StringgetValue()java.lang.StringgetValue(IEolContext context)booleanhasValue()voidsetValue(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:
buildin interfaceModuleElement- Overrides:
buildin classAbstractModuleElement
-
compile
public void compile(IEolCompilationContext context)
-
hasValue
public boolean hasValue()
- Specified by:
hasValuein 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:
getValuein classAnnotation- Throws:
EolRuntimeException
-
-