C# Class Antlr4.Tool.ANTLRMessage

Mostrar archivo Open project: sharwell/antlr4cs Class Usage Examples

Public Properties

Property Type Description
charPosition int
fileName string
g Grammar
line int
offendingToken Antlr.Runtime.IToken

Public Methods

Method Description
ANTLRMessage ( [ errorType ) : Antlr4.StringTemplate
ANTLRMessage ( [ errorType, Antlr.Runtime.IToken offendingToken ) : Antlr4.StringTemplate
ANTLRMessage ( [ errorType, [ e, Antlr.Runtime.IToken offendingToken ) : Antlr4.StringTemplate
GetMessageTemplate ( bool verbose ) : Template
ToString ( ) : string

Private Methods

Method Description
GetArgs ( ) : object[]
GetCause ( ) : System.Exception
GetErrorType ( ) : ErrorType

Method Details

ANTLRMessage() public method

public ANTLRMessage ( [ errorType ) : Antlr4.StringTemplate
errorType [
return Antlr4.StringTemplate

ANTLRMessage() public method

public ANTLRMessage ( [ errorType, Antlr.Runtime.IToken offendingToken ) : Antlr4.StringTemplate
errorType [
offendingToken Antlr.Runtime.IToken
return Antlr4.StringTemplate

ANTLRMessage() public method

public ANTLRMessage ( [ errorType, [ e, Antlr.Runtime.IToken offendingToken ) : Antlr4.StringTemplate
errorType [
e [
offendingToken Antlr.Runtime.IToken
return Antlr4.StringTemplate

GetMessageTemplate() public method

public GetMessageTemplate ( bool verbose ) : Template
verbose bool
return Template

ToString() public method

public ToString ( ) : string
return string

Property Details

charPosition public_oe property

public int charPosition
return int

fileName public_oe property

public string fileName
return string

g public_oe property

public Grammar,Antlr4.Tool g
return Grammar

line public_oe property

public int line
return int

offendingToken public_oe property

public Antlr.Runtime.IToken offendingToken
return Antlr.Runtime.IToken