C# Class Antlr4.Tool.LexerGrammar

Inheritance: Grammar
Mostrar archivo Open project: sharwell/antlr4cs Class Usage Examples

Public Properties

Property Type Description
DEFAULT_MODE_NAME string
implicitLexerOwner Grammar
modes Rule>.Runtime.Misc.MultiMap

Public Methods

Method Description
DefineRule ( Rule r ) : bool
LexerGrammar ( AntlrTool tool, GrammarRootAST ast ) : System.Diagnostics
LexerGrammar ( string grammarText ) : System.Diagnostics
LexerGrammar ( string grammarText, ANTLRToolListener listener ) : System.Diagnostics
LexerGrammar ( string fileName, string grammarText, ANTLRToolListener listener ) : System.Diagnostics
UndefineRule ( Rule r ) : bool

Method Details

DefineRule() public method

public DefineRule ( Rule r ) : bool
r Rule
return bool

LexerGrammar() public method

public LexerGrammar ( AntlrTool tool, GrammarRootAST ast ) : System.Diagnostics
tool AntlrTool
ast Antlr4.Tool.Ast.GrammarRootAST
return System.Diagnostics

LexerGrammar() public method

public LexerGrammar ( string grammarText ) : System.Diagnostics
grammarText string
return System.Diagnostics

LexerGrammar() public method

public LexerGrammar ( string grammarText, ANTLRToolListener listener ) : System.Diagnostics
grammarText string
listener ANTLRToolListener
return System.Diagnostics

LexerGrammar() public method

public LexerGrammar ( string fileName, string grammarText, ANTLRToolListener listener ) : System.Diagnostics
fileName string
grammarText string
listener ANTLRToolListener
return System.Diagnostics

UndefineRule() public method

public UndefineRule ( Rule r ) : bool
r Rule
return bool

Property Details

DEFAULT_MODE_NAME public_oe static_oe property

public static string DEFAULT_MODE_NAME
return string

implicitLexerOwner public_oe property

public Grammar,Antlr4.Tool implicitLexerOwner
return Grammar

modes public_oe property

public Runtime.Misc.MultiMap modes
return Rule>.Runtime.Misc.MultiMap