@blockml/bom 0.9.4 → 0.9.6
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.
- package/blocks/org/blockml/bml/bom/Library.bml +20 -28
- package/blocks/org/blockml/bml/bom/README.bml +14 -21
- package/blocks/org/blockml/bml/bom/UrmodellType.bml +16 -20
- package/blocks/org/blockml/bml/bom/api/ParseOptions.bml +19 -20
- package/blocks/org/blockml/bml/bom/api/ParseResult.bml +22 -21
- package/blocks/org/blockml/bml/bom/api/SerializeOptions.bml +19 -20
- package/blocks/org/blockml/bml/bom/api/SerializeResult.bml +22 -21
- package/blocks/org/blockml/bml/bom/api/TypeRegistryReader.bml +13 -17
- package/blocks/org/blockml/bml/bom/api/ValidateOptions.bml +25 -22
- package/blocks/org/blockml/bml/bom/api/ValidateResult.bml +22 -21
- package/blocks/org/blockml/bml/bom/block/AliasEntry.bml +28 -23
- package/blocks/org/blockml/bml/bom/block/BlockDefinition.bml +142 -57
- package/blocks/org/blockml/bml/bom/block/ChangelogEntry.bml +25 -22
- package/blocks/org/blockml/bml/bom/block/DocumentationExample.bml +34 -25
- package/blocks/org/blockml/bml/bom/block/DocumentationProseEntry.bml +28 -23
- package/blocks/org/blockml/bml/bom/block/DocumentationReference.bml +52 -31
- package/blocks/org/blockml/bml/bom/block/GenericType.bml +22 -21
- package/blocks/org/blockml/bml/bom/block/KeywordEntry.bml +28 -23
- package/blocks/org/blockml/bml/bom/block/TypeReferenceEntityInstance.bml +22 -21
- package/blocks/org/blockml/bml/bom/capability/BomEquals.bml +22 -21
- package/blocks/org/blockml/bml/bom/capability/StripProvenance.bml +19 -20
- package/blocks/org/blockml/bml/bom/common/CharacterDataForm.bml +16 -19
- package/blocks/org/blockml/bml/bom/common/Diagnostic.bml +25 -22
- package/blocks/org/blockml/bml/bom/common/DiagnosticSeverity.bml +16 -19
- package/blocks/org/blockml/bml/bom/common/EmptyElementForm.bml +16 -19
- package/blocks/org/blockml/bml/bom/common/HostValue.bml +13 -17
- package/blocks/org/blockml/bml/bom/common/MemberSectionName.bml +16 -19
- package/blocks/org/blockml/bml/bom/common/MetadataElementTrivia.bml +16 -19
- package/blocks/org/blockml/bml/bom/common/SourceInfo.bml +35 -23
- package/blocks/org/blockml/bml/bom/common/SourceLocation.bml +28 -23
- package/blocks/org/blockml/bml/bom/common/UnknownXmlNode.bml +28 -23
- package/blocks/org/blockml/bml/bom/common/XmlNodeKind.bml +16 -19
- package/blocks/org/blockml/bml/bom/common/XmlRenderingBlock.bml +16 -19
- package/blocks/org/blockml/bml/bom/common/XmlRenderingMember.bml +25 -22
- package/blocks/org/blockml/bml/bom/common/XmlTrivia.bml +19 -20
- package/blocks/org/blockml/bml/bom/composition/BlockInstance.bml +55 -32
- package/blocks/org/blockml/bml/bom/composition/BlockInstanceNode.bml +25 -22
- package/blocks/org/blockml/bml/bom/composition/CompositionNode.bml +16 -19
- package/blocks/org/blockml/bml/bom/composition/CompositionTemplate.bml +28 -23
- package/blocks/org/blockml/bml/bom/composition/DirectiveAttribute.bml +16 -19
- package/blocks/org/blockml/bml/bom/composition/EachDirective.bml +25 -22
- package/blocks/org/blockml/bml/bom/composition/GenericsBinding.bml +26 -23
- package/blocks/org/blockml/bml/bom/composition/IfDirective.bml +19 -20
- package/blocks/org/blockml/bml/bom/composition/InstanceAggregationComposition.bml +22 -21
- package/blocks/org/blockml/bml/bom/composition/UnlessDirective.bml +19 -20
- package/blocks/org/blockml/bml/bom/composition/VirtualContainerNode.bml +28 -23
- package/blocks/org/blockml/bml/bom/composition/WithBinding.bml +19 -20
- package/blocks/org/blockml/bml/bom/composition/WithDirective.bml +19 -20
- package/blocks/org/blockml/bml/bom/document/BomDocument.bml +25 -23
- package/blocks/org/blockml/bml/bom/documentation/AbstractionPrinciple.bml +16 -21
- package/blocks/org/blockml/bml/bom/documentation/ArchitectureOverview.bml +16 -21
- package/blocks/org/blockml/bml/bom/documentation/AuthoredSurfaceTable.bml +14 -17
- package/blocks/org/blockml/bml/bom/documentation/CalibratorExample.bml +19 -24
- package/blocks/org/blockml/bml/bom/documentation/CompositionDirectives.bml +16 -21
- package/blocks/org/blockml/bml/bom/documentation/DesignDecisions.bml +25 -29
- package/blocks/org/blockml/bml/bom/documentation/InstanceIdRules.bml +18 -22
- package/blocks/org/blockml/bml/bom/documentation/Introduction.bml +16 -21
- package/blocks/org/blockml/bml/bom/documentation/LayerSeparation.bml +17 -22
- package/blocks/org/blockml/bml/bom/documentation/MemberValueSemantics.bml +20 -22
- package/blocks/org/blockml/bml/bom/documentation/PackageOwnership.bml +24 -28
- package/blocks/org/blockml/bml/bom/documentation/PublicApi.bml +24 -27
- package/blocks/org/blockml/bml/bom/documentation/RelatedDiagnostics.bml +15 -19
- package/blocks/org/blockml/bml/bom/documentation/ScopeExclusions.bml +16 -20
- package/blocks/org/blockml/bml/bom/documentation/SubBlockAndEmbeddedBlocks.bml +17 -21
- package/blocks/org/blockml/bml/bom/documentation/TypeExpressionsOverview.bml +17 -22
- package/blocks/org/blockml/bml/bom/documentation/ValidationResponsibilities.bml +16 -21
- package/blocks/org/blockml/bml/bom/documentation/VersionRules.bml +16 -20
- package/blocks/org/blockml/bml/bom/documentation/XmlComments.bml +17 -21
- package/blocks/org/blockml/bml/bom/member/AggregationDefinition.bml +34 -25
- package/blocks/org/blockml/bml/bom/member/AssociationDefinition.bml +22 -21
- package/blocks/org/blockml/bml/bom/member/CapabilityDefinition.bml +37 -26
- package/blocks/org/blockml/bml/bom/member/ConstrainableDefinition.bml +16 -19
- package/blocks/org/blockml/bml/bom/member/EmbeddedExpression.bml +22 -21
- package/blocks/org/blockml/bml/bom/member/ImplementationBlock.bml +28 -23
- package/blocks/org/blockml/bml/bom/member/MemberDefinition.bml +16 -19
- package/blocks/org/blockml/bml/bom/member/MemberDefinitionBase.bml +79 -40
- package/blocks/org/blockml/bml/bom/member/PropertyDefinition.bml +37 -26
- package/blocks/org/blockml/bml/bom/member/PropertyValueEntry.bml +18 -21
- package/blocks/org/blockml/bml/bom/type/AnonymousStructType.bml +19 -20
- package/blocks/org/blockml/bml/bom/type/GenericParameterReference.bml +19 -20
- package/blocks/org/blockml/bml/bom/type/GroupedTypeExpression.bml +22 -21
- package/blocks/org/blockml/bml/bom/type/InstanceConfiguration.bml +19 -20
- package/blocks/org/blockml/bml/bom/type/Multiplicity.bml +19 -20
- package/blocks/org/blockml/bml/bom/type/NamedTypeReference.bml +28 -23
- package/blocks/org/blockml/bml/bom/type/SelfTypeReference.bml +16 -19
- package/blocks/org/blockml/bml/bom/type/StructField.bml +19 -20
- package/blocks/org/blockml/bml/bom/type/TypeDescriptor.bml +14 -19
- package/blocks/org/blockml/bml/bom/type/TypeExpression.bml +16 -19
- package/blocks/org/blockml/bml/bom/type/UnionTypeExpression.bml +19 -20
- package/blocks/org/blockml/bml/bom/value/Address.bml +31 -24
- package/blocks/org/blockml/bml/bom/value/AddressValue.bml +19 -20
- package/blocks/org/blockml/bml/bom/value/ExpressionValue.bml +25 -22
- package/blocks/org/blockml/bml/bom/value/InterpolatedTextValue.bml +26 -22
- package/blocks/org/blockml/bml/bom/value/LiteralValue.bml +25 -22
- package/blocks/org/blockml/bml/bom/value/MemberValue.bml +16 -19
- package/dist/types/block-definition.d.ts +10 -0
- package/dist/types/block-definition.d.ts.map +1 -1
- package/dist/types/common.d.ts +6 -0
- package/dist/types/common.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<is>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
|
|
3
|
-
|
|
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
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<is>
|
|
30
|
-
|
|
31
|
-
|
|
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>
|
|
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>
|
|
37
|
+
<documentation>
|
|
38
|
+
alternatives (required). TS type: bomtype:TypeExpression[].
|
|
39
|
+
</documentation>
|
|
40
40
|
</alternatives>
|
|
41
41
|
</properties>
|
|
42
|
-
|
|
43
|
-
</block>
|
|
42
|
+
</bomtype:UnionTypeExpression>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
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 — Address
|
|
2
|
+
FQN: org.blockml.bml.bom.value.Address-->
|
|
3
|
+
<bomvalue:Address 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,32 +17,45 @@
|
|
|
23
17
|
xmlns:def="org.blockml.bml.definition"
|
|
24
18
|
xmlns:type="org.blockml.bml.type">
|
|
25
19
|
|
|
26
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<is>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
<baseType>
|
|
21
|
+
bom:UrmodellType
|
|
22
|
+
</baseType>
|
|
23
|
+
<is>
|
|
24
|
+
Parsed org.blockml.bml.type.Address shape
|
|
25
|
+
</is>
|
|
26
|
+
<documentation>
|
|
27
|
+
BOM projection of Address ValueType — see @blockml/core type/Address.bml.
|
|
28
|
+
</documentation>
|
|
33
29
|
<properties>
|
|
34
30
|
<raw type="type:Text">
|
|
35
|
-
<documentation>
|
|
31
|
+
<documentation>
|
|
32
|
+
raw (required). TS type: type:Text.
|
|
33
|
+
</documentation>
|
|
36
34
|
</raw>
|
|
37
35
|
<scheme type="type:Text">
|
|
38
|
-
<documentation>
|
|
36
|
+
<documentation>
|
|
37
|
+
string | null in TS — required field, nullable value. (required)
|
|
38
|
+
</documentation>
|
|
39
39
|
</scheme>
|
|
40
40
|
<path type="type:Text">
|
|
41
|
-
<documentation>
|
|
41
|
+
<documentation>
|
|
42
|
+
path (required). TS type: type:Text.
|
|
43
|
+
</documentation>
|
|
42
44
|
</path>
|
|
43
45
|
<isAbsolute type="type:Boolean">
|
|
44
|
-
<documentation>
|
|
46
|
+
<documentation>
|
|
47
|
+
isAbsolute (required). TS type: type:Boolean.
|
|
48
|
+
</documentation>
|
|
45
49
|
</isAbsolute>
|
|
46
50
|
<isRelative type="type:Boolean">
|
|
47
|
-
<documentation>
|
|
51
|
+
<documentation>
|
|
52
|
+
isRelative (required). TS type: type:Boolean.
|
|
53
|
+
</documentation>
|
|
48
54
|
</isRelative>
|
|
49
55
|
<isExpression type="type:Boolean">
|
|
50
|
-
<documentation>
|
|
56
|
+
<documentation>
|
|
57
|
+
isExpression (required). TS type: type:Boolean.
|
|
58
|
+
</documentation>
|
|
51
59
|
</isExpression>
|
|
52
60
|
</properties>
|
|
53
|
-
|
|
54
|
-
</block>
|
|
61
|
+
</bomvalue:Address>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
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 — AddressValue
|
|
2
|
+
FQN: org.blockml.bml.bom.value.AddressValue-->
|
|
3
|
+
<bomvalue:AddressValue 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
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<is>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
<baseType>
|
|
21
|
+
bomvalue:MemberValue
|
|
22
|
+
</baseType>
|
|
23
|
+
<is>
|
|
24
|
+
Parsed Address member value
|
|
25
|
+
</is>
|
|
26
|
+
<documentation>
|
|
27
|
+
Parsed Address member value
|
|
28
|
+
</documentation>
|
|
33
29
|
<properties>
|
|
34
30
|
<kind type="type:Text">
|
|
35
|
-
<documentation>
|
|
31
|
+
<documentation>
|
|
32
|
+
kind (required). TS type: type:Text.
|
|
33
|
+
</documentation>
|
|
36
34
|
<value>address</value>
|
|
37
35
|
</kind>
|
|
38
36
|
<address type="bomvalue:Address">
|
|
39
|
-
<documentation>
|
|
37
|
+
<documentation>
|
|
38
|
+
address (required). TS type: bomvalue:Address.
|
|
39
|
+
</documentation>
|
|
40
40
|
</address>
|
|
41
41
|
</properties>
|
|
42
|
-
|
|
43
|
-
</block>
|
|
42
|
+
</bomvalue:AddressValue>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
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 — ExpressionValue
|
|
2
|
+
FQN: org.blockml.bml.bom.value.ExpressionValue-->
|
|
3
|
+
<bomvalue:ExpressionValue 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
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<is>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
<baseType>
|
|
21
|
+
bomvalue:MemberValue
|
|
22
|
+
</baseType>
|
|
23
|
+
<is>
|
|
24
|
+
Authored ${…} expression member value
|
|
25
|
+
</is>
|
|
26
|
+
<documentation>
|
|
27
|
+
raw is the only expression field in Canonical BOM. AST via parseExpression() utility — not stored.
|
|
28
|
+
</documentation>
|
|
33
29
|
<properties>
|
|
34
30
|
<kind type="type:Text">
|
|
35
|
-
<documentation>
|
|
31
|
+
<documentation>
|
|
32
|
+
kind (required). TS type: type:Text.
|
|
33
|
+
</documentation>
|
|
36
34
|
<value>expression</value>
|
|
37
35
|
</kind>
|
|
38
36
|
<raw type="type:Text">
|
|
39
|
-
<documentation>
|
|
37
|
+
<documentation>
|
|
38
|
+
raw (required). TS type: type:Text.
|
|
39
|
+
</documentation>
|
|
40
40
|
</raw>
|
|
41
41
|
<authoredPlacement type="type:Text">
|
|
42
|
-
<documentation>
|
|
42
|
+
<documentation>
|
|
43
|
+
authoredPlacement (optional). TS type: type:Text.
|
|
44
|
+
</documentation>
|
|
43
45
|
</authoredPlacement>
|
|
44
46
|
<source type="bomcommon:SourceLocation">
|
|
45
|
-
<documentation>
|
|
47
|
+
<documentation>
|
|
48
|
+
source (optional). TS type: bomcommon:SourceLocation.
|
|
49
|
+
</documentation>
|
|
46
50
|
</source>
|
|
47
51
|
</properties>
|
|
48
|
-
|
|
49
|
-
</block>
|
|
52
|
+
</bomvalue:ExpressionValue>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
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 — InterpolatedTextValue
|
|
2
|
+
FQN: org.blockml.bml.bom.value.InterpolatedTextValue-->
|
|
3
|
+
<bomvalue:InterpolatedTextValue 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,37 @@
|
|
|
23
17
|
xmlns:def="org.blockml.bml.definition"
|
|
24
18
|
xmlns:type="org.blockml.bml.type">
|
|
25
19
|
|
|
26
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<is>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
<baseType>
|
|
21
|
+
bomvalue:MemberValue
|
|
22
|
+
</baseType>
|
|
23
|
+
<is>
|
|
24
|
+
Authored interpolated text member value
|
|
25
|
+
</is>
|
|
26
|
+
<documentation>
|
|
27
|
+
raw is the full authored text including `${` holes and `\${` escapes. AST via
|
|
28
|
+
parseInterpolatedText() — not stored. Serializer emits raw 1:1.
|
|
29
|
+
</documentation>
|
|
33
30
|
<properties>
|
|
34
31
|
<kind type="type:Text">
|
|
35
|
-
<documentation>
|
|
32
|
+
<documentation>
|
|
33
|
+
kind (required). TS type: type:Text.
|
|
34
|
+
</documentation>
|
|
36
35
|
<value>interpolated</value>
|
|
37
36
|
</kind>
|
|
38
37
|
<raw type="type:Text">
|
|
39
|
-
<documentation>
|
|
38
|
+
<documentation>
|
|
39
|
+
Full authored text including ${} holes (required). TS type: type:Text.
|
|
40
|
+
</documentation>
|
|
40
41
|
</raw>
|
|
41
42
|
<authoredPlacement type="type:Text">
|
|
42
|
-
<documentation>
|
|
43
|
+
<documentation>
|
|
44
|
+
authoredPlacement (optional). TS type: type:Text.
|
|
45
|
+
</documentation>
|
|
43
46
|
</authoredPlacement>
|
|
44
47
|
<source type="bomcommon:SourceLocation">
|
|
45
|
-
<documentation>
|
|
48
|
+
<documentation>
|
|
49
|
+
source (optional). TS type: bomcommon:SourceLocation.
|
|
50
|
+
</documentation>
|
|
46
51
|
</source>
|
|
47
52
|
</properties>
|
|
48
|
-
|
|
49
|
-
</block>
|
|
53
|
+
</bomvalue:InterpolatedTextValue>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
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 — LiteralValue
|
|
2
|
+
FQN: org.blockml.bml.bom.value.LiteralValue-->
|
|
3
|
+
<bomvalue:LiteralValue 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
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<is>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
<baseType>
|
|
21
|
+
bomvalue:MemberValue
|
|
22
|
+
</baseType>
|
|
23
|
+
<is>
|
|
24
|
+
Authored literal member value
|
|
25
|
+
</is>
|
|
26
|
+
<documentation>
|
|
27
|
+
value field is a primitive union approximation of TS unknown — MUST NOT be normalized at parse time (lossless roundtrip). Objects/arrays remain a BML type gap.
|
|
28
|
+
</documentation>
|
|
33
29
|
<properties>
|
|
34
30
|
<kind type="type:Text">
|
|
35
|
-
<documentation>
|
|
31
|
+
<documentation>
|
|
32
|
+
kind (required). TS type: type:Text.
|
|
33
|
+
</documentation>
|
|
36
34
|
<value>literal</value>
|
|
37
35
|
</kind>
|
|
38
36
|
<value type="type:Text | type:Integer | type:Decimal | type:Boolean">
|
|
39
|
-
<documentation>
|
|
37
|
+
<documentation>
|
|
38
|
+
BML type gap: TS unknown (authored literal, including objects/arrays). Union covers primitive cases only. (required)
|
|
39
|
+
</documentation>
|
|
40
40
|
</value>
|
|
41
41
|
<typeFqn type="type:Text">
|
|
42
|
-
<documentation>
|
|
42
|
+
<documentation>
|
|
43
|
+
typeFqn (required). TS type: type:Text.
|
|
44
|
+
</documentation>
|
|
43
45
|
</typeFqn>
|
|
44
46
|
<authoredPlacement type="type:Text">
|
|
45
|
-
<documentation>
|
|
47
|
+
<documentation>
|
|
48
|
+
"attribute" | "element" when dual placement legal (D9). (optional)
|
|
49
|
+
</documentation>
|
|
46
50
|
</authoredPlacement>
|
|
47
51
|
</properties>
|
|
48
|
-
|
|
49
|
-
</block>
|
|
52
|
+
</bomvalue:LiteralValue>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
|
|
3
|
-
|
|
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 — MemberValue
|
|
2
|
+
FQN: org.blockml.bml.bom.value.MemberValue-->
|
|
3
|
+
<bomvalue:MemberValue 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
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<is>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
20
|
+
<baseType>
|
|
21
|
+
bom:UrmodellType
|
|
22
|
+
</baseType>
|
|
23
|
+
<is>
|
|
24
|
+
Abstract union of authored member values
|
|
25
|
+
</is>
|
|
26
|
+
<documentation>
|
|
27
|
+
Discriminated union: LiteralValue | ExpressionValue | InterpolatedTextValue | AddressValue.
|
|
28
|
+
</documentation>
|
|
29
|
+
<abstract>
|
|
30
|
+
true
|
|
31
|
+
</abstract>
|
|
32
|
+
</bomvalue:MemberValue>
|
|
@@ -31,6 +31,16 @@ export interface BlockDefinition {
|
|
|
31
31
|
* Derived on Sub-Blocks: parentFqn + "." + name
|
|
32
32
|
*/
|
|
33
33
|
type: string;
|
|
34
|
+
/**
|
|
35
|
+
* Authored definition wrapper (doc:DocumentFormat).
|
|
36
|
+
* `"block"` = legacy `<block>`; `"type"` = type-or-name tag.
|
|
37
|
+
* Omitted on hand-built BOM defaults to `"block"` on serialize.
|
|
38
|
+
*/
|
|
39
|
+
wrapperForm?: "block" | "type";
|
|
40
|
+
/** True when a child `<name>` element was authored. */
|
|
41
|
+
authoredNameChild?: boolean;
|
|
42
|
+
/** True when a child `<type>` element was authored. */
|
|
43
|
+
authoredTypeChild?: boolean;
|
|
34
44
|
/** Parent type FQN. Omitted in some corpus files. */
|
|
35
45
|
baseType?: string;
|
|
36
46
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-definition.d.ts","sourceRoot":"","sources":["../../src/types/block-definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,SAAS,EACV,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,gFAAgF;AAChF,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,0CAA0C,CAAC;IACpD,iEAAiE;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,4EAA4E;IAC5E,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IAC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AAE,gBAAgB,CAAC;IAC5C,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB"}
|
|
1
|
+
{"version":3,"file":"block-definition.d.ts","sourceRoot":"","sources":["../../src/types/block-definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,SAAS,EACV,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,gFAAgF;AAChF,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,0CAA0C,CAAC;IACpD,iEAAiE;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,4EAA4E;IAC5E,QAAQ,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,eAAe;IAC9B,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/B,uDAAuD;IACvD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,uDAAuD;IACvD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,qDAAqD;IACrD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OA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AI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,yBAAyB,CAAC,EAAE,iBAAiB,CAAC;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wBAAwB,CAAC,EAAE,gBAAgB,CAAC;IAC5C,MAAM,CAAC,EAAE,cAAc,CAAC;CACzB"}
|
package/dist/types/common.d.ts
CHANGED
|
@@ -22,6 +22,12 @@ export interface SourceInfo {
|
|
|
22
22
|
schemaLocation?: string;
|
|
23
23
|
/** Authored xsi:noNamespaceSchemaLocation when present. */
|
|
24
24
|
noNamespaceSchemaLocation?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Authored document root form (doc:DocumentFormat).
|
|
27
|
+
* `"block"` = legacy `<block>`; `"type"` = type-as-root tag.
|
|
28
|
+
* Omitted on hand-built BOM defaults to `"block"` on serialize.
|
|
29
|
+
*/
|
|
30
|
+
rootForm?: "block" | "type";
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* XML comment trivia bound to an element (B11).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/types/common.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wCAAwC;AACxC,MAAM,WAAW,UAAU;IACzB,yCAAyC;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,gCAAgC;IAChC,MAAM,EAAE,KAAK,CAAC;IACd;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3C,yDAAyD;IACzD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2DAA2D;IAC3D,yBAAyB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/types/common.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wCAAwC;AACxC,MAAM,WAA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jC,2DAA2D;IAC3D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,iBAAiB,CAAC,EAAE,WAAW,CAAC;IAChC,yBAAyB,CAAC,EAAE,iBAAiB,CAAC;CAC/C;AAED,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,gBAAgB,CAAC;AAEjF,6FAA6F;AAC7F,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,cAAc,CAAC;CACxB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockml/bom",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.6",
|
|
4
4
|
"description": "BlockML BOM (Urmodell) TypeScript contracts — ParseResult, Diagnostic, bomEquals",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"test": "vitest run packages/bom/test"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@blockml/core": "^1.
|
|
35
|
+
"@blockml/core": "^1.3.0"
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=20"
|