public interface ParserContext<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
consume(int codePoint,
Jankson loader)
Consume one codepoint from the stream, and either use it to continue composing the result or to discover that
the result is complete and processing should stop.
|
void |
eof()
Notifies this context that the file ended abruptly while in this context and before isComplete returned true.
|
T |
getResult()
Gets the result of parsing.
|
boolean |
isComplete()
Returns true if the parser has assembled a complete result.
|
boolean consume(int codePoint,
Jankson loader)
throws SyntaxError
SyntaxErrorvoid eof() throws SyntaxError
SyntaxErrorboolean isComplete()
T getResult() throws SyntaxError
SyntaxError