public interface ISyntaxErrorMessageProvider
ISyntaxErrorMessageProvider can be used to customize the error messages
that the parser attaches to syntax errors.
Implementors should extends the SyntaxErrorMessageProvider rather than implementing
the interface directly.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ISyntaxErrorMessageProvider.IErrorContext
The error context provides some information about the internal state
of the parser when a syntax error occurred.
|
static interface |
ISyntaxErrorMessageProvider.IParserErrorContext
The error context for parser and lexer errors.
|
static interface |
ISyntaxErrorMessageProvider.IUnorderedGroupErrorContext
In case of failed unordered group constraints, an
ISyntaxErrorMessageProvider.IUnorderedGroupErrorContext is
used. |
static interface |
ISyntaxErrorMessageProvider.IValueConverterErrorContext
The error context for a particular value conversion issue.
|
| Modifier and Type | Method and Description |
|---|---|
SyntaxErrorMessage |
getSyntaxErrorMessage(ISyntaxErrorMessageProvider.IParserErrorContext context)
Provide the error message for a syntax error.
|
SyntaxErrorMessage |
getSyntaxErrorMessage(ISyntaxErrorMessageProvider.IValueConverterErrorContext context)
Provide the error message for a value conversion error.
|
SyntaxErrorMessage getSyntaxErrorMessage(ISyntaxErrorMessageProvider.IParserErrorContext context)
SyntaxErrorMessage getSyntaxErrorMessage(ISyntaxErrorMessageProvider.IValueConverterErrorContext context)
SyntaxErrorMessage.ISyntaxErrorMessageProvider.IValueConverterErrorContext