Skip to main content

parse_inline_text_recursive

Function parse_inline_text_recursive 

Source
pub fn parse_inline_text_recursive(
    builder: &mut GreenNodeBuilder<'_>,
    text: &str,
    config: &ParserOptions,
)
Expand description

Parse inline text into the CST builder.

Top-level entry point for inline parsing. Builds the IR plans (emphasis pairings, bracket resolutions, standalone Pandoc constructs) once via super::inline_ir::build_full_plans, then walks the byte range left-to-right consulting those plans plus the dispatcher’s ordered-try chain for non-IR-resolved constructs (autolinks, code spans, escapes, math, etc.). Dialect-specific behavior is selected inside build_full_plans.

§Arguments

  • text - The inline text to parse
  • config - Configuration for extensions and formatting
  • builder - The CST builder to emit nodes to