← All docs
ctype_alnum() — internals
Compiler internals for ctype_alnum(): lowering path, type checks, and runtime helpers.
ctype_alnum() — internals
Where it lives
- Signature:
src/builtins/string/ctype_alnum.rs - Lowering:
src/codegen/lower_inst/builtins/ctype.rs:30 (lower_ctype_alnum) - Function symbol:
lower_ctype_alnum()
Lowering notes
- Lowers
ctype_alnum(string)by checking every byte against ASCII alpha or digit ranges.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function ctype_alnum(string $text): bool
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/string/ctype_alnum.rs(eval_builtin!) - Dispatch hooks:
direct,values