core library

This package contains the core classes of the framework.

Classes

Context
An immutable parse context.
Failure
An immutable failed parse result.
Parser<R>
Abstract base class of all parsers that produce a parse result of type R.
Result<R>
An immutable parse result that is either a Success or a Failure.
Success<R>
An immutable successful parse result.
Token<R>
A token represents a parsed part of the input stream.

Exceptions / Errors

ParserException
An exception raised in case of a parse error.