← All docs
class_attribute_names() — internals
Compiler internals for class_attribute_names(): lowering path, type checks, and runtime helpers.
class_attribute_names() — internals
Where it lives
- Signature:
src/builtins/system/class_attribute_names.rs - Lowering:
src/codegen/lower_inst/builtins/attributes.rs:45 (lower_class_attribute_names) - Function symbol:
lower_class_attribute_names()
Lowering notes
- Lowers
class_attribute_names(class)into an indexed string array.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function class_attribute_names(string $class_name): array
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/symbols/class_attribute_names.rs(eval_builtin!) - Dispatch hooks:
direct,values