Skip to main content

Module plan

Module plan 

Source
Expand description

The planner — port of plan.ts / Plan.java. Plans each text-bearing block via the matcher, lifts block offsets to source spans, attaches trailing table/fence nodes, handles the ```error fence, expands header-bound tables into one example per row, and collects diagnostics.

Structs§

ExecutionPlan
The result of planning a whole Doc.
HeaderBinding
The binding paragraph shared by every row of a header-bound table.
PlannedExample
One matched-and-runnable example.
PlannedStep
One matched step: text, source span, captured-parameter spans, args, and attachments. formats aligns 1:1 with args.

Functions§

plan
Plans doc against registry. Port of plan().