public class RuleRefAST extends GrammarASTWithOptions implements RuleElementAST
optionsatnState, g, textOverride| Constructor and Description |
|---|
RuleRefAST(int type) |
RuleRefAST(int type,
org.antlr.runtime.Token t) |
RuleRefAST(RuleRefAST node) |
RuleRefAST(org.antlr.runtime.Token t) |
| Modifier and Type | Method and Description |
|---|---|
RuleRefAST |
dupNode()
Dup token too since we overwrite during LR rule transform
|
Object |
visit(GrammarASTVisitor v) |
getNumberOfOptions, getOptionAST, getOptions, getOptionString, setOptiondeleteChild, dupTree, getAllChildrenWithType, getAltLabel, getChildrenAsArray, getFirstDescendantWithType, getFirstDescendantWithType, getNodesWithType, getNodesWithType, getNodesWithTypePreorderDFS_, getNodesWithTypePreorderDFS, getNodeWithTokenIndex, getOutermostAltNode, setText, setType, toTokenStringgetCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toStringaddChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, insertChild, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTreepublic RuleRefAST(RuleRefAST node)
public RuleRefAST(org.antlr.runtime.Token t)
public RuleRefAST(int type)
public RuleRefAST(int type,
org.antlr.runtime.Token t)
public RuleRefAST dupNode()
dupNode in interface org.antlr.runtime.tree.TreedupNode in class GrammarASTWithOptionspublic Object visit(GrammarASTVisitor v)
visit in class GrammarASTCopyright © 1992–2020 ANTLR. All rights reserved.