Skip to main content

Crate merman_analysis

Crate merman_analysis 

Source
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::SharedTextSlice;
pub use document::analyze_document;
pub use document::analyze_document_facts;
pub use document::analyze_document_result;
pub use document::analyze_document_result_shared;
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§

document
editor
markdown
options_json

Structs§

AnalysisDiagnostic
AnalysisDiagramFacts
AnalysisDiagramSyntaxFacts
AnalysisExpectedSyntaxFacts
AnalysisFactSpan
AnalysisFactsPayload
AnalysisFenceDelimiterFacts
AnalysisFlowchartEdgeDefaults
AnalysisFlowchartEdgeFacts
AnalysisFlowchartFacts
AnalysisFlowchartNodeFacts
AnalysisFlowchartSubgraphFacts
AnalysisLineItemFacts
AnalysisOptions
AnalysisPayload
AnalysisReferenceFacts
AnalysisResult
AnalysisRuleConfig
AnalysisSemanticItemFacts
AnalysisSyntaxFacts
AnalyzedDiagram
Analyzer
DiagnosticFix
DiagnosticFixEdit
DiagnosticRelated
DiagnosticSpan
LineCol
RuleCatalogEntry
RuleCatalogResponse
RuleDescriptor
SourceDescriptor
SourceMap
Summary
Utf16Position

Enums§

AnalysisRuleProfile
AnalysisStatus
DiagnosticCategory
DiagnosticSeverity
RuleOrigin
SourceKind
SourceMapError

Constants§

RULE_CATALOG_RESPONSE_VERSION

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