From 7a8695d98f64194b56a0cd0ab0c5111fe1fcf152 Mon Sep 17 00:00:00 2001 From: Okiki Ojo Date: Wed, 22 Apr 2026 02:44:37 -0400 Subject: [PATCH] docs: enhance re-exported parser capabilities with strict diagnostics Signed-off-by: Okiki Ojo --- mod.ts | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/mod.ts b/mod.ts index 5ec63ee..c64cd46 100644 --- a/mod.ts +++ b/mod.ts @@ -18,16 +18,20 @@ * - `blockEvents()` for block-level structure * - `inlineEvents()` for inline event enrichment * - `tokens()`, `outlineEvents()`, `events()`, `parse()`, - * `parseWithDiagnostics()`, and `parseWithRecovery()` for orchestration - * - `buildTree()`, `buildTreeWithDiagnostics()`, + * `parseWithDiagnostics()`, `parseStrictWithDiagnostics()`, and + * `parseWithRecovery()` for + * orchestration + * - `buildTree()`, `buildTreeWithDiagnostics()`, `buildTreeStrict()`, * `buildTreeWithLooseDiagnostics()`, and `buildTreeWithRecovery()` for AST * materialization from an event stream plus source - * - `TreeBuildMode`, `DiagnosticCode`, and related result types for stable - * parser-owned vocabularies and tree/diagnostic result shapes + * - `TreeMaterializationPolicy`, `TreeBuildMode`, `DiagnosticCode`, and + * related result types for stable parser-owned vocabularies and + * tree/diagnostic result shapes * - `visit()`, `filter()`, `resolveTreePath()`, `resolveDiagnosticAnchor()`, * and `locateDiagnostic()` helpers for common tree and event queries * - `createSession()` for cached repeated access to one source input, - * including `session.parseWithDiagnostics()` and + * including `session.parseWithDiagnostics()`, + * `session.parseStrictWithDiagnostics()`, and * `session.parseWithRecovery()` * * As more features land, this entry point is where they will be re-exported. -- 2.51.2