mdz_stream_parser_text.ts

Plain-text run consumption for the streaming mdz parser.

Declarations
#

view source

consume_text_run
#

mdz_stream_parser_text.ts view source

(state: MdzStreamParserState): void import {consume_text_run} from '@fuzdev/fuz_ui/mdz_stream_parser_text.js';

Consume a run of plain text characters. Scans ahead to the next structurally interesting character and accumulates the whole run as a single slice, avoiding per-character string concatenation and dispatch overhead.

state

returns

void

Depends on
#

Imported by
#