Top Fields Constructors Methods
org.antlr.v4.tool.ast

public Class BlockAST

extends GrammarASTWithOptions
implements RuleElementAST
Class Inheritance
All Implemented Interfaces
org.antlr.v4.tool.ast.RuleElementAST
Imports
org.antlr.runtime.Token, java.util.HashMap, .Map

Field Summary

Modifier and TypeField and Description
public static final Map<String, String>
defaultBlockOptions

What are the default options for a subrule?

public static final Map<String, String>
Inherited from org.antlr.v4.tool.ast.GrammarASTWithOptions:
options

Constructor Summary

AccessConstructor and Description
public
public
public
BlockAST(int type)

public
BlockAST(int type, Token t)

public
BlockAST(int type, Token t, String text)

Method Summary

Modifier and TypeMethod and Description
public BlockAST
public Object
Inherited from org.antlr.v4.tool.ast.GrammarASTWithOptions:
getNumberOfOptionsgetOptionASTgetOptionsgetOptionStringsetOption

Field Detail

defaultBlockOptionsback to summary
public static final Map<String, String> defaultBlockOptions

What are the default options for a subrule?

defaultLexerBlockOptionsback to summary
public static final Map<String, String> defaultLexerBlockOptions

Constructor Detail

BlockASTback to summary
public BlockAST(BlockAST node)
BlockASTback to summary
public BlockAST(Token t)
BlockASTback to summary
public BlockAST(int type)
BlockASTback to summary
public BlockAST(int type, Token t)
BlockASTback to summary
public BlockAST(int type, Token t, String text)

Method Detail

dupNodeback to summary
public BlockAST dupNode()

Implements abstract org.antlr.v4.tool.ast.GrammarASTWithOptions.dupNode.

Implements org.antlr.runtime.tree.Tree.dupNode.

Annotations
@Override
visitback to summary
public Object visit(GrammarASTVisitor v)

Overrides org.antlr.v4.tool.ast.GrammarAST.visit.

Annotations
@Override