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
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.antlr.runtime.IntStream
org.antlr.runtime.Token
org.antlr.runtime.Token
org.antlr.runtime.RecognitionException
Fields inherited from class org.antlr.tool.GrammarAST
blockOptions, code, enclosingRuleName, followingNFAState, ID, lookaheadDFA, NFAStartState, NFATreeDownState, outerAltNum, rewriteRefsDeep, rewriteRefsShallow, setValue, terminalOptions
Fields inherited from class org.antlr.runtime.tree.CommonTree
childIndex, parent, startIndex, stopIndex, token
Fields inherited from class org.antlr.runtime.tree.BaseTree
children
Fields inherited from interface org.antlr.runtime.tree.Tree
INVALID_NODE
-
Constructor Summary
ConstructorsConstructorDescriptionGrammarASTErrorNode
(org.antlr.runtime.TokenStream input, org.antlr.runtime.Token start, org.antlr.runtime.Token stop, org.antlr.runtime.RecognitionException e) -
Method Summary
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
-
Field Details
-
input
public org.antlr.runtime.IntStream input -
start
public org.antlr.runtime.Token start -
stop
public org.antlr.runtime.Token stop -
trappedException
public org.antlr.runtime.RecognitionException trappedException
-
-
Constructor Details
-
GrammarASTErrorNode
public GrammarASTErrorNode(org.antlr.runtime.TokenStream input, org.antlr.runtime.Token start, org.antlr.runtime.Token stop, org.antlr.runtime.RecognitionException e)
-
-
Method Details
-
isNil
public boolean isNil()- Specified by:
isNil
in interfaceorg.antlr.runtime.tree.Tree
- Overrides:
isNil
in classorg.antlr.runtime.tree.CommonTree
-
getText
- Specified by:
getText
in interfaceorg.antlr.runtime.tree.Tree
- Overrides:
getText
in classGrammarAST
-
setText
- Overrides:
setText
in classGrammarAST
-
getType
public int getType()- Specified by:
getType
in interfaceorg.antlr.runtime.tree.Tree
- Overrides:
getType
in classGrammarAST
-
setType
public void setType(int value) - Overrides:
setType
in classGrammarAST
-
toString
- Specified by:
toString
in interfaceorg.antlr.runtime.tree.Tree
- Overrides:
toString
in classorg.antlr.runtime.tree.CommonTree
-