C# Class Antlr4.Tool.Ast.RuleAST

Inheritance: GrammarASTWithOptions
Show file Open project: sharwell/antlr4cs Class Usage Examples

Public Methods

Method Description
DupNode ( ) : Antlr.Runtime.Tree.ITree
GetLexerAction ( ) : ActionAST
GetRuleName ( ) : string
IsLexerRule ( ) : bool
RuleAST ( Antlr.Runtime.IToken t ) : Antlr4.Parse
RuleAST ( RuleAST node ) : Antlr4.Parse
RuleAST ( int type ) : Antlr4.Parse
Visit ( GrammarASTVisitor v ) : object

Method Details

DupNode() public method

public DupNode ( ) : Antlr.Runtime.Tree.ITree
return Antlr.Runtime.Tree.ITree

GetLexerAction() public method

public GetLexerAction ( ) : ActionAST
return ActionAST

GetRuleName() public method

public GetRuleName ( ) : string
return string

IsLexerRule() public method

public IsLexerRule ( ) : bool
return bool

RuleAST() public method

public RuleAST ( Antlr.Runtime.IToken t ) : Antlr4.Parse
t Antlr.Runtime.IToken
return Antlr4.Parse

RuleAST() public method

public RuleAST ( RuleAST node ) : Antlr4.Parse
node RuleAST
return Antlr4.Parse

RuleAST() public method

public RuleAST ( int type ) : Antlr4.Parse
type int
return Antlr4.Parse

Visit() public method

public Visit ( GrammarASTVisitor v ) : object
v GrammarASTVisitor
return object