public class TerminalAST extends GrammarASTWithOptions implements RuleElementAST
options
atnState, g, textOverride
Constructor and Description |
---|
TerminalAST(int type) |
TerminalAST(int type,
org.antlr.runtime.Token t) |
TerminalAST(TerminalAST node) |
TerminalAST(org.antlr.runtime.Token t) |
Modifier and Type | Method and Description |
---|---|
TerminalAST |
dupNode() |
Object |
visit(GrammarASTVisitor v) |
getNumberOfOptions, getOptionAST, getOptions, getOptionString, setOption
deleteChild, dupTree, getAllChildrenWithType, getAltLabel, getChildrenAsArray, getFirstDescendantWithType, getFirstDescendantWithType, getNodesWithType, getNodesWithType, getNodesWithTypePreorderDFS_, getNodesWithTypePreorderDFS, getNodeWithTokenIndex, getOutermostAltNode, setText, setType, toTokenString
getCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toString
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree
public 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 interface org.antlr.runtime.tree.Tree
dupNode
in class GrammarASTWithOptions
public Object visit(GrammarASTVisitor v)
visit
in class GrammarAST
Copyright © 1992–2020 ANTLR. All rights reserved.