Expand description
Deterministic semantic linking for canonical RSJS descriptors.
This stage begins after object extraction, rustc relocation resolution, and
legacy-to-canonical ABI adaptation. It deliberately never reconstructs
identity from an authored path, item spelling, source location, or target
directory. Every component/helper edge is selected through a
ResolvedTransportWitness.
Build-local definition coordinates are retained in SemanticLinkPlan for
final-compilation lookup, but are generally omitted from the reusable
semantic graph. Helper relocations are the deliberate exception: each
(call, source edge, target definition, target semantic key) tuple controls
final JavaScript routing and is therefore authenticated by PlanId.
LinkPlanMaterial also includes the exact LinkUnitId, so the final ID
binds both the realized build and the complete behavior plan.
Structs§
- Linked
Node RefHandle Alias - One occurrence-specific exact
NodeRef<T>object alias. - Linked
Semantic Component - One canonical component and its exact resolved outgoing graph.
- Linked
Semantic Component Site - One concrete component site in a standalone-root expansion.
- Linked
Semantic Helper - One canonical helper and its exact resolved outgoing graph.
- Linked
Shared State Provider Occurrence - One exact lexical SharedState provider occurrence in an admitted root.
- Linked
Shared State Provider Requirement - One component acquisition resolved to an exact lexical provider occurrence.
- Semantic
Component Edge - One direct component edge resolved through an exact rustc witness.
- Semantic
Helper Edge - One helper call resolved through an exact rustc witness.
- Semantic
Link Plan - Complete deterministic semantic plan for one exact root link unit.
- Standalone
Callback Requirement - One compiler-owned callback that must be supplied by an analyzed parent edge before a component can participate in a client owner.
- Standalone
Node RefRequirement - Missing incoming
NodeRef<T>context that prevents one structurally valid component definition from becoming a standalone render root. - Standalone
Root Decision - Standalone-root decision for one canonical component definition.
- Standalone
Shared State Requirement - Missing lexical SharedState context that prevents one structurally valid component definition from becoming a standalone render root.
Enums§
- Semantic
Link Error - Fail-closed semantic-link failure.
- Semantic
Plan Serialization Error - Deterministic JSON serialization failure.
- Semantic
Plan Validation Error - Internal-consistency failure in an owned semantic plan.
- Semantic
Plan Write Error - Atomic semantic-plan persistence failure.
- Semantic
Witness Kind - Expected semantic meaning of one bridge witness.
- Standalone
Context Requirement - One ancestor-supplied context requirement for a standalone root.
- Standalone
Root Disposition - Why a component definition does or does not receive an ordinary standalone render occurrence.
Constants§
- SEMANTIC_
LINK_ SCHEMA_ VERSION - External semantic-plan schema generation.
- SEMANTIC_
PLAN_ FILE_ SUFFIX - Content-addressed filename suffix used by the final compiler.
- SEMANTIC_
PLAN_ FORMAT - Fixed external semantic-plan format discriminator.
Functions§
- link_
semantic_ plan - Link canonical descriptors using only relocation-resolved witness records.
- semantic_
plan_ json - Serialize a validated semantic plan into deterministic external JSON.
- validate_
semantic_ plan - Recompute every strong identity carried by an owned semantic plan.
- write_
content_ addressed_ semantic_ plan - Atomically persist a semantic plan under its strong
PlanId.