Package com.javacc.parser.tree
Class TreeBuildingAnnotation
- java.lang.Object
-
- com.javacc.parser.BaseNode
-
- com.javacc.parser.tree.TreeBuildingAnnotation
-
- All Implemented Interfaces:
JavaCCConstants,Node,freemarker.template.TemplateHashModel,freemarker.template.TemplateModel,freemarker.template.TemplateNodeModel,freemarker.template.TemplateScalarModel,Comparable<Node>
public class TreeBuildingAnnotation extends BaseNode
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.javacc.parser.JavaCCConstants
JavaCCConstants.LexicalState, JavaCCConstants.TokenType
-
Nested classes/interfaces inherited from interface com.javacc.parser.Node
Node.Visitor
-
-
Field Summary
-
Fields inherited from interface com.javacc.parser.JavaCCConstants
BUF_SIZE
-
-
Constructor Summary
Constructors Constructor Description TreeBuildingAnnotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressiongetCondition()booleangetGtNode()StringgetInitialShorthand()StringgetNodeName()Just returns whatever comes after the hash ("#") including "void", etc.booleanisAbstract()booleanisInterface()booleanisNeverInstantiated()booleanisVoid()voidsetCondition(Expression condition)voidsetInitialShorthand(String initialShorthand)-
Methods inherited from class com.javacc.parser.BaseNode
addChild, addChild, children, clearChildren, get, getAsString, getBeginOffset, getChild, getChildCount, getChildNodes, getEndOffset, getGrammar, getInnerText, getLiteralText, getNodeNamespace, getNodeType, getParent, getParentNode, getSimpleName, getTokenSource, hasKeyWord, isEmpty, isUnparsed, prepend, removeChild, setBeginOffset, setChild, setEndOffset, setGrammar, setListClass, setParent, setTokenSource, setUnparsed, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.javacc.parser.Node
appendChild, children, childrenOfType, close, compareTo, copyLocationInfo, copyLocationInfo, descendants, descendants, descendants, descendants, descendantsOfType, dump, dump, firstAncestorOfType, firstChildOfType, firstChildOfType, firstChildOfType, firstDescendantOfType, firstDescendantOfType, getAllTokens, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getFirstChild, getFirstToken, getInputSource, getLastChild, getLastToken, getLocation, getRealTokens, getRoot, getSource, getTokenType, hasChildNodes, indexOf, iterator, nextSibling, open, prependChild, previousSibling, removeChild, replace, replaceChild
-
-
-
-
Method Detail
-
getInitialShorthand
public String getInitialShorthand()
-
setInitialShorthand
public void setInitialShorthand(String initialShorthand)
-
getCondition
public Expression getCondition()
-
setCondition
public void setCondition(Expression condition)
-
getNodeName
public String getNodeName()
Just returns whatever comes after the hash ("#") including "void", etc.- Specified by:
getNodeNamein interfacefreemarker.template.TemplateNodeModel- Overrides:
getNodeNamein classBaseNode
-
isNeverInstantiated
public boolean isNeverInstantiated()
-
getGtNode
public boolean getGtNode()
-
isAbstract
public boolean isAbstract()
-
isInterface
public boolean isInterface()
-
isVoid
public boolean isVoid()
-
-