Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(
    msg: &Message,
    registry: &DialectRegistry,
) -> Result<EvalResult, EvalError>
Expand description

Evaluate a message against a dialect registry.

This is a pure function: it inspects the message, expands templates using the registry, and returns the resulting effects without mutating any state. Performs shape checking inline; for a no-shape variant (used by callers that run shape validation separately with richer blame), see evaluate_without_shape_check.