Expand description
Definition-source adapter contracts and extension-based routing.
Structs§
- Extraction
- Definitions and non-fatal diagnostics extracted from one source.
- Extraction
Diagnostic - A source-localized problem encountered while extracting definitions.
- Source
Adapter Registration - One suffix-to-adapter registration.
- Source
File - A discovered definition source and the language used to parse it.
Enums§
- Extraction
Diagnostic Level - Impact of a source-extraction diagnostic.
- Source
Language - Parser language selected for a definition source.
Statics§
- SOURCE_
ADAPTER_ REGISTRY - Registered definition-source suffixes in deterministic lookup order.
Traits§
- Source
Adapter - Converts one supported definition-source language into the shared definition IR.
Functions§
- adapter_
for_ language - Returns the adapter for an already classified source language.
- adapter_
for_ path - Returns the adapter registered for
path, rejecting declaration and source-map files. - language_
for_ path - Classifies a path using the registered suffixes.
- registered_
suffixes - Returns the registered suffixes for tooling and adapter conformance tests.