Table of Contents

Namespace Albatross.Expression.Parsing

Classes

BooleanLiteralFactory

Factory class that parses boolean literal expressions from text input. Recognizes "true" and "false" values with optional case-sensitivity.

ControlTokenFactory

Factory for creating control tokens used in expression parsing (parentheses, commas, etc.).

Extensions

Provides extension methods for parser operations and convenience methods.

GenericPrefixExpressionFactory

Factory for parsing generic prefix expressions by name lookup from a registered collection.

GreaterThanExpressionFactory

Factory class that parses greater-than comparison operators from text input. Recognizes the ">" operator but excludes ">=" to avoid conflicts.

InfixExpressionFactory<T>

Generic factory for creating infix expression instances by matching their operator tokens.

LessThanExpressionFactory

Instead of using infix operator parser, regex is used to match the operator to avoid ambiguity with other operators like <= and <>

NumericLiteralFactory

Factory for parsing numeric literal tokens from expression text.

Parser

An immutable implementation of the IParser interface.

ParserBuilder

Builder class for creating Parser instances with customizable token factories. Provides fluent interface for configuring different types of expression parsing capabilities.

PrefixExpressionFactory

Factory for creating prefix expressions using a provided factory function.

PrefixExpressionFactory<T>
StringLiteralFactory

Factory for parsing string literal tokens with support for different quote characters.

UnaryExpressionFactory<T>

Generic factory for creating unary expression instances by matching their operator tokens.

VariableFactory

Factory for parsing variable name tokens from expression text.

Interfaces

IExpressionFactory<T>

Factory interface for parsing tokens from expression text.