Skip to main content
← Back to kicad-monkey Rust Docs kicad-monkey Rust Crate API Reference

Module sexpr_projection

Module sexpr_projection 

Source
Expand description

Allocation-bounded structural selection over KiCad S-expression source.

Structs§

FormSpan
Exact byte and line/column range for one complete list form.
Selector
A source-form selector. Empty optional sets mean no restriction.
StructuralIndex
Reusable structural form index. It owns metadata, never source text.

Functions§

parse_form
Materialize only one previously selected form.
read_form_bytes
Seek and read only one selected form from an indexed native source.
scan_form_spans
Select complete list forms without materializing a token vector or tree.
scan_reader_form_spans
Scan selected metadata from a native byte stream without retaining the file.