Skip to main content

transform_component

Function transform_component 

Source
pub fn transform_component(comp: &ComponentDef) -> ComponentEquivalent
Expand description

Spec §6.3.2 (S. 12) + §6.4.1 / §6.5.1 / §6.6.x — generiert das Component-Equivalent-Interface inkl. aller Port-Operationen.

Inheritance (§6.3.2):

  • Ohne supports und ohne base: : Components::CCMObject.
  • Mit base: : <base> (CCMObject ist transitiv).
  • Mit supports: zusaetzlich die supported interfaces.

Body (§6.4.1 / §6.5.1 / §6.6.x): alle Port-Decls werden in Operationen auf dem Equivalent-Interface uebersetzt.