Skip to main content

Module myst

Module myst 

Source
Expand description

MyST AST node wrappers.

Typed views over the MYST_* CST kinds emitted by the parser (directives, roles, targets, substitutions). These hide the concrete tree shape — brace delimiters, colon markers, optional whitespace — behind a small name()/content()/label() surface for downstream consumers (LSP semantic tokens, lint rules, reference resolution).

Structs§

MystDirective
A MyST directive (```{name} or, with colon_fence, :::{name}).
MystDirectiveOption
A single :key: value option line within a directive.
MystRole
A MyST inline role ({name}`content`).
MystSubstitution
A MyST inline substitution ({{ name }}).
MystTarget
A MyST target definition ((label)=).