public class RuleAST extends GrammarASTWithOptions
childIndex, parent, startIndex, stopIndex, tokenatnState, g, textOverrideoptions| Constructor | Description |
|---|---|
RuleAST(int type) |
|
RuleAST(org.antlr.runtime.Token t) |
|
RuleAST(RuleAST node) |
| Modifier and Type | Method | Description |
|---|---|---|
RuleAST |
dupNode() |
|
ActionAST |
getLexerAction() |
|
String |
getRuleName() |
|
boolean |
isLexerRule() |
|
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 RuleAST(RuleAST node)
public RuleAST(org.antlr.runtime.Token t)
public RuleAST(int type)
public boolean isLexerRule()
public String getRuleName()
public RuleAST dupNode()
dupNode in class GrammarASTWithOptionspublic ActionAST getLexerAction()
public Object visit(GrammarASTVisitor v)
visit in class GrammarASTCopyright © 1992–2019 ANTLR. All rights reserved.