C# Class Antlr4.Tool.Ast.GrammarRootAST

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

Public Properties

Property Type Description
cmdLineOptions string>.IDictionary
defaultOptions string>.IDictionary
fileName string
grammarType int
hasErrors bool

Public Methods

Method Description
DupNode ( ) : Antlr.Runtime.Tree.ITree
GetGrammarName ( ) : string
GetOptionString ( string key ) : string
GrammarRootAST ( Antlr.Runtime.IToken t, Antlr.Runtime.ITokenStream tokenStream ) : System.Collections.Generic
GrammarRootAST ( GrammarRootAST node ) : System.Collections.Generic
GrammarRootAST ( int type, Antlr.Runtime.IToken t, Antlr.Runtime.ITokenStream tokenStream ) : System.Collections.Generic
GrammarRootAST ( int type, Antlr.Runtime.IToken t, string text, Antlr.Runtime.ITokenStream tokenStream ) : System.Collections.Generic
Visit ( GrammarASTVisitor v ) : object

Method Details

DupNode() public method

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

GetGrammarName() public method

public GetGrammarName ( ) : string
return string

GetOptionString() public method

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

GrammarRootAST() public method

public GrammarRootAST ( Antlr.Runtime.IToken t, Antlr.Runtime.ITokenStream tokenStream ) : System.Collections.Generic
t Antlr.Runtime.IToken
tokenStream Antlr.Runtime.ITokenStream
return System.Collections.Generic

GrammarRootAST() public method

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

GrammarRootAST() public method

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

GrammarRootAST() public method

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

Visit() public method

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

Property Details

cmdLineOptions public property

public IDictionary cmdLineOptions
return string>.IDictionary

defaultOptions public static property

public static IDictionary defaultOptions
return string>.IDictionary

fileName public property

public string fileName
return string

grammarType public property

public int grammarType
return int

hasErrors public property

public bool hasErrors
return bool