public class FailFast extends Object implements ParserErrorHandler
Constructor and Description |
---|
FailFast() |
Modifier and Type | Method and Description |
---|---|
<T> ParseResult<T> |
finished(ParseState<T> state)
Prepares the parser result
|
void |
handleError(ParseException e)
Handlers an error
|
public void handleError(ParseException e)
ParserErrorHandler
handleError
in interface ParserErrorHandler
e
- Errorpublic <T> ParseResult<T> finished(ParseState<T> state)
ParserErrorHandler
finished
in interface ParserErrorHandler
state
- Parser stateCopyright © 2012–2017. All rights reserved.