← All docs
hash_final() — internals
Compiler internals for hash_final(): lowering path, type checks, and runtime helpers.
hash_final() — internals
Where it lives
- Signature:
src/builtins/string/hash_final.rs - Lowering:
src/codegen/lower_inst/builtins/strings.rs:319 (lower_hash_final) - Function symbol:
lower_hash_final()
Lowering notes
- Lowers
hash_final(context, binary?)through the incremental hash finalizer.
Runtime helpers
The following runtime helpers are referenced:
__rt_hash_final
Signature summary
function hash_final(resource $context, bool $binary = false): string
What the type checker enforces
- Arity: takes 1–2 arguments (1 optional).
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/string/hash_final.rs(eval_builtin!) - Dispatch hooks:
direct,values