Enum ParseErrorCode

Namespace
LogicalOptimizer
Assembly
LogicalOptimizer.Core.dll

Stable, machine-readable classification of a formula parse failure.

public enum ParseErrorCode

Fields

EmptyExpression = 0

The input was empty or whitespace only.

ExpectedToken = 5

A specific token was required here (see Expected).

InvalidConstant = 2

A constant was malformed (constants are the single digits 0 or 1).

NestingTooDeep = 7

The expression nested more deeply than the parser allows.

UnexpectedCharacter = 1

A character that is not part of the grammar was found.

UnexpectedEndOfInput = 6

The input ended while more was required (e.g. an unclosed parenthesis).

UnexpectedToken = 4

A token was valid on its own but not allowed at this position.

VariableStartsWithDigit = 3

A variable name started with a digit.