@blockml/bom 0.9.3 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/blocks/org/blockml/bml/bom/Library.bml +20 -28
  2. package/blocks/org/blockml/bml/bom/README.bml +14 -21
  3. package/blocks/org/blockml/bml/bom/UrmodellType.bml +16 -20
  4. package/blocks/org/blockml/bml/bom/api/ParseOptions.bml +19 -20
  5. package/blocks/org/blockml/bml/bom/api/ParseResult.bml +22 -21
  6. package/blocks/org/blockml/bml/bom/api/SerializeOptions.bml +19 -20
  7. package/blocks/org/blockml/bml/bom/api/SerializeResult.bml +22 -21
  8. package/blocks/org/blockml/bml/bom/api/TypeRegistryReader.bml +13 -17
  9. package/blocks/org/blockml/bml/bom/api/ValidateOptions.bml +25 -22
  10. package/blocks/org/blockml/bml/bom/api/ValidateResult.bml +22 -21
  11. package/blocks/org/blockml/bml/bom/block/AliasEntry.bml +28 -23
  12. package/blocks/org/blockml/bml/bom/block/BlockDefinition.bml +142 -57
  13. package/blocks/org/blockml/bml/bom/block/ChangelogEntry.bml +25 -22
  14. package/blocks/org/blockml/bml/bom/block/DocumentationExample.bml +34 -25
  15. package/blocks/org/blockml/bml/bom/block/DocumentationProseEntry.bml +28 -23
  16. package/blocks/org/blockml/bml/bom/block/DocumentationReference.bml +52 -31
  17. package/blocks/org/blockml/bml/bom/block/GenericType.bml +22 -21
  18. package/blocks/org/blockml/bml/bom/block/KeywordEntry.bml +28 -23
  19. package/blocks/org/blockml/bml/bom/block/TypeReferenceEntityInstance.bml +22 -21
  20. package/blocks/org/blockml/bml/bom/capability/BomEquals.bml +22 -21
  21. package/blocks/org/blockml/bml/bom/capability/StripProvenance.bml +19 -20
  22. package/blocks/org/blockml/bml/bom/common/CharacterDataForm.bml +16 -19
  23. package/blocks/org/blockml/bml/bom/common/Diagnostic.bml +25 -22
  24. package/blocks/org/blockml/bml/bom/common/DiagnosticSeverity.bml +16 -19
  25. package/blocks/org/blockml/bml/bom/common/EmptyElementForm.bml +16 -19
  26. package/blocks/org/blockml/bml/bom/common/HostValue.bml +13 -17
  27. package/blocks/org/blockml/bml/bom/common/MemberSectionName.bml +16 -19
  28. package/blocks/org/blockml/bml/bom/common/MetadataElementTrivia.bml +16 -19
  29. package/blocks/org/blockml/bml/bom/common/SourceInfo.bml +35 -23
  30. package/blocks/org/blockml/bml/bom/common/SourceLocation.bml +28 -23
  31. package/blocks/org/blockml/bml/bom/common/UnknownXmlNode.bml +28 -23
  32. package/blocks/org/blockml/bml/bom/common/XmlNodeKind.bml +16 -19
  33. package/blocks/org/blockml/bml/bom/common/XmlRenderingBlock.bml +16 -19
  34. package/blocks/org/blockml/bml/bom/common/XmlRenderingMember.bml +25 -22
  35. package/blocks/org/blockml/bml/bom/common/XmlTrivia.bml +19 -20
  36. package/blocks/org/blockml/bml/bom/composition/BlockInstance.bml +55 -32
  37. package/blocks/org/blockml/bml/bom/composition/BlockInstanceNode.bml +25 -22
  38. package/blocks/org/blockml/bml/bom/composition/CompositionNode.bml +16 -19
  39. package/blocks/org/blockml/bml/bom/composition/CompositionTemplate.bml +28 -23
  40. package/blocks/org/blockml/bml/bom/composition/DirectiveAttribute.bml +16 -19
  41. package/blocks/org/blockml/bml/bom/composition/EachDirective.bml +25 -22
  42. package/blocks/org/blockml/bml/bom/composition/GenericsBinding.bml +26 -23
  43. package/blocks/org/blockml/bml/bom/composition/IfDirective.bml +19 -20
  44. package/blocks/org/blockml/bml/bom/composition/InstanceAggregationComposition.bml +22 -21
  45. package/blocks/org/blockml/bml/bom/composition/UnlessDirective.bml +19 -20
  46. package/blocks/org/blockml/bml/bom/composition/VirtualContainerNode.bml +28 -23
  47. package/blocks/org/blockml/bml/bom/composition/WithBinding.bml +19 -20
  48. package/blocks/org/blockml/bml/bom/composition/WithDirective.bml +19 -20
  49. package/blocks/org/blockml/bml/bom/document/BomDocument.bml +25 -23
  50. package/blocks/org/blockml/bml/bom/documentation/AbstractionPrinciple.bml +16 -21
  51. package/blocks/org/blockml/bml/bom/documentation/ArchitectureOverview.bml +16 -21
  52. package/blocks/org/blockml/bml/bom/documentation/AuthoredSurfaceTable.bml +14 -17
  53. package/blocks/org/blockml/bml/bom/documentation/CalibratorExample.bml +19 -24
  54. package/blocks/org/blockml/bml/bom/documentation/CompositionDirectives.bml +16 -21
  55. package/blocks/org/blockml/bml/bom/documentation/DesignDecisions.bml +25 -29
  56. package/blocks/org/blockml/bml/bom/documentation/InstanceIdRules.bml +18 -22
  57. package/blocks/org/blockml/bml/bom/documentation/Introduction.bml +16 -21
  58. package/blocks/org/blockml/bml/bom/documentation/LayerSeparation.bml +17 -22
  59. package/blocks/org/blockml/bml/bom/documentation/MemberValueSemantics.bml +17 -22
  60. package/blocks/org/blockml/bml/bom/documentation/PackageOwnership.bml +24 -28
  61. package/blocks/org/blockml/bml/bom/documentation/PublicApi.bml +24 -27
  62. package/blocks/org/blockml/bml/bom/documentation/RelatedDiagnostics.bml +15 -19
  63. package/blocks/org/blockml/bml/bom/documentation/ScopeExclusions.bml +16 -20
  64. package/blocks/org/blockml/bml/bom/documentation/SubBlockAndEmbeddedBlocks.bml +17 -21
  65. package/blocks/org/blockml/bml/bom/documentation/TypeExpressionsOverview.bml +17 -22
  66. package/blocks/org/blockml/bml/bom/documentation/ValidationResponsibilities.bml +16 -21
  67. package/blocks/org/blockml/bml/bom/documentation/VersionRules.bml +16 -20
  68. package/blocks/org/blockml/bml/bom/documentation/XmlComments.bml +17 -21
  69. package/blocks/org/blockml/bml/bom/member/AggregationDefinition.bml +34 -25
  70. package/blocks/org/blockml/bml/bom/member/AssociationDefinition.bml +22 -21
  71. package/blocks/org/blockml/bml/bom/member/CapabilityDefinition.bml +37 -26
  72. package/blocks/org/blockml/bml/bom/member/ConstrainableDefinition.bml +16 -19
  73. package/blocks/org/blockml/bml/bom/member/EmbeddedExpression.bml +22 -21
  74. package/blocks/org/blockml/bml/bom/member/ImplementationBlock.bml +28 -23
  75. package/blocks/org/blockml/bml/bom/member/MemberDefinition.bml +16 -19
  76. package/blocks/org/blockml/bml/bom/member/MemberDefinitionBase.bml +79 -40
  77. package/blocks/org/blockml/bml/bom/member/PropertyDefinition.bml +37 -26
  78. package/blocks/org/blockml/bml/bom/member/PropertyValueEntry.bml +18 -21
  79. package/blocks/org/blockml/bml/bom/type/AnonymousStructType.bml +19 -20
  80. package/blocks/org/blockml/bml/bom/type/GenericParameterReference.bml +19 -20
  81. package/blocks/org/blockml/bml/bom/type/GroupedTypeExpression.bml +22 -21
  82. package/blocks/org/blockml/bml/bom/type/InstanceConfiguration.bml +19 -20
  83. package/blocks/org/blockml/bml/bom/type/Multiplicity.bml +19 -20
  84. package/blocks/org/blockml/bml/bom/type/NamedTypeReference.bml +28 -23
  85. package/blocks/org/blockml/bml/bom/type/SelfTypeReference.bml +16 -19
  86. package/blocks/org/blockml/bml/bom/type/StructField.bml +19 -20
  87. package/blocks/org/blockml/bml/bom/type/TypeDescriptor.bml +14 -19
  88. package/blocks/org/blockml/bml/bom/type/TypeExpression.bml +16 -19
  89. package/blocks/org/blockml/bml/bom/type/UnionTypeExpression.bml +19 -20
  90. package/blocks/org/blockml/bml/bom/value/Address.bml +31 -24
  91. package/blocks/org/blockml/bml/bom/value/AddressValue.bml +19 -20
  92. package/blocks/org/blockml/bml/bom/value/ExpressionValue.bml +25 -22
  93. package/blocks/org/blockml/bml/bom/value/InterpolatedTextValue.bml +26 -22
  94. package/blocks/org/blockml/bml/bom/value/LiteralValue.bml +25 -22
  95. package/blocks/org/blockml/bml/bom/value/MemberValue.bml +16 -19
  96. package/dist/types/block-definition.d.ts +10 -0
  97. package/dist/types/block-definition.d.ts.map +1 -1
  98. package/dist/types/common.d.ts +6 -0
  99. package/dist/types/common.d.ts.map +1 -1
  100. package/package.json +2 -2
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — PropertyValueEntry
3
- FQN: org.blockml.bml.bom.member.PropertyValueEntry
4
- -->
5
- <block
6
- xmlns="http://blockml.org/bml"
7
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
- xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
- "
1
+ <!--BOM Urmodell — PropertyValueEntry
2
+ FQN: org.blockml.bml.bom.member.PropertyValueEntry-->
3
+ <bommember:PropertyValueEntry xmlns="http://blockml.org/bml"
10
4
  xmlns:blockml="org.blockml.bml"
11
5
  xmlns:bom="org.blockml.bml.bom"
12
6
  xmlns:bomapi="org.blockml.bml.bom.api"
@@ -23,31 +17,34 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>PropertyValueEntry</name>
27
- <type>bommember:PropertyValueEntry</type>
28
- <baseType>bom:UrmodellType</baseType>
29
- <is>Namespaced property value entry</is>
30
-
20
+ <baseType>
21
+ bom:UrmodellType
22
+ </baseType>
23
+ <is>
24
+ Namespaced property value entry
25
+ </is>
31
26
  <documentation>
32
27
  Namespaced property value entry.
33
-
28
+
34
29
  - `namespace` `""` — canonical BML value (same lexical type as the property)
35
30
  - non-empty `namespace` — resolved Annotation FQN (for example `scad:value`);
36
31
  a target-language facet, not a second BML value
37
32
  - `PrimitiveType.parseValue` applies only to the canonical entry
38
-
33
+
39
34
  TODO: a prefixed value should carry its own type (for example `scad:type` for
40
35
  `scad:value`) so each facet can be validated in its target language. Today
41
36
  prefixed values are not validated.
42
37
  </documentation>
43
-
44
38
  <properties>
45
39
  <namespace type="type:Text">
46
- <documentation>"" = canonical value; else resolved Annotation FQN. Unique per PropertyDefinition. (required)</documentation>
40
+ <documentation>
41
+ "" = canonical value; else resolved Annotation FQN. Unique per PropertyDefinition. (required)
42
+ </documentation>
47
43
  </namespace>
48
44
  <value type="bomvalue:MemberValue">
49
- <documentation>value (required). TS type: bomvalue:MemberValue.</documentation>
45
+ <documentation>
46
+ value (required). TS type: bomvalue:MemberValue.
47
+ </documentation>
50
48
  </value>
51
49
  </properties>
52
-
53
- </block>
50
+ </bommember:PropertyValueEntry>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — AnonymousStructType
3
- FQN: org.blockml.bml.bom.type.AnonymousStructType
4
- -->
5
- <block
6
- xmlns="http://blockml.org/bml"
7
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
- xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
- "
1
+ <!--BOM Urmodell — AnonymousStructType
2
+ FQN: org.blockml.bml.bom.type.AnonymousStructType-->
3
+ <bomtype:AnonymousStructType xmlns="http://blockml.org/bml"
10
4
  xmlns:blockml="org.blockml.bml"
11
5
  xmlns:bom="org.blockml.bml.bom"
12
6
  xmlns:bomapi="org.blockml.bml.bom.api"
@@ -23,21 +17,26 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>AnonymousStructType</name>
27
- <type>bomtype:AnonymousStructType</type>
28
- <baseType>bomtype:TypeExpression</baseType>
29
- <is>Anonymous struct type expression</is>
30
-
31
- <documentation>Anonymous struct type expression</documentation>
32
-
20
+ <baseType>
21
+ bomtype:TypeExpression
22
+ </baseType>
23
+ <is>
24
+ Anonymous struct type expression
25
+ </is>
26
+ <documentation>
27
+ Anonymous struct type expression
28
+ </documentation>
33
29
  <properties>
34
30
  <kind type="type:Text">
35
- <documentation>kind (required). TS type: type:Text.</documentation>
31
+ <documentation>
32
+ kind (required). TS type: type:Text.
33
+ </documentation>
36
34
  <value>anonymousStruct</value>
37
35
  </kind>
38
36
  <fields type="bomtype:StructField[]">
39
- <documentation>fields (required). TS type: bomtype:StructField[].</documentation>
37
+ <documentation>
38
+ fields (required). TS type: bomtype:StructField[].
39
+ </documentation>
40
40
  </fields>
41
41
  </properties>
42
-
43
- </block>
42
+ </bomtype:AnonymousStructType>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — GenericParameterReference
3
- FQN: org.blockml.bml.bom.type.GenericParameterReference
4
- -->
5
- <block
6
- xmlns="http://blockml.org/bml"
7
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
- xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
- "
1
+ <!--BOM Urmodell — GenericParameterReference
2
+ FQN: org.blockml.bml.bom.type.GenericParameterReference-->
3
+ <bomtype:GenericParameterReference xmlns="http://blockml.org/bml"
10
4
  xmlns:blockml="org.blockml.bml"
11
5
  xmlns:bom="org.blockml.bml.bom"
12
6
  xmlns:bomapi="org.blockml.bml.bom.api"
@@ -23,21 +17,26 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>GenericParameterReference</name>
27
- <type>bomtype:GenericParameterReference</type>
28
- <baseType>bomtype:TypeExpression</baseType>
29
- <is>Generic parameter reference in type expression</is>
30
-
31
- <documentation>Generic parameter reference in type expression</documentation>
32
-
20
+ <baseType>
21
+ bomtype:TypeExpression
22
+ </baseType>
23
+ <is>
24
+ Generic parameter reference in type expression
25
+ </is>
26
+ <documentation>
27
+ Generic parameter reference in type expression
28
+ </documentation>
33
29
  <properties>
34
30
  <kind type="type:Text">
35
- <documentation>kind (required). TS type: type:Text.</documentation>
31
+ <documentation>
32
+ kind (required). TS type: type:Text.
33
+ </documentation>
36
34
  <value>genericParam</value>
37
35
  </kind>
38
36
  <name type="type:Text">
39
- <documentation>name (required). TS type: type:Text.</documentation>
37
+ <documentation>
38
+ name (required). TS type: type:Text.
39
+ </documentation>
40
40
  </name>
41
41
  </properties>
42
-
43
- </block>
42
+ </bomtype:GenericParameterReference>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — GroupedTypeExpression
3
- FQN: org.blockml.bml.bom.type.GroupedTypeExpression
4
- -->
5
- <block
6
- xmlns="http://blockml.org/bml"
7
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
- xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
- "
1
+ <!--BOM Urmodell — GroupedTypeExpression
2
+ FQN: org.blockml.bml.bom.type.GroupedTypeExpression-->
3
+ <bomtype:GroupedTypeExpression xmlns="http://blockml.org/bml"
10
4
  xmlns:blockml="org.blockml.bml"
11
5
  xmlns:bom="org.blockml.bml.bom"
12
6
  xmlns:bomapi="org.blockml.bml.bom.api"
@@ -23,24 +17,31 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>GroupedTypeExpression</name>
27
- <type>bomtype:GroupedTypeExpression</type>
28
- <baseType>bomtype:TypeExpression</baseType>
29
- <is>Parenthesized type expression with optional outer multiplicity</is>
30
-
31
- <documentation>Grouping wrapper for nested multiplicity, e.g. (T[])[] or (A | B)[]. Inner expression may itself carry multiplicity.</documentation>
32
-
20
+ <baseType>
21
+ bomtype:TypeExpression
22
+ </baseType>
23
+ <is>
24
+ Parenthesized type expression with optional outer multiplicity
25
+ </is>
26
+ <documentation>
27
+ Grouping wrapper for nested multiplicity, e.g. (T[])[] or (A | B)[]. Inner expression may itself carry multiplicity.
28
+ </documentation>
33
29
  <properties>
34
30
  <kind type="type:Text">
35
- <documentation>kind (required). TS type: type:Text.</documentation>
31
+ <documentation>
32
+ kind (required). TS type: type:Text.
33
+ </documentation>
36
34
  <value>grouped</value>
37
35
  </kind>
38
36
  <expression type="bomtype:TypeExpression">
39
- <documentation>expression (required). TS type: bomtype:TypeExpression.</documentation>
37
+ <documentation>
38
+ expression (required). TS type: bomtype:TypeExpression.
39
+ </documentation>
40
40
  </expression>
41
41
  <multiplicity type="bomtype:Multiplicity">
42
- <documentation>multiplicity (optional). TS type: bomtype:Multiplicity.</documentation>
42
+ <documentation>
43
+ multiplicity (optional). TS type: bomtype:Multiplicity.
44
+ </documentation>
43
45
  </multiplicity>
44
46
  </properties>
45
-
46
- </block>
47
+ </bomtype:GroupedTypeExpression>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — InstanceConfiguration
3
- FQN: org.blockml.bml.bom.type.InstanceConfiguration
4
- -->
5
- <block
6
- xmlns="http://blockml.org/bml"
7
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
- xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
- "
1
+ <!--BOM Urmodell — InstanceConfiguration
2
+ FQN: org.blockml.bml.bom.type.InstanceConfiguration-->
3
+ <bomtype:InstanceConfiguration xmlns="http://blockml.org/bml"
10
4
  xmlns:blockml="org.blockml.bml"
11
5
  xmlns:bom="org.blockml.bml.bom"
12
6
  xmlns:bomapi="org.blockml.bml.bom.api"
@@ -23,20 +17,25 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>InstanceConfiguration</name>
27
- <type>bomtype:InstanceConfiguration</type>
28
- <baseType>bom:UrmodellType</baseType>
29
- <is>ValueType instance configuration on a type reference</is>
30
-
31
- <documentation>ValueType instance configuration on a type reference</documentation>
32
-
20
+ <baseType>
21
+ bom:UrmodellType
22
+ </baseType>
23
+ <is>
24
+ ValueType instance configuration on a type reference
25
+ </is>
26
+ <documentation>
27
+ ValueType instance configuration on a type reference
28
+ </documentation>
33
29
  <properties>
34
30
  <named type="type:Text">
35
- <documentation>Map: ValueType property name → LiteralValue | ExpressionValue. (optional)</documentation>
31
+ <documentation>
32
+ Map: ValueType property name → LiteralValue | ExpressionValue. (optional)
33
+ </documentation>
36
34
  </named>
37
35
  <positional type="bomvalue:MemberValue[]">
38
- <documentation>positional (optional). TS type: bomvalue:MemberValue[].</documentation>
36
+ <documentation>
37
+ positional (optional). TS type: bomvalue:MemberValue[].
38
+ </documentation>
39
39
  </positional>
40
40
  </properties>
41
-
42
- </block>
41
+ </bomtype:InstanceConfiguration>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — Multiplicity
3
- FQN: org.blockml.bml.bom.type.Multiplicity
4
- -->
5
- <block
6
- xmlns="http://blockml.org/bml"
7
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
- xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
- "
1
+ <!--BOM Urmodell — Multiplicity
2
+ FQN: org.blockml.bml.bom.type.Multiplicity-->
3
+ <bomtype:Multiplicity xmlns="http://blockml.org/bml"
10
4
  xmlns:blockml="org.blockml.bml"
11
5
  xmlns:bom="org.blockml.bml.bom"
12
6
  xmlns:bomapi="org.blockml.bml.bom.api"
@@ -23,20 +17,25 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>Multiplicity</name>
27
- <type>bomtype:Multiplicity</type>
28
- <baseType>bom:UrmodellType</baseType>
29
- <is>Collection multiplicity on a type reference</is>
30
-
31
- <documentation>Collection multiplicity on a type reference</documentation>
32
-
20
+ <baseType>
21
+ bom:UrmodellType
22
+ </baseType>
23
+ <is>
24
+ Collection multiplicity on a type reference
25
+ </is>
26
+ <documentation>
27
+ Collection multiplicity on a type reference
28
+ </documentation>
33
29
  <properties>
34
30
  <min type="type:Integer">
35
- <documentation>min (required). TS type: type:Integer.</documentation>
31
+ <documentation>
32
+ min (required). TS type: type:Integer.
33
+ </documentation>
36
34
  </min>
37
35
  <max type="type:Text">
38
- <documentation>number or "*". (required)</documentation>
36
+ <documentation>
37
+ number or "*". (required)
38
+ </documentation>
39
39
  </max>
40
40
  </properties>
41
-
42
- </block>
41
+ </bomtype:Multiplicity>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — NamedTypeReference
3
- FQN: org.blockml.bml.bom.type.NamedTypeReference
4
- -->
5
- <block
6
- xmlns="http://blockml.org/bml"
7
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
- xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
- "
1
+ <!--BOM Urmodell — NamedTypeReference
2
+ FQN: org.blockml.bml.bom.type.NamedTypeReference-->
3
+ <bomtype:NamedTypeReference xmlns="http://blockml.org/bml"
10
4
  xmlns:blockml="org.blockml.bml"
11
5
  xmlns:bom="org.blockml.bml.bom"
12
6
  xmlns:bomapi="org.blockml.bml.bom.api"
@@ -23,30 +17,41 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>NamedTypeReference</name>
27
- <type>bomtype:NamedTypeReference</type>
28
- <baseType>bomtype:TypeExpression</baseType>
29
- <is>Named type reference expression</is>
30
-
31
- <documentation>Named type reference expression</documentation>
32
-
20
+ <baseType>
21
+ bomtype:TypeExpression
22
+ </baseType>
23
+ <is>
24
+ Named type reference expression
25
+ </is>
26
+ <documentation>
27
+ Named type reference expression
28
+ </documentation>
33
29
  <properties>
34
30
  <kind type="type:Text">
35
- <documentation>kind (required). TS type: type:Text.</documentation>
31
+ <documentation>
32
+ kind (required). TS type: type:Text.
33
+ </documentation>
36
34
  <value>named</value>
37
35
  </kind>
38
36
  <fqn type="type:Text">
39
- <documentation>fqn (required). TS type: type:Text.</documentation>
37
+ <documentation>
38
+ fqn (required). TS type: type:Text.
39
+ </documentation>
40
40
  </fqn>
41
41
  <typeArguments type="bomtype:TypeExpression[]">
42
- <documentation>typeArguments (optional). TS type: bomtype:TypeExpression[].</documentation>
42
+ <documentation>
43
+ typeArguments (optional). TS type: bomtype:TypeExpression[].
44
+ </documentation>
43
45
  </typeArguments>
44
46
  <instanceConfiguration type="bomtype:InstanceConfiguration">
45
- <documentation>instanceConfiguration (optional). TS type: bomtype:InstanceConfiguration.</documentation>
47
+ <documentation>
48
+ instanceConfiguration (optional). TS type: bomtype:InstanceConfiguration.
49
+ </documentation>
46
50
  </instanceConfiguration>
47
51
  <multiplicity type="bomtype:Multiplicity">
48
- <documentation>multiplicity (optional). TS type: bomtype:Multiplicity.</documentation>
52
+ <documentation>
53
+ multiplicity (optional). TS type: bomtype:Multiplicity.
54
+ </documentation>
49
55
  </multiplicity>
50
56
  </properties>
51
-
52
- </block>
57
+ </bomtype:NamedTypeReference>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — SelfTypeReference
3
- FQN: org.blockml.bml.bom.type.SelfTypeReference
4
- -->
5
- <block
6
- xmlns="http://blockml.org/bml"
7
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
- xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
- "
1
+ <!--BOM Urmodell — SelfTypeReference
2
+ FQN: org.blockml.bml.bom.type.SelfTypeReference-->
3
+ <bomtype:SelfTypeReference xmlns="http://blockml.org/bml"
10
4
  xmlns:blockml="org.blockml.bml"
11
5
  xmlns:bom="org.blockml.bml.bom"
12
6
  xmlns:bomapi="org.blockml.bml.bom.api"
@@ -23,18 +17,21 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>SelfTypeReference</name>
27
- <type>bomtype:SelfTypeReference</type>
28
- <baseType>bomtype:TypeExpression</baseType>
29
- <is>Self type reference (bml:Self)</is>
30
-
31
- <documentation>Self type reference (bml:Self)</documentation>
32
-
20
+ <baseType>
21
+ bomtype:TypeExpression
22
+ </baseType>
23
+ <is>
24
+ Self type reference (bml:Self)
25
+ </is>
26
+ <documentation>
27
+ Self type reference (bml:Self)
28
+ </documentation>
33
29
  <properties>
34
30
  <kind type="type:Text">
35
- <documentation>kind (required). TS type: type:Text.</documentation>
31
+ <documentation>
32
+ kind (required). TS type: type:Text.
33
+ </documentation>
36
34
  <value>self</value>
37
35
  </kind>
38
36
  </properties>
39
-
40
- </block>
37
+ </bomtype:SelfTypeReference>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — StructField
3
- FQN: org.blockml.bml.bom.type.StructField
4
- -->
5
- <block
6
- xmlns="http://blockml.org/bml"
7
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
- xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
- "
1
+ <!--BOM Urmodell — StructField
2
+ FQN: org.blockml.bml.bom.type.StructField-->
3
+ <bomtype:StructField xmlns="http://blockml.org/bml"
10
4
  xmlns:blockml="org.blockml.bml"
11
5
  xmlns:bom="org.blockml.bml.bom"
12
6
  xmlns:bomapi="org.blockml.bml.bom.api"
@@ -23,20 +17,25 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>StructField</name>
27
- <type>bomtype:StructField</type>
28
- <baseType>bom:UrmodellType</baseType>
29
- <is>Field in an anonymous struct type expression</is>
30
-
31
- <documentation>Field in an anonymous struct type expression</documentation>
32
-
20
+ <baseType>
21
+ bom:UrmodellType
22
+ </baseType>
23
+ <is>
24
+ Field in an anonymous struct type expression
25
+ </is>
26
+ <documentation>
27
+ Field in an anonymous struct type expression
28
+ </documentation>
33
29
  <properties>
34
30
  <name type="type:Text">
35
- <documentation>name (required). TS type: type:Text.</documentation>
31
+ <documentation>
32
+ name (required). TS type: type:Text.
33
+ </documentation>
36
34
  </name>
37
35
  <type type="bomtype:TypeExpression">
38
- <documentation>type (required). TS type: bomtype:TypeExpression.</documentation>
36
+ <documentation>
37
+ type (required). TS type: bomtype:TypeExpression.
38
+ </documentation>
39
39
  </type>
40
40
  </properties>
41
-
42
- </block>
41
+ </bomtype:StructField>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — TypeDescriptor
3
- FQN: org.blockml.bml.bom.type.TypeDescriptor
4
- -->
5
- <block
6
- xmlns="http://blockml.org/bml"
7
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
- xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
- "
1
+ <!--BOM Urmodell — TypeDescriptor
2
+ FQN: org.blockml.bml.bom.type.TypeDescriptor-->
3
+ <bomtype:TypeDescriptor xmlns="http://blockml.org/bml"
10
4
  xmlns:blockml="org.blockml.bml"
11
5
  xmlns:bom="org.blockml.bml.bom"
12
6
  xmlns:bomapi="org.blockml.bml.bom.api"
@@ -23,15 +17,16 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>TypeDescriptor</name>
27
- <type>bomtype:TypeDescriptor</type>
28
- <baseType>bomtype:TypeExpression</baseType>
29
- <is>V1 alias for TypeExpression</is>
30
-
31
- <documentation>Alias kept for Capability inputType/outputType. Same shape as TypeExpression.</documentation>
32
-
20
+ <baseType>
21
+ bomtype:TypeExpression
22
+ </baseType>
23
+ <is>
24
+ V1 alias for TypeExpression
25
+ </is>
26
+ <documentation>
27
+ Alias kept for Capability inputType/outputType. Same shape as TypeExpression.
28
+ </documentation>
33
29
  <aliases>
34
- <alias type="bomtype:TypeExpression" />
30
+ <blockml:meta.alias />
35
31
  </aliases>
36
-
37
- </block>
32
+ </bomtype:TypeDescriptor>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — TypeExpression
3
- FQN: org.blockml.bml.bom.type.TypeExpression
4
- -->
5
- <block
6
- xmlns="http://blockml.org/bml"
7
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
- xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
- "
1
+ <!--BOM Urmodell — TypeExpression
2
+ FQN: org.blockml.bml.bom.type.TypeExpression-->
3
+ <bomtype:TypeExpression xmlns="http://blockml.org/bml"
10
4
  xmlns:blockml="org.blockml.bml"
11
5
  xmlns:bom="org.blockml.bml.bom"
12
6
  xmlns:bomapi="org.blockml.bml.bom.api"
@@ -23,13 +17,16 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>TypeExpression</name>
27
- <type>bomtype:TypeExpression</type>
28
- <baseType>bom:UrmodellType</baseType>
29
- <is>Abstract parse-time type expression union</is>
30
-
31
- <documentation>Not a language ValueType. Parsed at map time into structured AST.</documentation>
32
-
33
- <abstract>true</abstract>
34
-
35
- </block>
20
+ <baseType>
21
+ bom:UrmodellType
22
+ </baseType>
23
+ <is>
24
+ Abstract parse-time type expression union
25
+ </is>
26
+ <documentation>
27
+ Not a language ValueType. Parsed at map time into structured AST.
28
+ </documentation>
29
+ <abstract>
30
+ true
31
+ </abstract>
32
+ </bomtype:TypeExpression>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — UnionTypeExpression
3
- FQN: org.blockml.bml.bom.type.UnionTypeExpression
4
- -->
5
- <block
6
- xmlns="http://blockml.org/bml"
7
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
- xsi:schemaLocation="http://blockml.org/bml https://blockml.org/schemas/bml.xsd
9
- "
1
+ <!--BOM Urmodell — UnionTypeExpression
2
+ FQN: org.blockml.bml.bom.type.UnionTypeExpression-->
3
+ <bomtype:UnionTypeExpression xmlns="http://blockml.org/bml"
10
4
  xmlns:blockml="org.blockml.bml"
11
5
  xmlns:bom="org.blockml.bml.bom"
12
6
  xmlns:bomapi="org.blockml.bml.bom.api"
@@ -23,21 +17,26 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>UnionTypeExpression</name>
27
- <type>bomtype:UnionTypeExpression</type>
28
- <baseType>bomtype:TypeExpression</baseType>
29
- <is>Union type expression</is>
30
-
31
- <documentation>Union type expression</documentation>
32
-
20
+ <baseType>
21
+ bomtype:TypeExpression
22
+ </baseType>
23
+ <is>
24
+ Union type expression
25
+ </is>
26
+ <documentation>
27
+ Union type expression
28
+ </documentation>
33
29
  <properties>
34
30
  <kind type="type:Text">
35
- <documentation>kind (required). TS type: type:Text.</documentation>
31
+ <documentation>
32
+ kind (required). TS type: type:Text.
33
+ </documentation>
36
34
  <value>union</value>
37
35
  </kind>
38
36
  <alternatives type="bomtype:TypeExpression[]">
39
- <documentation>alternatives (required). TS type: bomtype:TypeExpression[].</documentation>
37
+ <documentation>
38
+ alternatives (required). TS type: bomtype:TypeExpression[].
39
+ </documentation>
40
40
  </alternatives>
41
41
  </properties>
42
-
43
- </block>
42
+ </bomtype:UnionTypeExpression>