C# Class Antlr4.Tool.Ast.GrammarASTWithOptions

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

Protected Properties

Property Type Description
options GrammarAST>.IDictionary

Public Methods

Method Description
DupNode ( ) : Antlr.Runtime.Tree.ITree
GetNumberOfOptions ( ) : int
GetOptionAST ( string key ) : GrammarAST
GetOptionString ( string key ) : string
GrammarASTWithOptions ( Antlr.Runtime.IToken t ) : System.Collections.Generic
GrammarASTWithOptions ( GrammarASTWithOptions node ) : System.Collections.Generic
GrammarASTWithOptions ( int type ) : System.Collections.Generic
GrammarASTWithOptions ( int type, Antlr.Runtime.IToken t ) : System.Collections.Generic
GrammarASTWithOptions ( int type, Antlr.Runtime.IToken t, string text ) : System.Collections.Generic
SetOption ( string key, GrammarAST node ) : void

Private Methods

Method Description
GetOptions ( ) : GrammarAST>.IDictionary

Method Details

DupNode() public abstract method

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

GetNumberOfOptions() public method

public GetNumberOfOptions ( ) : int
return int

GetOptionAST() public method

public GetOptionAST ( string key ) : GrammarAST
key string
return GrammarAST

GetOptionString() public method

public GetOptionString ( string key ) : string
key string
return string

GrammarASTWithOptions() public method

public GrammarASTWithOptions ( Antlr.Runtime.IToken t ) : System.Collections.Generic
t Antlr.Runtime.IToken
return System.Collections.Generic

GrammarASTWithOptions() public method

public GrammarASTWithOptions ( GrammarASTWithOptions node ) : System.Collections.Generic
node GrammarASTWithOptions
return System.Collections.Generic

GrammarASTWithOptions() public method

public GrammarASTWithOptions ( int type ) : System.Collections.Generic
type int
return System.Collections.Generic

GrammarASTWithOptions() public method

public GrammarASTWithOptions ( int type, Antlr.Runtime.IToken t ) : System.Collections.Generic
type int
t Antlr.Runtime.IToken
return System.Collections.Generic

GrammarASTWithOptions() public method

public GrammarASTWithOptions ( int type, Antlr.Runtime.IToken t, string text ) : System.Collections.Generic
type int
t Antlr.Runtime.IToken
text string
return System.Collections.Generic

SetOption() public method

public SetOption ( string key, GrammarAST node ) : void
key string
node GrammarAST
return void

Property Details

options protected property

protected IDictionary options
return GrammarAST>.IDictionary