C# Class Antlr4.Parse.ToolANTLRParser

Inheritance: ANTLRParser
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
GetParserErrorMessage ( Antlr.Runtime.Parser parser, Antlr.Runtime.RecognitionException e ) : string
GrammarError ( ErrorType etype, Antlr token ) : void
ToolANTLRParser ( Antlr.Runtime.ITokenStream 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

GetParserErrorMessage() public method

public GetParserErrorMessage ( Antlr.Runtime.Parser parser, Antlr.Runtime.RecognitionException e ) : string
parser Antlr.Runtime.Parser
e Antlr.Runtime.RecognitionException
return string

GrammarError() public method

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

ToolANTLRParser() public method

public ToolANTLRParser ( Antlr.Runtime.ITokenStream input, AntlrTool tool ) : Antlr4.Tool
input Antlr.Runtime.ITokenStream
tool AntlrTool
return Antlr4.Tool

Property Details

tool public property

public AntlrTool tool
return AntlrTool