Module language

Module language 

Source
Expand description

Purpose: Own deterministic language capability and detection truth.

Structs§

CapabilityLevelCounts
Count levels for one capability axis.
EmbeddedLanguageCapability
One accepted host-to-embedded semantic provider pairing.
LanguageCapability
One accepted canonical language capability row.
LanguageCapabilityCounts
Derived accepted language capability counts.
LanguageCapabilityFixtures
Natural positive and negative detector fixtures for an accepted row.
LanguageCapabilityReportRow
One content-free settings and generated-documentation capability row.
LanguageCapabilitySupport
Independent language capability axes.
LanguageCatalogReport
Pinned broad-language catalog identity used for detection candidates.
LanguageContentRule
One registry-owned shebang interpreter rule.
LanguageDetection
Typed language detection result.
LanguageDetectionError
Invalid explicit language selection.
LanguageDetectionRequest
Typed language detection request.
LanguageDetectionRule
One static exact, compound, or extension detector rule.
LanguageRegistryError
Registry validation failure with both conflicting owners where applicable.
LanguageRegistryReport
Content-free language registry settings projection.
LanguageSpec
Static compatibility parser metadata for one detected language family.

Enums§

CapabilityProvenance
Provenance class for an accepted language row.
CapabilitySupportLevel
Independently achieved support for one language capability axis.
EmbeddedHostKind
Closed host class for bounded embedded-source projection.
LanguageDetectionReason
Detection rule class and precedence reason.
LanguageParserSupport
Parser coverage level retained for compatibility with the 0.3.26 API.
RequiredPlatformSet
Required platform applicability for one accepted capability.
SemanticProviderOwner
Closed owner of project-wide semantic resolution.
StructuralSummaryOwner
Closed owner of deterministic structural summaries.
SymbolParserOwner
Closed owner of built-in symbol extraction.
TreeSitterGrammar
Closed built-in Tree-sitter grammar identity.

Constants§

ACCEPTED_LANGUAGE_CAPABILITY_SET_V1_DIGEST
Historical acceptance seal for capability-set version 1.
ACCEPTED_LANGUAGE_CAPABILITY_SET_V2_DIGEST
Historical acceptance seal for capability-set version 2.
ACCEPTED_LANGUAGE_CAPABILITY_SET_V3_DIGEST
Historical acceptance seal for capability-set version 3.
ACCEPTED_LANGUAGE_CAPABILITY_SET_V4_DIGEST
Historical acceptance seal for capability-set version 4.
ACCEPTED_LANGUAGE_CAPABILITY_SET_V5_DIGEST
Historical acceptance seal for capability-set version 5.
ACCEPTED_LANGUAGE_CAPABILITY_SET_VERSION
Version of the accepted language capability floor.
BROAD_PARSER_PACK_ID
Stable owner identity for the one logical optional broad parser pack.
BROAD_SOURCE_EXTENSIONS
Broad source extensions supported by the 0.3.26 scanner contract.
COMPOUND_EXTENSION_RULES
Longest-first compound extension rules.
CONTENT_DIALECT_RULES
Bounded shebang interpreter rules owned by the accepted registry.
DETECTED_SOURCE_EXTENSIONS
Complete registry-known extension projection, including recognition-only pack rows.
EXACT_FILENAME_RULES
Case-sensitive exact filename rules.
EXTENSION_RULES
Ordinary extension rules, including compatibility-only hidden extensions.
LANGUAGE_CAPABILITIES
Accepted canonical language capabilities.
LANGUAGE_CAPABILITY_REGISTRY_VERSION
Version of the generated language registry contract.
LANGUAGE_CONTENT_DETECTION_MAX_BYTES
Maximum content prefix inspected by the bounded content/dialect detector.
LANGUAGE_DETECTION_POLICY_VERSION
Version of exact detector precedence and content-matching semantics.
LANGUAGE_REGISTRY_REPORT_MAX_BYTES
Maximum JSON bytes for the compact language settings projection.
LANGUAGE_SPECS
Compatibility parser metadata generated from the accepted manifest.
OPTIONAL_GRAMMAR_CATALOG
Pinned metadata catalog used to admit broad detection and fallback rows.
OPTIONAL_GRAMMAR_CATALOG_RELEASE_REVISION
Exact upstream release-tag revision used by the accepted broad-language registry.
OPTIONAL_GRAMMAR_CATALOG_VERSION
Exact catalog version used by the accepted broad-language registry.
OPTIONAL_PACK_MINIMUM_ADDITIONAL_GRAMMARS
Minimum additional non-built-in grammars required for the broad-pack claim.
SEMANTIC_PROVIDER_CONTRACT_VERSION
Version of the direct and embedded semantic-provider projection.

Functions§

accepted_language_capability_digest
Return the deterministic digest of accepted minimum capability truth.
builtin_tree_sitter_language_ids
Return all canonical language IDs backed by built-in Tree-sitter grammars.
canonical_language_id
Resolve a canonical language ID or compatibility alias.
compound_language_extension
Return whether a path ends in a declared compound language extension.
detect_language
Detect a language or file family from an extension.
detect_language_for_path
Detect a language or file family from a path plus extension.
detect_language_request
Detect one language through the typed precedence contract.
language_capability
Return the accepted capability row for a canonical ID or alias.
language_capability_counts
Derive independent support counts without mutable literals.
language_capability_report_rows
Build the complete content-free capability matrix from registry authority.
language_documentation_rows
Return all accepted language rows as generated documentation inputs.
language_registry_digest
Return the deterministic digest of achieved registry truth and detection rules.
language_registry_report
Build a content-free settings/documentation report from the registry authority.
language_spec
Return parser coverage metadata for a detected language family.
normalized_language_extension
Return the normalized extension used by the scanner and detector.
render_language_support_markdown
Render the checked-in public language support matrix from registry authority.
semantic_provider_digest
Return the deterministic digest of semantic-provider ownership.
tree_sitter_grammar
Return the built-in Tree-sitter grammar owner for a language.
validate_language_registry
Validate the accepted registry and all generated projections.