An error the builder encountered.
Union case | Description |
Full Usage:
DuplicateProduction(Head, Handle)
Parameters:
Nonterminal
Handle : ImmutableArray<LALRSymbol>
|
A production is defined twice.
|
Full Usage:
EmptyNonterminal Name
Parameters:
string
|
A nonterminal has no productions.
|
Full Usage:
GrammarNotPrecompiled
|
A precompilable designtime Farkle was attempted to be built with its grammar having not been precompiled. |
|
|
|
|
|
An LALR conflict did occur.
|
|
There were LALR conflicts. This error type comes after the specific conflict error messages and contains the grammar's LALR states, including the conflicting actions. It is not displayed when a `FarkleError` is converted to a string, but is used by the precompiler to create an HTML report when a precompiled grammar has conflicts.
|
|
A symbol can contain zero characters. If many symbols are nullable, they will be marked as indistinguishable instead.
|
|
An error occurred while parsing a regular expression.
|
Full Usage:
SymbolLimitExceeded
|
The grammar has more symbols than the supported limit. |
Static member | Description |
Full Usage:
BuildError.SymbolLimit
Returns: int
|
The maximum number of terminals and nonterminals a grammar built by Farkle can have. Currently set to 2^20; sixteen times more of what GOLD Parser can handle. To be more specific, a grammar can have at most 2^20 terminals _and_ 2^20 nonterminals.
|