Skip to main content

Module loader

Module loader 

Source
Expand description

Ordered, caller-supplied Compose project loading.

Structs§

DocumentInput
One source document supplied to the project loader.
DocumentOrigin
The caller-defined location of one Compose document.
IncludeComposition
The typed definitions selected for one retained include occurrence.
IncludeCompositionResult
The I/O-free outcome of composing an IncludeResolution.
IncludeDefinition
One typed definition selected during include composition.
IncludeDefinitionEvidence
Source and occurrence evidence for one selected or conflicting definition.
IncludeEdge
One requested include edge in traversal order.
IncludeIdentity
A caller-defined canonical identity for one includable Compose project.
IncludeNode
One visited project occurrence in an IncludeResolution.
IncludeProjectDirectoryEntry
One deterministic occurrence entry in an IncludeProjectDirectoryPlan.
IncludeProjectDirectoryPlan
The I/O-free, caller-authorized project-directory plan for an include traversal.
IncludeProjectDirectoryRequest
Context supplied to a caller-owned explicit project-directory resolver.
IncludeRequest
One effective, caller-authorized include request.
IncludeResolution
A partial or complete depth-first traversal of caller-authorized Compose includes.
IncludeResourceConflict
A same-name conflict that prevented an included definition from being imported.
IncludedProjectInput
A caller-created ordered project input returned by an IncludeLoader.
LoadedDocument
One parsed document in an ordered Compose project.
LoadedProject
An ordered set of parsed Compose documents and their path origins.
ProjectInterpolation
Per-file interpolation overlays for one loaded project.

Enums§

IncludeLoadError
A caller-controlled include loading outcome that prevents traversal of one requested edge.
IncludeProjectDirectoryResolution
The successful result of resolving an explicit include project directory.
IncludeProjectDirectoryResolveError
A typed resolver failure that does not carry caller-controlled message text.
IncludeProjectDirectoryStatus
How one occurrence received its planned project directory.
IncludeResourceNamespace
One of the six top-level definition namespaces composed from includes.
ProjectLoadError
A fatal project-loading failure.

Constants§

INCLUDE_CYCLE
An included identity appears again on the active traversal stack.
INCLUDE_DUPLICATE_SOURCE_ID
A source identifier was reused anywhere in an include traversal.
INCLUDE_EMPTY_RESULT
The caller supplied no documents for an included project.
INCLUDE_EMPTY_ROOT
The root input contains no documents.
INCLUDE_LOADER_DENIED
The caller denied an include request.
INCLUDE_LOADER_FAILED
The caller’s include loader failed to supply a project.
INCLUDE_PROJECT_DIRECTORY_UNRESOLVED
An explicit include project directory could not be resolved by caller policy.
INCLUDE_PROJECT_LOAD_FAILED
A caller-supplied include project could not enter the existing ordered loader.
INCLUDE_RESOURCE_CONFLICT
An included definition collides with an already selected parent definition.
INCLUDE_UNMODELED
An effective include declaration could not be modeled safely enough to authorize loading.

Traits§

IncludeLoader
The only authorization and I/O boundary used by recursive include traversal.
IncludeProjectDirectoryResolver
The only caller-owned policy boundary for explicit include project directories.