Expand description
The sticky-context boundary conversions (treesitter-context.md, TC.2).
Mirrors lattice_cells::context::ContextScope — the structural scopes a
context provider produces. Two directions:
ContextScopecrosses guest→host (the producer’s return): aWitBoundaryround-trip. Fouru32s per scope and nothing else, which is the point — a whole file’s structure is a few tens of kB, and the tree itself never crosses.context-requestcrosses host→guest (one-way, theproject_decoration_contextprecedent). The host has the buffer metadata off the render path when it triggers the producer; the parse tree rides a call-scopedborrow<tree-snapshot>alongside, not this record.
Functions§
- project_
context_ request - Build the owned
context-requestthe host hands a producer (host→guest, one-way).