public class BlockAST extends GrammarASTWithOptionsimplements RuleElementAST
| Modifier and Type | Field and Description |
|---|---|
static Map |
defaultBlockOptions
What are the default options for a subrule?
|
static Map |
defaultLexerBlockOptions
|
optionsatnState, g, textOverride| Constructor and Description |
|---|
BlockAST(BlockAST
|
BlockAST(int type, Token t)
|
BlockAST(int type, Token t, String
|
BlockAST(Token t)
|
| Modifier and Type | Method and Description |
|---|---|
BlockAST |
dupNode()
|
Object |
visit(GrammarASTVisitor
|
getNumberOfOptions, getOptionAST, getOptions, getOptionString, setOptiondeleteChild, dupTree, getAllChildrenWithType, getAltLabel, getChildrenAsArray, getFirstDescendantWithType, getFirstDescendantWithType, getNodesWithType, getNodesWithType, getNodesWithTypePreorderDFS_, getNodesWithTypePreorderDFS, getNodeWithTokenIndex, getOutermostAltNode, setText, setType, toTokenStringpublic static final Map<String ,String > defaultBlockOptions
public BlockAST(BlockASTnode)
public BlockAST(Token t)
public BlockAST(int type,
Token t)public BlockAST(int type,
Token t,
String text) public BlockASTdupNode()
public Objectvisit(GrammarASTVisitor v)