Grammatica
|
A parser log exception. More...
Public Member Functions | |
ParserLogException () | |
Creates a new empty parser log exception. | |
int | GetErrorCount () |
Returns the number of errors in this log. More... | |
ParseException | GetError (int index) |
Returns a specific error from the log. More... | |
void | AddError (ParseException e) |
Adds a parse error to the log. More... | |
string | GetMessage () |
Returns the detailed error message. More... | |
Properties | |
override string | Message [get] |
The message property (read-only). More... | |
int | Count [get] |
The error count property (read-only). More... | |
ParseException | this[int index] [get] |
The error index (read-only). More... | |
A parser log exception.
This class contains a list of all the parse errors encountered while parsing.
|
inline |
Adds a parse error to the log.
e | the parse error to add |
|
inline |
Returns a specific error from the log.
index | the error index, 0 <= index < count |
|
inline |
Returns the number of errors in this log.
|
inline |
Returns the detailed error message.
This message will contain the error messages from all errors in this log, separated by a newline.
|
get |
The error count property (read-only).
|
get |
The message property (read-only).
This property contains the detailed exception error message.
|
get |
The error index (read-only).
This index contains all the errors in this error log.
index | the error index, 0 <= index < Count |