Property | Type | Description | |
---|---|---|---|
currentToken | |||
expectedTokenSequences | int[][] | ||
tokenImage | string[] |
Property | Type | Description | |
---|---|---|---|
eol | string |
Method | Description | |
---|---|---|
ParseException ( ) : System | ||
ParseException ( |
This constructor is used by the method GenerateParseException() in the generated parser. Calling this constructor generates a new object of this type with the fields currentToken, expectedTokenSequences, and tokenImage set.
|
|
ParseException ( string message ) : System | ||
ParseException ( string message, |
Method | Description | |
---|---|---|
Add_escapes ( string str ) : string |
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
|
|
Initialize ( |
It uses currentToken and expectedTokenSequences to generate a parse error message and returns it. If this object has been created due to a parse error, and you do not catch it (it gets thrown from the parser) the correct error message gets displayed.
|
public ParseException ( |
||
currentToken | ||
expectedTokenSequences | int | |
tokenImage | string | |
return | System |
public ParseException ( string message ) : System | ||
message | string | |
return | System |
public ParseException ( string message, |
||
message | string | |
innerException | ||
return | System |