Code Index Coco Positions¶
-
AnyValue
¶ One Of:
-
ArrayValue
¶ All Of: Value –
Properties: - kind ("ArrayValue") –
- items (Array[AnyValue]) –
-
Attribute
¶ A single attribute in a Coco file, e.g. @runtime(.SingleThreaded).
Properties: - arguments (Array[RenderedValue]) – The arguments to the attribute (e.g. .SingleThreaded).
- decl (Object) – The declaration of the attribute (e.g. Base.runtime).
-
Value
¶ Properties: kind (String) –
-
CocoDeclRef
¶ Properties: - fully_qualified_name (String) –
- name (String) –
-
CocoExtendedKind
¶ Enum: ExternalComponentSignalSender, PortField, ProvidedPortAccessor
-
CocoModuleKind
¶ Enum: Normal, Test
-
CocoParameterKind
¶ Enum: ImmutableReference, MutableReference, OutReference, Value
-
CocoPosition
¶ Gives details on the Coco declaration from which a declaration in the generated code came from.
Properties: - fully_qualified_name (String) – The fully-qualified name of the Coco construct from which this declaration was generated (e.g. Module.Decl.Child).
- kind (String) – The kind od Coco declaration from which this was generated.
- name (String) – The unqualified name of the Coco construct from which this declaration was generated (e.g. Child).
- extended_kind (CocoExtendedKind) –
- component_kind (String) –
- module_kind (CocoModuleKind) –
- parameter_kind (CocoParameterKind) –
- attributes (Array[Attribute]) – The attributes that were applied to this declaration in Coco.
-
EnumValue
¶ All Of: Value – Properties: decl (CocoDeclRef) –
-
TaggedUnionEnumValue
¶ All Of: Properties: - kind ("TaggedUnionEnumValue") –
- arguments (Array[AnyValue]) –