public class SimpleAnnotation extends Annotation
Modifier and Type | Field and Description |
---|---|
protected String |
value |
name
comments
annotations, column, commentTokens, descendants, extraTokens, imaginary, line, module, properties, region, uri
Constructor and Description |
---|
SimpleAnnotation() |
SimpleAnnotation(String value) |
Modifier and Type | Method and Description |
---|---|
void |
build() |
void |
compile(EolCompilationContext context) |
String |
getValue() |
Object |
getValue(IEolContext context) |
boolean |
hasValue() |
void |
setValue(String value) |
getName, setName
getComments, getDebugInfo, getModuleElements
collectDescendants, getAnnotationsAst, getBasename, getChild, getChildren, getColumn, getCommentTokens, getDescendants, getExtraTokens, getFile, getFirstChild, getFourthChild, getLine, getModule, getNextSibling, getNumberOfChildren, getParent, getProperties, getRegion, getSecondChild, getThirdChild, getUri, hasChildren, isImaginary, setAnnotationsAst, setColumn, setCommentTokens, setExtraTokens, setFirstChild, setImaginary, setLine, setModule, setNextSibling, setRegion, setToken, setUri, toExtendedStringTree, toExtendedStringTree, toExtendedStringTreeItem
dupNode, getCharPositionInLine, getChildIndex, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, toString
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getChildCount, getFirstChildWithType, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree
protected String value
public SimpleAnnotation()
public SimpleAnnotation(String value)
public void build()
build
in class AbstractModuleElement
public void compile(EolCompilationContext context)
public boolean hasValue()
hasValue
in class Annotation
public String getValue()
public void setValue(String value)
public Object getValue(IEolContext context) throws EolRuntimeException
getValue
in class Annotation
EolRuntimeException
Copyright © 2016. All rights reserved.