Skip to main content

eval_expr_default

Function eval_expr_default 

Source
pub fn eval_expr_default(cx: &mut Cx, expr: Expr) -> Result<Value>
Expand description

Evaluates expr to a value using the kernel’s default tree-walk.

This is the reference eval_expr implementation: it expands macros for Phase::Eval, then walks the Expr graph, resolving symbols and dispatching calls. The standard eval policies delegate to it; libraries may reuse or replace it with their own evaluation semantics.