public class BlockAST extends GrammarASTWithOptions implements RuleElementAST
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<java.lang.String,java.lang.String> |
defaultBlockOptions
What are the default options for a subrule?
|
static java.util.Map<java.lang.String,java.lang.String> |
defaultLexerBlockOptions |
optionsatnState, g, textOverride| Constructor and Description |
|---|
BlockAST(BlockAST node) |
BlockAST(int type) |
BlockAST(int type,
org.antlr.runtime.Token t) |
BlockAST(int type,
org.antlr.runtime.Token t,
java.lang.String text) |
BlockAST(org.antlr.runtime.Token t) |
| Modifier and Type | Method and Description |
|---|---|
BlockAST |
dupNode() |
java.lang.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 static final java.util.Map<java.lang.String,java.lang.String> defaultBlockOptions
public static final java.util.Map<java.lang.String,java.lang.String> defaultLexerBlockOptions
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,
java.lang.String text)
public BlockAST dupNode()
dupNode in interface org.antlr.runtime.tree.TreedupNode in class GrammarASTWithOptionspublic java.lang.Object visit(GrammarASTVisitor v)
visit in class GrammarAST