Expand description
References, expressions and predicates of registry rustev.exact/1:
typing (compile phase e) and evaluation (spec 002, 3.4 and 3.8).
Structs§
Enums§
- Fault
- Why evaluation produced no value; becomes the step’s unresolved reason.
- Ref
- A parsed reference.
- StepTy
- The type of a step’s result as expressions see it.
Functions§
- base_
ref - The dependency a reference names:
input:<name>orstep:<id>without any field path. - base_
ref_ v2 base_reffor a version 2 definition, whose step references may carry a field path.- eval_
expr - eval_
predicate - eval_
ref - expr_
refs - Every reference an expression or predicate reads, in reading order.
- expr_
structure - Structural checks of compile phase b: scales in range.
- expr_
uses_ v2 - Whether an expression uses a construct of
rustev.exact/2that a version 1 definition cannot carry (spec 032, 3.1.3). - fx
amount / rate(from) * rate(to), each step half-even at 10^-9, then rescaled half-even toscale(fx_convert@1).- predicate_
refs - predicate_
structure - predicate_
uses_ v2 - Whether a predicate uses a construct of
rustev.exact/2. - ref_ty
- The type of a reference, or a kind mismatch.
- split_
item - A version 2 item path, with
/as well as.separating fields. - split_
step - A version 2 step reference’s id and field path.
- type_
expr - The static type of an expression (compile phase e). Values never convert
silently: integer and decimal mix only through
to_decimal. - type_
predicate