← All docs
ctype_alpha() — internals
Compiler internals for ctype_alpha(): lowering path, type checks, and runtime helpers.
ctype_alpha() — internals
Where it lives
- Signature:
src/builtins/string/ctype_alpha.rs - Lowering:
src/codegen/lower_inst/builtins/ctype.rs:20 (lower_ctype_alpha) - Function symbol:
lower_ctype_alpha()
Lowering notes
- Lowers
ctype_alpha(string)by checking every byte against ASCII alpha ranges.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function ctype_alpha(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_alpha.rs(eval_builtin!) - Dispatch hooks:
direct,values