Expand description
Visit every labelled annotation / verbatim block in a document and
dispatch the registered handler’s on_label and on_validate hooks.
The walker is the analysis-side glue between the parser and the
extension registry: a label whose namespace is registered goes
through schema pre-validation, then (if pre-validation passes) the
handler is asked for diagnostics. Schema-level failures and
handler-emitted diagnostics both surface as AnalysisDiagnostics on
the same channel as the existing footnote / table checks.
Bounded extensibility: a label whose namespace is not registered is silently ignored — unknown namespaces are not document errors.
Functions§
- dispatch_
labels - Walk
documentand append diagnostics for every labelled node whose namespace is registered inregistry. No-op on an empty registry.