← All docs
xml_get_current_byte_index() — internals
Compiler internals for xml_get_current_byte_index(): lowering path, type checks, and runtime helpers.
xml_get_current_byte_index() — internals
Where it lives
- Signature:
crates/elephc-builtin-contract/src/catalog_xml.rs - Lowering:
src/xml_prelude/build/parser.rs:1573 (xml_get_current_byte_index) - Function symbol:
xml_get_current_byte_index()
Lowering notes
- Implemented by the compiler-injected xml prelude.
Semantic descriptor
Shared contract implemented by an injected elephc-PHP prelude.
EIR and runtime boundary
Implemented by an injected elephc-PHP prelude.
Signature summary
function xml_get_current_byte_index(mixed $parser): int
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/xml/xml_get_current_byte_index.rs(eval_builtin!) - Execution: Magician interpreter adapter.
- Adapter reason:
dynamic-language-surface. - Dispatch hooks:
direct,values