← All docs
json_last_error() — internals
Compiler internals for json_last_error(): lowering path, type checks, and runtime helpers.
json_last_error() — internals
Where it lives
- Signature:
src/builtins/system/json_last_error.rs - Lowering:
src/codegen/lower_inst/builtins/json.rs:70 (lower_json_last_error) - Function symbol:
lower_json_last_error()
Lowering notes
- Lowers
json_last_error()by reading the shared runtime error-code symbol.
Runtime helpers
The following runtime helpers are referenced:
__rt_json_last_error_msg
Signature summary
function json_last_error(): int
What the type checker enforces
- Arity: takes no arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/json/json_last_error.rs(eval_builtin!) - Dispatch hooks:
direct,values