Skip to main content

Module transform

Module transform 

Source
Expand description

Equivalent-IDL Transformation — Spec §6.3.2 / §6.4.1 / §6.5.1 / §6.6.x / §6.7.1.

Eingabe: zerodds_idl::ast::ComponentDef / HomeDef / EventDef. Ausgabe: ein oder mehrere InterfaceDef (alle Spec-konform), die die “implicitly defined equivalent interface” der CCM-Spec darstellen.

Spec §6.2 (S. 11): “A component definition in IDL implicitly defines an interface that supports the features defined in the component definition body.”

Structs§

ComponentEquivalent
Ergebnis der Component-Transformation: das Equivalent-Interface (Spec §6.3.2) plus alle implied Event-Consumer-Interfaces (Spec §6.6.6.2 “EventConsumers”-Module).
EventTypeEquivalent
Ergebnis der EventType-Transformation — Spec §6.6.1.1.
HomeEquivalent
Ergebnis der Home-Transformation: die drei Interfaces aus Spec §6.7.1 (Explicit + Implicit + Equivalent).

Functions§

scoped_name
Pub re-export fuer validate.rs (Phase-B-Cluster-9).
transform_component
Spec §6.3.2 (S. 12) + §6.4.1 / §6.5.1 / §6.6.x — generiert das Component-Equivalent-Interface inkl. aller Port-Operationen.
transform_event_type
Spec §6.6.1.1 (S. 24) — eventtype → valuetype + Consumer-Interface.
transform_home
Spec §6.7.1 (S. 33) — generiert die drei Interfaces (Explicit, Implicit, Equivalent) aus einem home-Decl.