Skip to content

parseWithRegistry

parseWithRegistry(preprocessed, registry): ParseResult

Defined in: packages/speculator/src/parse/pipeline.ts:113

Parse a preprocessed spec using a custom handler registry

This allows the pipeline to use plugin-registered handlers.

PreprocessedSpec

Preprocessed spec with config and source units

ParseHandlerRegistry

Custom handler registry with plugin handlers

ParseResult

ParseResult with document and diagnostics