Skip to main content

Module exec

Expand description

Runs a lowered helper against the abstract arguments of one call.

Tests that depend only on known values are decided; tests on unknown scalars fork the path into both alternatives (at most MAX_EMBEDDED_SQL_VARIANTS live paths). A path that throws ends. Every unsupported construct, unresolvable callee or read of a caller-owned builder fails the whole run, so the call stays Dynamic.

Structs§

Outcome

Enums§

Callee
Result of asking for a helper by name.
Ret
What a helper call produced on one path.

Constants§

MAX_CALL_DEPTH
Deepest chain of helper-calls-helper that is followed.

Traits§

Callees
Looks helpers up in the module being executed (and beyond, for imports).

Functions§

run
Every alternative outcome of program called with args, or None. stamp is the module recorded as the origin of the program’s own text (None when it is the executor’s own module).