C# Class Antlr4.Parse.ToolANTLRLexer

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

Public Properties

Property Type Description
tool AntlrTool

Public Methods

Method Description
DisplayRecognitionError ( string tokenNames, Antlr.Runtime.RecognitionException e ) : void
GrammarError ( ErrorType etype, Antlr.Runtime.IToken token ) : void
ToolANTLRLexer ( Antlr.Runtime.ICharStream input, AntlrTool tool ) : Antlr4.Tool

Method Details

DisplayRecognitionError() public method

public DisplayRecognitionError ( string tokenNames, Antlr.Runtime.RecognitionException e ) : void
tokenNames string
e Antlr.Runtime.RecognitionException
return void

GrammarError() public method

public GrammarError ( ErrorType etype, Antlr.Runtime.IToken token ) : void
etype Antlr4.Tool.ErrorType
token Antlr.Runtime.IToken
return void

ToolANTLRLexer() public method

public ToolANTLRLexer ( Antlr.Runtime.ICharStream input, AntlrTool tool ) : Antlr4.Tool
input Antlr.Runtime.ICharStream
tool AntlrTool
return Antlr4.Tool

Property Details

tool public property

public AntlrTool tool
return AntlrTool