Farkle


ParseErrorType Type

The type of an error the parser encountered.

Union cases

Union case Description

LexicalError char

Full Usage: LexicalError char

Parameters:
    Item : char

A character was not recognized.

Item : char

SyntaxError(Expected, Actual)

Full Usage: SyntaxError(Expected, Actual)

Parameters:

A symbol was read, while some others were expected.

Expected : Set<ExpectedSymbol>
Actual : ExpectedSymbol

UnexpectedEndOfInput

Full Usage: UnexpectedEndOfInput

Unexpected end of input.

UnexpectedEndOfInputInGroup Group

Full Usage: UnexpectedEndOfInputInGroup Group

Parameters:

Unexpected end of input while being inside a group.

Group : Group

UnexpectedGroupEnd Symbol

Full Usage: UnexpectedGroupEnd Symbol

Parameters:

A group did end, but outside of any group.

Symbol : GroupEnd

UserError Message

Full Usage: UserError Message

Parameters:
    Message : string

A custom error was raised by calling the `error` function or by throwing a `ParserApplicationException`.

Message : string