Expand description
Expression language for DerivedParameter.
A declarative AST — literals, parameter references, binary/unary
ops, built-in functions, and conditionals — serde-able end to end so
plan files fingerprint deterministically. Evaluated against a
ValueBindings map (the already-bound parameter values).
Type checking happens at Expression::eval: an expression is only
statically checked for shape at construction (the AST type system
does that); kind errors surface at bind time with
DerivationError::TypeMismatch. This matches the upstream Java
behaviour where compute() throws at runtime.
Enums§
- BinOp
- Binary operators.
- Builtin
Fn - Built-in functions.
- Derivation
Error - Errors produced at
Expression::evaltime. - Eval
Value - Typed value produced by
Expression::eval. - Expression
- An expression tree. Serde-able end to end.
- Literal
- A literal value embedded in an expression.
- UnOp
- Unary operators.
Type Aliases§
- Value
Bindings - Parameter-name → value lookup passed to
Expression::eval.