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

Matching can continue because no tokens have been consumed.

Constructor

new (pos:Position, token:T)

Creates a new NoMatch exception.

Variables

read onlytoken:T

The token which was encountered and could not be matched.

Methods

Inherited Variables

Defined by ParserError

read onlypos:Position

The position in the input where this exception occured.

Inherited Methods