← All docs
get_declared_classes() — internals
Compiler internals for get_declared_classes(): lowering path, type checks, and runtime helpers.
get_declared_classes() — internals
Where it lives
- Signature:
src/builtins/callables/get_declared_classes.rs - Lowering:
src/codegen/lower_inst/builtins/types.rs:395 (lower_get_declared_names) - Function symbol:
lower_get_declared_names()
Lowering notes
- Lowers
get_declared_classes/interfaces/traits()using the shared declaration registry.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function get_declared_classes(): array
What the type checker enforces
- Arity: takes no arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/symbols/get_declared_classes.rs(eval_builtin!) - Dispatch hooks:
direct,values