← All docs
grapheme_strrev() — internals
Compiler internals for grapheme_strrev(): lowering path, type checks, and runtime helpers.
grapheme_strrev() — internals
Where it lives
- Signature:
src/builtins/string/grapheme_strrev.rs - Lowering:
src/codegen/lower_inst/builtins/strings.rs:105 (lower_grapheme_strrev) - Function symbol:
lower_grapheme_strrev()
Lowering notes
- Lowers
grapheme_strrev()and boxes itsstring|falseresult asMixed.
Runtime helpers
The following runtime helpers are referenced:
__rt_grapheme_strrev__rt_strcopy
Signature summary
function grapheme_strrev(string $string): mixed
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/string/grapheme_strrev.rs(eval_builtin!) - Dispatch hooks:
direct,values