Skip to main content

Module parser

Module parser 

Source
Expand description

Parser module for Pandoc/Quarto documents.

This module implements a single-pass parser that constructs a lossless syntax tree (CST) for Quarto documents.

Modules§

blocks
Block-level parsing for Pandoc/Quarto documents.
inlines
Inline-level parsing for Pandoc/Quarto documents.
utils
Shared utilities for parser implementation.
yaml
YAML parser groundwork for long-term Panache integration.

Structs§

IncrementalParseResult
Parser

Functions§

parse
Parses a Quarto document string into a syntax tree.
parse_incremental_suffix
Incrementally update a syntax tree by reparsing either a bounded section window (between top-level headings) or from a safe restart boundary to EOF.