Expand description
Diagnostics-first analysis contracts and source mapping for Merman.
This crate is intentionally render-free. It owns the JSON payload shape and source-position helpers that FFI, UniFFI, WASM, CLI linting, Markdown scanning, and future LSP adapters can share.
Re-exports§
pub use document::DocumentDiagram;pub use document::DocumentDiagramKind;pub use document::DocumentSource;pub use document::FenceDelimiter;pub use document::FenceMarker;pub use document::analyze_document;pub use document::analyze_document_facts;pub use document::analyze_document_result;pub use document::source_descriptor_for_kind;pub use document::source_descriptor_for_markdown_path;pub use document::source_descriptor_for_uri;pub use document::source_language;pub use editor::ByteSpan;pub use editor::EditorSymbolKind;pub use editor::FenceCursorCompletionKind;pub use editor::FenceCursorContext;pub use editor::FenceExpectedSyntax;pub use editor::FenceExpectedSyntaxKind;pub use editor::FenceLineItem;pub use editor::FenceReferenceGroup;pub use editor::FenceSemanticItem;pub use editor::FenceSemanticRole;pub use editor::FenceTextIndex;pub use editor::FenceTextIndexSource;pub use editor::ShapeObjectValuePrefix;pub use editor::shape_object_value_prefix;pub use options_json::AnalysisOptionsJson;pub use options_json::AnalysisOptionsJsonError;pub use options_json::LintOptionsJson;pub use options_json::LintRuleSeverityOverrideJson;pub use options_json::ParseOptionsJson;pub use options_json::ResourceOptionsJson;pub use options_json::analysis_options_from_json_value;pub use options_json::analysis_options_json_from_json_value;
Modules§
Structs§
- Analysis
Diagnostic - Analysis
Diagram Facts - Analysis
Diagram Syntax Facts - Analysis
Expected Syntax Facts - Analysis
Fact Span - Analysis
Facts Payload - Analysis
Fence Delimiter Facts - Analysis
Flowchart Edge Defaults - Analysis
Flowchart Edge Facts - Analysis
Flowchart Facts - Analysis
Flowchart Node Facts - Analysis
Flowchart Subgraph Facts - Analysis
Line Item Facts - Analysis
Options - Analysis
Payload - Analysis
Reference Facts - Analysis
Result - Analysis
Rule Config - Analysis
Semantic Item Facts - Analysis
Syntax Facts - Analyzed
Diagram - Analyzer
- Diagnostic
Fix - Diagnostic
FixEdit - Diagnostic
Related - Diagnostic
Span - LineCol
- Rule
Catalog Entry - Rule
Catalog Response - Rule
Descriptor - Source
Descriptor - Source
Map - Summary
- Utf16
Position
Enums§
- Analysis
Rule Profile - Analysis
Status - Diagnostic
Category - Diagnostic
Severity - Rule
Origin - Source
Kind - Source
MapError
Constants§
Functions§
- configurable_
rule_ catalog - configurable_
rule_ catalog_ response - configurable_
rule_ catalog_ response_ json_ bytes - configurable_
rule_ descriptor - configurable_
rule_ descriptors - rule_
catalog - rule_
catalog_ response - rule_
catalog_ response_ json_ bytes - rule_
descriptors - source_
discarded_ after_ limit_ change_ diagnostic - source_
limit_ diagnostic_ for_ len