RuleElementASTpublic class TerminalAST extends GrammarASTWithOptions implements RuleElementAST
childIndex, parent, startIndex, stopIndex, tokenatnState, g, textOverrideoptions| Constructor | Description |
|---|---|
TerminalAST(int type) |
|
TerminalAST(int type,
org.antlr.runtime.Token t) |
|
TerminalAST(org.antlr.runtime.Token t) |
|
TerminalAST(TerminalAST node) |
| Modifier and Type | Method | Description |
|---|---|---|
TerminalAST |
dupNode() |
|
Object |
visit(GrammarASTVisitor v) |
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTreegetCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toStringdeleteChild, dupTree, getAllChildrenWithType, getAltLabel, getChildrenAsArray, getFirstDescendantWithType, getFirstDescendantWithType, getNodesWithType, getNodesWithType, getNodesWithTypePreorderDFS, getNodesWithTypePreorderDFS_, getNodeWithTokenIndex, getOutermostAltNode, setText, setType, toTokenStringgetNumberOfOptions, getOptionAST, getOptions, getOptionString, setOptionpublic TerminalAST(TerminalAST node)
public TerminalAST(org.antlr.runtime.Token t)
public TerminalAST(int type)
public TerminalAST(int type,
org.antlr.runtime.Token t)
public TerminalAST dupNode()
dupNode in class GrammarASTWithOptionspublic Object visit(GrammarASTVisitor v)
visit in class GrammarASTCopyright © 1992–2019 ANTLR. All rights reserved.