Skip to main content

parse_block_engine

Function parse_block_engine 

Source
pub fn parse_block_engine(
    inline_tn: &Tabnas,
    parser: InlineParser,
    tree: Tree,
    block: NodeId,
) -> (InlineParser, Tree)
Expand description

One block’s inline phase on the engine path, as the block driver runs it when the block closes: the scan, then the GFM autolink-literal post-pass, exactly as parse_inlines_engine runs the two for each block. Takes and returns the parser and the tree by value, for the reason that function gives. Mirrors ts/src/engine-inline.ts parseBlockEngine.