Skip to main content

Crate hamelin_eval

Crate hamelin_eval 

Source

Modules§

value

Macros§

null_propagate
Macro for ergonomic null propagation in eval functions. If the value is null, returns early with Ok(Value::Null).
null_propagate_reverse
Macro for null handling in reverse evaluation. If the constant value is NULL:

Structs§

Environment
Environment for variable bindings during evaluation

Enums§

Constraint
EvalError
Main error type for expression evaluation

Functions§

eval
Evaluate a typed expression in the given environment
next_truncation_boundary
Calculate the next boundary after truncation
reverse_eval
Main entry point for reverse evaluation
truncate_timestamp
Forward truncation: truncate a timestamp to the specified unit