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

public Class RuleRefAST

extends GrammarASTWithOptions
implements RuleElementAST
Class Inheritance
All Implemented Interfaces
org.antlr.v4.tool.ast.RuleElementAST
Imports
org.antlr.runtime.CommonToken, .Token

Field Summary

Inherited from org.antlr.v4.tool.ast.GrammarASTWithOptions:
options

Constructor Summary

AccessConstructor and Description
public
public
public
RuleRefAST(int type)

public
RuleRefAST(int type, Token t)

Method Summary

Modifier and TypeMethod and Description
public RuleRefAST
dupNode()

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

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

Dup token too since we overwrite during LR rule transform
public Object
Inherited from org.antlr.v4.tool.ast.GrammarASTWithOptions:
getNumberOfOptionsgetOptionASTgetOptionsgetOptionStringsetOption

Constructor Detail

RuleRefASTback to summary
public RuleRefAST(RuleRefAST node)
RuleRefASTback to summary
public RuleRefAST(Token t)
RuleRefASTback to summary
public RuleRefAST(int type)
RuleRefASTback to summary
public RuleRefAST(int type, Token t)

Method Detail

dupNodeback to summary
public RuleRefAST dupNode()

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

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

Dup token too since we overwrite during LR rule transform

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

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

Annotations
@Override