Package org.antlr.grammar.v3
Class ANTLRParser.GrammarASTErrorNode
- java.lang.Object
-
- org.antlr.runtime.tree.BaseTree
-
- org.antlr.runtime.tree.CommonTree
-
- org.antlr.tool.GrammarAST
-
- org.antlr.grammar.v3.ANTLRParser.GrammarASTErrorNode
-
- All Implemented Interfaces:
org.antlr.runtime.tree.Tree
- Enclosing class:
- ANTLRParser
private static class ANTLRParser.GrammarASTErrorNode extends GrammarAST
-
-
Field Summary
Fields Modifier and Type Field Description org.antlr.runtime.IntStreaminputorg.antlr.runtime.Tokenstartorg.antlr.runtime.Tokenstoporg.antlr.runtime.RecognitionExceptiontrappedException-
Fields inherited from class org.antlr.tool.GrammarAST
blockOptions, code, enclosingRuleName, followingNFAState, ID, lookaheadDFA, NFAStartState, NFATreeDownState, outerAltNum, rewriteRefsDeep, rewriteRefsShallow, setValue, terminalOptions
-
-
Constructor Summary
Constructors Constructor Description GrammarASTErrorNode(org.antlr.runtime.TokenStream input, org.antlr.runtime.Token start, org.antlr.runtime.Token stop, org.antlr.runtime.RecognitionException e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetText()intgetType()booleanisNil()voidsetText(java.lang.String value)voidsetType(int value)java.lang.StringtoString()-
Methods inherited from class org.antlr.tool.GrammarAST
_findAllType, descendants, descendants, dup, dupNode, dupTree, dupTreeNoActions, equals, findAllType, findFirstType, getBlockALT, getBlockOption, getBlockOptions, getCharPositionInLine, getChildrenAsArray, getLastChild, getLastSibling, getLine, getLookaheadDFA, getNextSibling, getNFAStartState, getSetValue, hashCode, hasSameTreeStructure, initialize, initialize, initialize, setBlockOption, setBlockOptions, setCharPositionInLine, setLine, setLookaheadDFA, setNFAStartState, setOption, setOptions, setSetValue, setTerminalOption, setTokenBoundaries, setTreeEnclosingRuleNameDeeply, toStringList
-
Methods inherited from class org.antlr.runtime.tree.CommonTree
getChildIndex, getParent, getToken, getTokenStartIndex, getTokenStopIndex, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries
-
Methods inherited from class org.antlr.runtime.tree.BaseTree
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree
-
-
-
-
Method Detail
-
isNil
public boolean isNil()
- Specified by:
isNilin interfaceorg.antlr.runtime.tree.Tree- Overrides:
isNilin classorg.antlr.runtime.tree.CommonTree
-
getText
public java.lang.String getText()
- Specified by:
getTextin interfaceorg.antlr.runtime.tree.Tree- Overrides:
getTextin classGrammarAST
-
setText
public void setText(java.lang.String value)
- Overrides:
setTextin classGrammarAST
-
getType
public int getType()
- Specified by:
getTypein interfaceorg.antlr.runtime.tree.Tree- Overrides:
getTypein classGrammarAST
-
setType
public void setType(int value)
- Overrides:
setTypein classGrammarAST
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfaceorg.antlr.runtime.tree.Tree- Overrides:
toStringin classorg.antlr.runtime.tree.CommonTree
-
-