@blockml/bom 0.9.4 → 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 — SourceInfo
3
- FQN: org.blockml.bml.bom.common.SourceInfo
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 — SourceInfo
2
+ FQN: org.blockml.bml.bom.common.SourceInfo-->
3
+ <bomcommon:SourceInfo 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,29 +17,47 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>SourceInfo</name>
27
- <type>bomcommon:SourceInfo</type>
28
- <baseType>bom:UrmodellType</baseType>
29
- <is>Parse metadata for a BomDocument</is>
30
-
31
- <documentation>Document-level source metadata. namespaceBindings preserves authored xmlns order (B21).</documentation>
32
-
20
+ <baseType>
21
+ bom:UrmodellType
22
+ </baseType>
23
+ <is>
24
+ Parse metadata for a BomDocument
25
+ </is>
26
+ <documentation>
27
+ Document-level source metadata. namespaceBindings preserves authored xmlns order (B21).
28
+ rootForm records whether the document root was legacy block or a type-as-root tag
29
+ (doc:DocumentFormat) so serialize can re-emit the authored form.
30
+ </documentation>
33
31
  <properties>
34
32
  <filePath type="type:Text">
35
- <documentation>filePath (required). TS type: type:Text.</documentation>
33
+ <documentation>
34
+ filePath (required). TS type: type:Text.
35
+ </documentation>
36
36
  </filePath>
37
37
  <format type="type:Text">
38
- <documentation>Always "xml" for authoring. (required)</documentation>
38
+ <documentation>
39
+ Always "xml" for authoring. (required)
40
+ </documentation>
39
41
  </format>
40
42
  <namespaceBindings type="type:Text">
41
- <documentation>Map: prefix key ("" = default xmlns) → namespace identifier. (optional)</documentation>
43
+ <documentation>
44
+ Map: prefix key ("" = default xmlns) → namespace identifier. (optional)
45
+ </documentation>
42
46
  </namespaceBindings>
43
47
  <schemaLocation type="type:Text">
44
- <documentation>schemaLocation (optional). TS type: type:Text.</documentation>
48
+ <documentation>
49
+ schemaLocation (optional). TS type: type:Text.
50
+ </documentation>
45
51
  </schemaLocation>
46
52
  <noNamespaceSchemaLocation type="type:Text">
47
- <documentation>noNamespaceSchemaLocation (optional). TS type: type:Text.</documentation>
53
+ <documentation>
54
+ noNamespaceSchemaLocation (optional). TS type: type:Text.
55
+ </documentation>
48
56
  </noNamespaceSchemaLocation>
57
+ <rootForm type="type:Text">
58
+ <documentation>
59
+ Authored document root form: "block" (legacy) or "type" (type-as-root). TS type: type:Text. (optional)
60
+ </documentation>
61
+ </rootForm>
49
62
  </properties>
50
-
51
- </block>
63
+ </bomcommon:SourceInfo>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — SourceLocation
3
- FQN: org.blockml.bml.bom.common.SourceLocation
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 — SourceLocation
2
+ FQN: org.blockml.bml.bom.common.SourceLocation-->
3
+ <bomcommon:SourceLocation 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,29 +17,40 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>SourceLocation</name>
27
- <type>bomcommon:SourceLocation</type>
28
- <baseType>bom:UrmodellType</baseType>
29
- <is>BML source span for diagnostics and LSP</is>
30
-
31
- <documentation>Optional provenance attached by the parser. Stripped by stripProvenance() for B20 equality.</documentation>
32
-
20
+ <baseType>
21
+ bom:UrmodellType
22
+ </baseType>
23
+ <is>
24
+ BML source span for diagnostics and LSP
25
+ </is>
26
+ <documentation>
27
+ Optional provenance attached by the parser. Stripped by stripProvenance() for B20 equality.
28
+ </documentation>
33
29
  <properties>
34
30
  <file type="type:Text">
35
- <documentation>file (required). TS type: type:Text.</documentation>
31
+ <documentation>
32
+ file (required). TS type: type:Text.
33
+ </documentation>
36
34
  </file>
37
35
  <line type="type:Integer">
38
- <documentation>line (required). TS type: type:Integer.</documentation>
36
+ <documentation>
37
+ line (required). TS type: type:Integer.
38
+ </documentation>
39
39
  </line>
40
40
  <column type="type:Integer">
41
- <documentation>column (required). TS type: type:Integer.</documentation>
41
+ <documentation>
42
+ column (required). TS type: type:Integer.
43
+ </documentation>
42
44
  </column>
43
45
  <endLine type="type:Integer">
44
- <documentation>endLine (optional). TS type: type:Integer.</documentation>
46
+ <documentation>
47
+ endLine (optional). TS type: type:Integer.
48
+ </documentation>
45
49
  </endLine>
46
50
  <endColumn type="type:Integer">
47
- <documentation>endColumn (optional). TS type: type:Integer.</documentation>
51
+ <documentation>
52
+ endColumn (optional). TS type: type:Integer.
53
+ </documentation>
48
54
  </endColumn>
49
55
  </properties>
50
-
51
- </block>
56
+ </bomcommon:SourceLocation>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — UnknownXmlNode
3
- FQN: org.blockml.bml.bom.common.UnknownXmlNode
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 — UnknownXmlNode
2
+ FQN: org.blockml.bml.bom.common.UnknownXmlNode-->
3
+ <bomcommon:UnknownXmlNode 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,29 +17,40 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>UnknownXmlNode</name>
27
- <type>bomcommon:UnknownXmlNode</type>
28
- <baseType>bom:UrmodellType</baseType>
29
- <is>Preserve-on-error residual for an unknown authored XML element</is>
30
-
31
- <documentation>Stored when a structural BML error is reported so Format/LSP/serialize can roundtrip the authored construct.</documentation>
32
-
20
+ <baseType>
21
+ bom:UrmodellType
22
+ </baseType>
23
+ <is>
24
+ Preserve-on-error residual for an unknown authored XML element
25
+ </is>
26
+ <documentation>
27
+ Stored when a structural BML error is reported so Format/LSP/serialize can roundtrip the authored construct.
28
+ </documentation>
33
29
  <properties>
34
30
  <localName type="type:Text">
35
- <documentation>localName (required). TS type: type:Text.</documentation>
31
+ <documentation>
32
+ localName (required). TS type: type:Text.
33
+ </documentation>
36
34
  </localName>
37
35
  <prefix type="type:Text">
38
- <documentation>prefix (optional). TS type: type:Text.</documentation>
36
+ <documentation>
37
+ prefix (optional). TS type: type:Text.
38
+ </documentation>
39
39
  </prefix>
40
40
  <attributes type="type:Text">
41
- <documentation>Record of authored attribute name → value. (required)</documentation>
41
+ <documentation>
42
+ Record of authored attribute name → value. (required)
43
+ </documentation>
42
44
  </attributes>
43
45
  <innerXml type="type:Text">
44
- <documentation>innerXml (optional). TS type: type:Text.</documentation>
46
+ <documentation>
47
+ innerXml (optional). TS type: type:Text.
48
+ </documentation>
45
49
  </innerXml>
46
50
  <source type="bomcommon:SourceLocation">
47
- <documentation>source (optional). TS type: bomcommon:SourceLocation.</documentation>
51
+ <documentation>
52
+ source (optional). TS type: bomcommon:SourceLocation.
53
+ </documentation>
48
54
  </source>
49
55
  </properties>
50
-
51
- </block>
56
+ </bomcommon:UnknownXmlNode>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — XmlNodeKind
3
- FQN: org.blockml.bml.bom.common.XmlNodeKind
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 — XmlNodeKind
2
+ FQN: org.blockml.bml.bom.common.XmlNodeKind-->
3
+ <bomcommon:XmlNodeKind 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,17 +17,20 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>XmlNodeKind</name>
27
- <type>bomcommon:XmlNodeKind</type>
28
- <baseType>bom:UrmodellType</baseType>
29
- <is>XML node placement kind</is>
30
-
31
- <documentation>String-literal union: "attribute" | "element" | "text".</documentation>
32
-
20
+ <baseType>
21
+ bom:UrmodellType
22
+ </baseType>
23
+ <is>
24
+ XML node placement kind
25
+ </is>
26
+ <documentation>
27
+ String-literal union: "attribute" | "element" | "text".
28
+ </documentation>
33
29
  <properties>
34
30
  <value type="type:Text">
35
- <documentation>value (required). TS type: type:Text.</documentation>
31
+ <documentation>
32
+ value (required). TS type: type:Text.
33
+ </documentation>
36
34
  </value>
37
35
  </properties>
38
-
39
- </block>
36
+ </bomcommon:XmlNodeKind>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — XmlRenderingBlock
3
- FQN: org.blockml.bml.bom.common.XmlRenderingBlock
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 — XmlRenderingBlock
2
+ FQN: org.blockml.bml.bom.common.XmlRenderingBlock-->
3
+ <bomcommon:XmlRenderingBlock 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,17 +17,20 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>XmlRenderingBlock</name>
27
- <type>bomcommon:XmlRenderingBlock</type>
28
- <baseType>bom:UrmodellType</baseType>
29
- <is>Block-level bml:xml rendering recipe</is>
30
-
31
- <documentation>First-class xmlRendering — not flow-control directives[]. Lossless raw body.</documentation>
32
-
20
+ <baseType>
21
+ bom:UrmodellType
22
+ </baseType>
23
+ <is>
24
+ Block-level bml:xml rendering recipe
25
+ </is>
26
+ <documentation>
27
+ First-class xmlRendering — not flow-control directives[]. Lossless raw body.
28
+ </documentation>
33
29
  <properties>
34
30
  <raw type="type:Text">
35
- <documentation>raw (required). TS type: type:Text.</documentation>
31
+ <documentation>
32
+ raw (required). TS type: type:Text.
33
+ </documentation>
36
34
  </raw>
37
35
  </properties>
38
-
39
- </block>
36
+ </bomcommon:XmlRenderingBlock>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — XmlRenderingMember
3
- FQN: org.blockml.bml.bom.common.XmlRenderingMember
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 — XmlRenderingMember
2
+ FQN: org.blockml.bml.bom.common.XmlRenderingMember-->
3
+ <bomcommon:XmlRenderingMember 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,26 +17,35 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>XmlRenderingMember</name>
27
- <type>bomcommon:XmlRenderingMember</type>
28
- <baseType>bom:UrmodellType</baseType>
29
- <is>Member-level bml:xml rendering hints</is>
30
-
31
- <documentation>Lossless raw value plus emit hints for dual placement (D9) and CDATA form (D8).</documentation>
32
-
20
+ <baseType>
21
+ bom:UrmodellType
22
+ </baseType>
23
+ <is>
24
+ Member-level bml:xml rendering hints
25
+ </is>
26
+ <documentation>
27
+ Lossless raw value plus emit hints for dual placement (D9) and CDATA form (D8).
28
+ </documentation>
33
29
  <properties>
34
30
  <raw type="type:Text">
35
- <documentation>raw (optional). TS type: type:Text.</documentation>
31
+ <documentation>
32
+ raw (optional). TS type: type:Text.
33
+ </documentation>
36
34
  </raw>
37
35
  <kinds type="bomcommon:XmlNodeKind[]">
38
- <documentation>kinds (required). TS type: bomcommon:XmlNodeKind[].</documentation>
36
+ <documentation>
37
+ kinds (required). TS type: bomcommon:XmlNodeKind[].
38
+ </documentation>
39
39
  </kinds>
40
40
  <authoredPlacement type="bomcommon:XmlNodeKind">
41
- <documentation>authoredPlacement (optional). TS type: bomcommon:XmlNodeKind.</documentation>
41
+ <documentation>
42
+ authoredPlacement (optional). TS type: bomcommon:XmlNodeKind.
43
+ </documentation>
42
44
  </authoredPlacement>
43
45
  <authoredCharacterDataForm type="bomcommon:CharacterDataForm">
44
- <documentation>authoredCharacterDataForm (optional). TS type: bomcommon:CharacterDataForm.</documentation>
46
+ <documentation>
47
+ authoredCharacterDataForm (optional). TS type: bomcommon:CharacterDataForm.
48
+ </documentation>
45
49
  </authoredCharacterDataForm>
46
50
  </properties>
47
-
48
- </block>
51
+ </bomcommon:XmlRenderingMember>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — XmlTrivia
3
- FQN: org.blockml.bml.bom.common.XmlTrivia
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 — XmlTrivia
2
+ FQN: org.blockml.bml.bom.common.XmlTrivia-->
3
+ <bomcommon:XmlTrivia 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>XmlTrivia</name>
27
- <type>bomcommon:XmlTrivia</type>
28
- <baseType>bom:UrmodellType</baseType>
29
- <is>XML comment trivia bound to an element (B11)</is>
30
-
31
- <documentation><![CDATA[Comment bodies only — without <!-- / -->. Bound to the following XML element.]]></documentation>
32
-
20
+ <baseType>
21
+ bom:UrmodellType
22
+ </baseType>
23
+ <is>
24
+ XML comment trivia bound to an element (B11)
25
+ </is>
26
+ <documentation>
27
+ <![CDATA[Comment bodies only — without <!-- / -->. Bound to the following XML element.]]>
28
+ </documentation>
33
29
  <properties>
34
30
  <leadingComments type="type:Text[]">
35
- <documentation>leadingComments (optional). TS type: type:Text[].</documentation>
31
+ <documentation>
32
+ leadingComments (optional). TS type: type:Text[].
33
+ </documentation>
36
34
  </leadingComments>
37
35
  <trailingComments type="type:Text[]">
38
- <documentation>trailingComments (optional). TS type: type:Text[].</documentation>
36
+ <documentation>
37
+ trailingComments (optional). TS type: type:Text[].
38
+ </documentation>
39
39
  </trailingComments>
40
40
  </properties>
41
-
42
- </block>
41
+ </bomcommon:XmlTrivia>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — BlockInstance
3
- FQN: org.blockml.bml.bom.composition.BlockInstance
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 — BlockInstance
2
+ FQN: org.blockml.bml.bom.composition.BlockInstance-->
3
+ <bomcomp:BlockInstance 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,56 +17,85 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>BlockInstance</name>
27
- <type>bomcomp:BlockInstance</type>
28
- <baseType>bom:UrmodellType</baseType>
29
- <is>Concrete child block in a composition</is>
30
-
31
- <documentation>Concrete child block in a composition</documentation>
32
-
20
+ <baseType>
21
+ bom:UrmodellType
22
+ </baseType>
23
+ <is>
24
+ Concrete child block in a composition
25
+ </is>
26
+ <documentation>
27
+ Concrete child block in a composition
28
+ </documentation>
33
29
  <properties>
34
30
  <typeFqn type="type:Text">
35
- <documentation>typeFqn (required). TS type: type:Text.</documentation>
31
+ <documentation>
32
+ typeFqn (required). TS type: type:Text.
33
+ </documentation>
36
34
  </typeFqn>
37
35
  <id type="bomvalue:MemberValue">
38
- <documentation>id (optional). TS type: bomvalue:MemberValue.</documentation>
36
+ <documentation>
37
+ id (optional). TS type: bomvalue:MemberValue.
38
+ </documentation>
39
39
  </id>
40
40
  <version type="bomvalue:MemberValue">
41
- <documentation>version (optional). TS type: bomvalue:MemberValue.</documentation>
41
+ <documentation>
42
+ version (optional). TS type: bomvalue:MemberValue.
43
+ </documentation>
42
44
  </version>
43
45
  <bean type="bomvalue:MemberValue">
44
- <documentation>bean (optional). TS type: bomvalue:MemberValue.</documentation>
46
+ <documentation>
47
+ bean (optional). TS type: bomvalue:MemberValue.
48
+ </documentation>
45
49
  </bean>
46
50
  <scope type="type:Text">
47
- <documentation>"local" | "context". (optional)</documentation>
51
+ <documentation>
52
+ "local" | "context". (optional)
53
+ </documentation>
48
54
  </scope>
49
55
  <generics type="bomcomp:GenericsBinding">
50
- <documentation>Authored bml:generics on this instance. Binds genericTypes; overrides defaultType. (optional)</documentation>
56
+ <documentation>
57
+ Authored bml:generics on this instance. Binds genericTypes; overrides defaultType. (optional)
58
+ </documentation>
51
59
  </generics>
52
60
  <basePresets type="type:Text">
53
- <documentation>basePresets (optional). TS type: type:Text.</documentation>
61
+ <documentation>
62
+ basePresets (optional). TS type: type:Text.
63
+ </documentation>
54
64
  </basePresets>
55
65
  <renderGroup type="type:Text">
56
- <documentation>renderGroup (optional). TS type: type:Text.</documentation>
66
+ <documentation>
67
+ renderGroup (optional). TS type: type:Text.
68
+ </documentation>
57
69
  </renderGroup>
58
70
  <namespace type="type:Text">
59
- <documentation>namespace (optional). TS type: type:Text.</documentation>
71
+ <documentation>
72
+ namespace (optional). TS type: type:Text.
73
+ </documentation>
60
74
  </namespace>
61
75
  <memberValues type="type:Text">
62
- <documentation>Record&lt;string, MemberValue>. (required)</documentation>
76
+ <documentation>
77
+ Record&lt;string, MemberValue>. (required)
78
+ </documentation>
63
79
  </memberValues>
64
80
  <aggregationCompositions type="bomcomp:InstanceAggregationComposition[]">
65
- <documentation>aggregationCompositions (optional). TS type: bomcomp:InstanceAggregationComposition[].</documentation>
81
+ <documentation>
82
+ aggregationCompositions (optional). TS type: bomcomp:InstanceAggregationComposition[].
83
+ </documentation>
66
84
  </aggregationCompositions>
67
85
  <xmlTrivia type="bomcommon:XmlTrivia">
68
- <documentation>xmlTrivia (optional). TS type: bomcommon:XmlTrivia.</documentation>
86
+ <documentation>
87
+ xmlTrivia (optional). TS type: bomcommon:XmlTrivia.
88
+ </documentation>
69
89
  </xmlTrivia>
70
90
  <source type="bomcommon:SourceLocation">
71
- <documentation>source (optional). TS type: bomcommon:SourceLocation.</documentation>
91
+ <documentation>
92
+ source (optional). TS type: bomcommon:SourceLocation.
93
+ </documentation>
72
94
  </source>
73
95
  <unknownAttributes type="type:Text">
74
- <documentation>Unknown bml:* attributes preserved for roundtrip. (optional)</documentation>
96
+ <documentation>
97
+ Unknown bml:* attributes preserved for roundtrip. (optional)
98
+ </documentation>
75
99
  </unknownAttributes>
76
100
  </properties>
77
-
78
- </block>
101
+ </bomcomp:BlockInstance>
@@ -1,12 +1,6 @@
1
- <!--
2
- BOM Urmodell — BlockInstanceNode
3
- FQN: org.blockml.bml.bom.composition.BlockInstanceNode
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 — BlockInstanceNode
2
+ FQN: org.blockml.bml.bom.composition.BlockInstanceNode-->
3
+ <bomcomp:BlockInstanceNode 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,27 +17,36 @@
23
17
  xmlns:def="org.blockml.bml.definition"
24
18
  xmlns:type="org.blockml.bml.type">
25
19
 
26
- <name>BlockInstanceNode</name>
27
- <type>bomcomp:BlockInstanceNode</type>
28
- <baseType>bomcomp:CompositionNode</baseType>
29
- <is>Composition node wrapping a BlockInstance (kind: blockInstance)</is>
30
-
31
- <documentation>Composition node wrapping a BlockInstance (kind: blockInstance)</documentation>
32
-
20
+ <baseType>
21
+ bomcomp:CompositionNode
22
+ </baseType>
23
+ <is>
24
+ Composition node wrapping a BlockInstance (kind: blockInstance)
25
+ </is>
26
+ <documentation>
27
+ Composition node wrapping a BlockInstance (kind: blockInstance)
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>blockInstance</value>
37
35
  </kind>
38
36
  <instance type="bomcomp:BlockInstance">
39
- <documentation>instance (required). TS type: bomcomp:BlockInstance.</documentation>
37
+ <documentation>
38
+ instance (required). TS type: bomcomp:BlockInstance.
39
+ </documentation>
40
40
  </instance>
41
41
  <directives type="bomcomp:DirectiveAttribute[]">
42
- <documentation>directives (optional). TS type: bomcomp:DirectiveAttribute[].</documentation>
42
+ <documentation>
43
+ directives (optional). TS type: bomcomp:DirectiveAttribute[].
44
+ </documentation>
43
45
  </directives>
44
46
  <source type="bomcommon:SourceLocation">
45
- <documentation>source (optional). TS type: bomcommon:SourceLocation.</documentation>
47
+ <documentation>
48
+ source (optional). TS type: bomcommon:SourceLocation.
49
+ </documentation>
46
50
  </source>
47
51
  </properties>
48
-
49
- </block>
52
+ </bomcomp:BlockInstanceNode>