Module eval

Module eval 

Source
Expand description

Expression evaluator for binding expressions

This module provides unified evaluation functions that support both local model access and shared state context, eliminating code duplication.

Functionsยง

evaluate_binding_expr
Evaluate a binding expression with span information
evaluate_binding_expr_with_shared
Evaluate a binding expression with shared context support
evaluate_expr
Evaluate an expression against a model
evaluate_expr_with_shared
Evaluate an expression with access to both local model and shared context
evaluate_formatted
Evaluate formatted string with interpolation: "Total: {count}"
evaluate_formatted_with_shared
Evaluate formatted string with interpolation and shared context support