RuleElementASTpublic class BlockAST extends GrammarASTWithOptions implements RuleElementAST
| Modifier and Type | Field | Description |
|---|---|---|
static Map<String,String> |
defaultBlockOptions |
What are the default options for a subrule?
|
static Map<String,String> |
defaultLexerBlockOptions |
childIndex, parent, startIndex, stopIndex, tokenatnState, g, textOverrideoptions| Constructor | Description |
|---|---|
BlockAST(int type) |
|
BlockAST(int type,
org.antlr.runtime.Token t) |
|
BlockAST(int type,
org.antlr.runtime.Token t,
String text) |
|
BlockAST(org.antlr.runtime.Token t) |
|
BlockAST(BlockAST node) |
| Modifier and Type | Method | Description |
|---|---|---|
BlockAST |
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 static final Map<String,String> defaultBlockOptions
public BlockAST(BlockAST node)
public BlockAST(org.antlr.runtime.Token t)
public BlockAST(int type)
public BlockAST(int type,
org.antlr.runtime.Token t)
public BlockAST(int type,
org.antlr.runtime.Token t,
String text)
public BlockAST dupNode()
dupNode in class GrammarASTWithOptionspublic Object visit(GrammarASTVisitor v)
visit in class GrammarASTCopyright © 1992–2019 ANTLR. All rights reserved.