Package | Description |
---|---|
parsii.tokenizer |
Modifier and Type | Field and Description |
---|---|
protected List<ParseError> |
Lookahead.problemCollector
Used to collect problems which occurred when processing the input.
|
Modifier and Type | Method and Description |
---|---|
static ParseError |
ParseError.error(Position pos,
String msg)
Creates a new error for the given position with the given message.
|
static ParseError |
ParseError.warning(Position pos,
String msg)
Creates a new warning for the given position with the given message.
|
Modifier and Type | Method and Description |
---|---|
List<ParseError> |
ParseException.getErrors()
Provides a list of all errors and warnings which occurred
|
List<ParseError> |
Lookahead.getProblemCollector()
Provides access to the problem collector used by this instance.
|
Modifier and Type | Method and Description |
---|---|
static ParseException |
ParseException.create(List<ParseError> errors)
Creates a new exception based on the list of errors.
|
void |
Tokenizer.setProblemCollector(List<ParseError> problemCollector) |
void |
Lookahead.setProblemCollector(List<ParseError> problemCollector)
Installs the given problem collector.
|
Copyright © 2020. All rights reserved.