hxparse

..
LexEngine

LexEngine handles pattern parsing and state transformation.

Lexer

Lexer matches a sequence of characters against a set of rule patterns.

LexerTokenSource

NoMatch

A NoMatch exception is thrown if an outer token matching fails.

Parser

Parser is the base class for all custom parsers.

ParserBuilder

ParserError

This is the base class of all parser errors.

Position

The position information maintained by Lexer.

RuleBuilder

The RuleBuilder interfaces provides syntactic shortcuts for writing lexer rules.

RuleBuilderImpl

Ruleset

A Ruleset wraps an input state and the semantic callback functions for the Lexer.

State

Represents a state in the state machine generated by the LexEngine.

TokenSource

Defines the structure of a type usable as input for a Parser.

Unexpected

Unexpected is thrown by Parser.serror, which is invoked when an inner token matching fails.

UnexpectedChar

UnexpectedChar is thrown by Lexer.token if it encounters a character for which no state transition is defined.