lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.diagram.synthesis.util.NamedInstanceUtil Class Reference

Utility class to link KGraphElements to NamedInstances. More...

Static Public Member Functions

static NamedInstance<?> getLinkedInstance (KGraphElement elem)
 Returns the linked NamedInstance for the given KGraphElement.
static IPropertyHolder linkInstance (KGraphElement elem, NamedInstance<?> instance)
 Establishes a link between KGraphElement and NamedInstance.

Static Public Attributes

static final Property< NamedInstance<?> > LINKED_INSTANCE

Detailed Description

Utility class to link KGraphElements to NamedInstances.

Author
Alexander Schulz-Rosengarten

Member Function Documentation

◆ getLinkedInstance()

NamedInstance<?> org.lflang.diagram.synthesis.util.NamedInstanceUtil.getLinkedInstance ( KGraphElement elem)
static

Returns the linked NamedInstance for the given KGraphElement.

◆ linkInstance()

IPropertyHolder org.lflang.diagram.synthesis.util.NamedInstanceUtil.linkInstance ( KGraphElement elem,
NamedInstance<?> instance )
static

Establishes a link between KGraphElement and NamedInstance.

Member Data Documentation

◆ LINKED_INSTANCE

final Property<NamedInstance<?> > org.lflang.diagram.synthesis.util.NamedInstanceUtil.LINKED_INSTANCE
static
Initial value:
=
new Property<>("org.lflang.linguafranca.diagram.synthesis.graph.instance")

The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/diagram/synthesis/util/NamedInstanceUtil.java