Namespace Albatross.Expression.Nodes
Classes
- BooleanLiteral
Represents a boolean literal with values 'true' or 'false' (case-insensitive).
- ControlToken
Represents control tokens used for parsing expression structure (parentheses, commas, etc.).
- ControlTokenExtensions
Provides extension methods for identifying different types of control tokens.
- NumericLiteral
Represents a numeric literal that can be parsed as a double value.
- PrefixExpressionExtensions
Extension methods for IPrefixExpression that provide convenient operand access and validation. Simplifies getting values from prefix expression operands with type conversion and error handling.
- StringLiteral
Represents a string literal enclosed by quotes with support for escape sequences.
- ValueToken
Basic implementation of a value token that stores a simple string value.
- Variable
Represents a variable reference in an expression that gets resolved during evaluation. Variable names follow C# naming conventions and support dot notation for nested property access (e.g., "field.property").
Interfaces
- IExpression
Represents an evaluable expression that can be executed with a given context.
- IHasPrecedence
Interface for tokens that have operator precedence to determine order of evaluation.
- IInfixExpression
Represents an infix binary operation expression (e.g., a + b, x > y).
- IPrefixExpression
Represents a prefix function expression that takes a variable number of operands (e.g., Max(1, 2, 3)).
- IStringLiteral
Represents a string literal token with boundary character information.
- IToken
Base interface for all tokens in the expression system, providing basic token identification and text representation.
- IUnaryExpression
Represents a unary operation expression that operates on a single operand (e.g., -x, +y).
- IValueToken
Represents a token that holds a value, typically a literal or variable reference.