Farkle


Farkle.Parser Namespace

Type/Module Description

DefaultTokenizer

Farkle's default tokenizer, powered by a DFA.

ExpectedSymbol

A symbol that was expected at the location of a syntax error.

LALRParser

Functions to syntactically parse a series of tokens using the LALR algorithm.

ParseErrorType

The type of an error the parser encountered.

ParserError

A parse error. It contains the position it was encountered and its type.

Token

A token is an instance of a `Terminal`. Tokens carry post-processed terminals, as well as their position in the text.

Tokenizer

A class that breaks down the characters of a CharStream into Tokens.

TokenizerFactory

A class that creates Tokenizers.