← All docs
jddayofweek() — internals
Compiler internals for jddayofweek(): lowering path, type checks, and runtime helpers.
jddayofweek() — internals
Where it lives
- Signature:
crates/elephc-builtin-contract/src/catalog_surfaces.rs - Lowering:
src/name_resolver/expressions.rs:690 (rewrite_date_procedural_call) - Function symbol:
rewrite_date_procedural_call()
Lowering notes
- Rewritten by the name resolver into a constructor or method call on the corresponding builtin class before type checking.
Semantic descriptor
Shared contract without a registry semantic descriptor.
EIR and runtime boundary
No registry-backed typed runtime target applies.
Signature summary
function jddayofweek(int $julian_day, int $mode = CAL_DOW_DAYNO): mixed
What the type checker enforces
- Arity: takes 1–2 arguments (1 optional).
Eval interpreter (magician)
Dispatched as a procedural date/time alias by crates/elephc-magician/src/interpreter/builtins/time/aliases.rs.