@blockml/parser 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 (112) hide show
  1. package/blocks/org/blockml/bml/compiler/parser/Library.bml +19 -26
  2. package/blocks/org/blockml/bml/compiler/parser/ParserType.bml +16 -20
  3. package/blocks/org/blockml/bml/compiler/parser/README.bml +14 -21
  4. package/blocks/org/blockml/bml/compiler/parser/capability/AssertBlockRoot.bml +23 -21
  5. package/blocks/org/blockml/bml/compiler/parser/capability/BuildSubBlockIndex.bml +19 -20
  6. package/blocks/org/blockml/bml/compiler/parser/capability/CollectLeadingComments.bml +22 -22
  7. package/blocks/org/blockml/bml/compiler/parser/capability/CollectTrailingComments.bml +22 -22
  8. package/blocks/org/blockml/bml/compiler/parser/capability/ContainsUnescapedInterpolation.bml +26 -21
  9. package/blocks/org/blockml/bml/compiler/parser/capability/CreateMapContext.bml +28 -24
  10. package/blocks/org/blockml/bml/compiler/parser/capability/DetectFormat.bml +19 -21
  11. package/blocks/org/blockml/bml/compiler/parser/capability/DocumentElement.bml +19 -20
  12. package/blocks/org/blockml/bml/compiler/parser/capability/ElementChildren.bml +19 -20
  13. package/blocks/org/blockml/bml/compiler/parser/capability/ElementLocalName.bml +19 -20
  14. package/blocks/org/blockml/bml/compiler/parser/capability/ElementPrefix.bml +19 -20
  15. package/blocks/org/blockml/bml/compiler/parser/capability/ElementSourceLoc.bml +25 -22
  16. package/blocks/org/blockml/bml/compiler/parser/capability/ElementStartTagIsSelfClosing.bml +23 -22
  17. package/blocks/org/blockml/bml/compiler/parser/capability/ExpressionFromRaw.bml +22 -21
  18. package/blocks/org/blockml/bml/compiler/parser/capability/ExtractNamespaceBindings.bml +20 -21
  19. package/blocks/org/blockml/bml/compiler/parser/capability/FqnToQName.bml +22 -21
  20. package/blocks/org/blockml/bml/compiler/parser/capability/GetAttribute.bml +22 -21
  21. package/blocks/org/blockml/bml/compiler/parser/capability/GetCharacterData.bml +19 -20
  22. package/blocks/org/blockml/bml/compiler/parser/capability/GetParseErrors.bml +19 -20
  23. package/blocks/org/blockml/bml/compiler/parser/capability/HasBmlSemanticQNameBindings.bml +19 -20
  24. package/blocks/org/blockml/bml/compiler/parser/capability/InferCardinality.bml +19 -20
  25. package/blocks/org/blockml/bml/compiler/parser/capability/IsBooleanLiteral.bml +19 -20
  26. package/blocks/org/blockml/bml/compiler/parser/capability/IsCData.bml +19 -20
  27. package/blocks/org/blockml/bml/compiler/parser/capability/IsComment.bml +19 -20
  28. package/blocks/org/blockml/bml/compiler/parser/capability/IsDocumentRootLocalName.bml +57 -0
  29. package/blocks/org/blockml/bml/compiler/parser/capability/IsElement.bml +19 -20
  30. package/blocks/org/blockml/bml/compiler/parser/capability/IsTextNode.bml +19 -20
  31. package/blocks/org/blockml/bml/compiler/parser/capability/IsTypeReferenceEntitySugar.bml +19 -20
  32. package/blocks/org/blockml/bml/compiler/parser/capability/MapBlock.bml +22 -22
  33. package/blocks/org/blockml/bml/compiler/parser/capability/MapBlockInstanceNode.bml +22 -21
  34. package/blocks/org/blockml/bml/compiler/parser/capability/MapCompositionTemplate.bml +22 -21
  35. package/blocks/org/blockml/bml/compiler/parser/capability/MapDocumentBlock.bml +25 -23
  36. package/blocks/org/blockml/bml/compiler/parser/capability/MapTypeReferenceEntityInstance.bml +22 -21
  37. package/blocks/org/blockml/bml/compiler/parser/capability/MergeSourceInfo.bml +25 -22
  38. package/blocks/org/blockml/bml/compiler/parser/capability/NormalizeBooleanValue.bml +19 -20
  39. package/blocks/org/blockml/bml/compiler/parser/capability/Parse.bml +22 -22
  40. package/blocks/org/blockml/bml/compiler/parser/capability/ParseBmlMeta.bml +19 -20
  41. package/blocks/org/blockml/bml/compiler/parser/capability/ParseBooleanAttribute.bml +19 -20
  42. package/blocks/org/blockml/bml/compiler/parser/capability/ParseDirectives.bml +23 -23
  43. package/blocks/org/blockml/bml/compiler/parser/capability/ParseGenericArgumentList.bml +23 -23
  44. package/blocks/org/blockml/bml/compiler/parser/capability/ParseGenericsBinding.bml +23 -23
  45. package/blocks/org/blockml/bml/compiler/parser/capability/ParseMemberValue.bml +35 -27
  46. package/blocks/org/blockml/bml/compiler/parser/capability/ParseTypeExpression.bml +25 -23
  47. package/blocks/org/blockml/bml/compiler/parser/capability/ParseVisibilityFromName.bml +19 -21
  48. package/blocks/org/blockml/bml/compiler/parser/capability/ParseXmlDom.bml +22 -22
  49. package/blocks/org/blockml/bml/compiler/parser/capability/ResolveBlockReference.bml +25 -23
  50. package/blocks/org/blockml/bml/compiler/parser/capability/ResolvePrefix.bml +22 -21
  51. package/blocks/org/blockml/bml/compiler/parser/capability/ResolveTypeName.bml +25 -23
  52. package/blocks/org/blockml/bml/compiler/parser/capability/SourceLoc.bml +25 -22
  53. package/blocks/org/blockml/bml/compiler/parser/capability/SplitQName.bml +19 -20
  54. package/blocks/org/blockml/bml/compiler/parser/capability/TrimText.bml +18 -21
  55. package/blocks/org/blockml/bml/compiler/parser/capability/TypeExpressionToString.bml +19 -20
  56. package/blocks/org/blockml/bml/compiler/parser/capability/VisibilityPrefix.bml +19 -20
  57. package/blocks/org/blockml/bml/compiler/parser/capability/XmlTriviaFromElement.bml +19 -21
  58. package/blocks/org/blockml/bml/compiler/parser/config/MapTimeDiagnosticCodes.bml +16 -19
  59. package/blocks/org/blockml/bml/compiler/parser/config/ParserConstants.bml +25 -22
  60. package/blocks/org/blockml/bml/compiler/parser/documentation/ArchitectureOverview.bml +21 -23
  61. package/blocks/org/blockml/bml/compiler/parser/documentation/AttributeClassification.bml +18 -23
  62. package/blocks/org/blockml/bml/compiler/parser/documentation/BlockMetadataMapping.bml +23 -21
  63. package/blocks/org/blockml/bml/compiler/parser/documentation/DesignDecisions.bml +16 -21
  64. package/blocks/org/blockml/bml/compiler/parser/documentation/Diagnostics.bml +24 -24
  65. package/blocks/org/blockml/bml/compiler/parser/documentation/ExpressionCapture.bml +20 -23
  66. package/blocks/org/blockml/bml/compiler/parser/documentation/Introduction.bml +17 -22
  67. package/blocks/org/blockml/bml/compiler/parser/documentation/LayerSeparation.bml +19 -24
  68. package/blocks/org/blockml/bml/compiler/parser/documentation/MappingPrinciples.bml +16 -21
  69. package/blocks/org/blockml/bml/compiler/parser/documentation/MemberMapping.bml +17 -20
  70. package/blocks/org/blockml/bml/compiler/parser/documentation/MemberMappingOrder.bml +16 -21
  71. package/blocks/org/blockml/bml/compiler/parser/documentation/PackageOwnership.bml +17 -22
  72. package/blocks/org/blockml/bml/compiler/parser/documentation/PublicApi.bml +19 -22
  73. package/blocks/org/blockml/bml/compiler/parser/documentation/RoundtripContract.bml +16 -21
  74. package/blocks/org/blockml/bml/compiler/parser/documentation/ScopeExclusions.bml +16 -21
  75. package/blocks/org/blockml/bml/compiler/parser/documentation/SingleFileScope.bml +16 -21
  76. package/blocks/org/blockml/bml/compiler/parser/documentation/StructuralGrammar.bml +18 -23
  77. package/blocks/org/blockml/bml/compiler/parser/documentation/TypeDescriptorParsing.bml +15 -20
  78. package/blocks/org/blockml/bml/compiler/parser/documentation/V1Scope.bml +18 -21
  79. package/blocks/org/blockml/bml/compiler/parser/documentation/XmlCommentsParse.bml +18 -21
  80. package/blocks/org/blockml/bml/compiler/parser/map/BmlMeta.bml +25 -22
  81. package/blocks/org/blockml/bml/compiler/parser/map/CharacterData.bml +19 -20
  82. package/blocks/org/blockml/bml/compiler/parser/map/MapContext.bml +40 -27
  83. package/blocks/org/blockml/bml/compiler/parser/map/MapContextOptions.bml +31 -24
  84. package/blocks/org/blockml/bml/compiler/parser/map/QNameParts.bml +19 -20
  85. package/blocks/org/blockml/bml/compiler/parser/map/VisibilityParse.bml +19 -20
  86. package/blocks/org/blockml/bml/compiler/parser/map/XmlDomNode.bml +13 -17
  87. package/dist/index.d.ts +2 -0
  88. package/dist/index.d.ts.map +1 -1
  89. package/dist/index.js +2 -0
  90. package/dist/index.js.map +1 -1
  91. package/dist/map/directives.d.ts.map +1 -1
  92. package/dist/map/directives.js +2 -2
  93. package/dist/map/directives.js.map +1 -1
  94. package/dist/map/interpolation-escape.d.ts +11 -0
  95. package/dist/map/interpolation-escape.d.ts.map +1 -0
  96. package/dist/map/interpolation-escape.js +87 -0
  97. package/dist/map/interpolation-escape.js.map +1 -0
  98. package/dist/map/map-block.d.ts.map +1 -1
  99. package/dist/map/map-block.js +102 -6
  100. package/dist/map/map-block.js.map +1 -1
  101. package/dist/map/member-value.d.ts +1 -1
  102. package/dist/map/member-value.d.ts.map +1 -1
  103. package/dist/map/member-value.js +4 -11
  104. package/dist/map/member-value.js.map +1 -1
  105. package/dist/pipeline/namespaces.d.ts.map +1 -1
  106. package/dist/pipeline/namespaces.js +3 -0
  107. package/dist/pipeline/namespaces.js.map +1 -1
  108. package/dist/pipeline/root-type.d.ts +3 -0
  109. package/dist/pipeline/root-type.d.ts.map +1 -1
  110. package/dist/pipeline/root-type.js +16 -3
  111. package/dist/pipeline/root-type.js.map +1 -1
  112. package/package.json +3 -3
@@ -1,12 +1,6 @@
1
- <!--
2
- Parser Capability — ParseGenericsBinding
3
- FQN: org.blockml.bml.compiler.parser.capability.ParseGenericsBinding
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
+ <!--Parser Capability — ParseGenericsBinding
2
+ FQN: org.blockml.bml.compiler.parser.capability.ParseGenericsBinding-->
3
+ <parcap:ParseGenericsBinding 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"
@@ -29,30 +23,36 @@
29
23
  xmlns:serdocumentation="org.blockml.bml.compiler.serializer.documentation"
30
24
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
31
25
 
32
- <name>ParseGenericsBinding</name>
33
- <type>parcap:ParseGenericsBinding</type>
34
- <baseType>core:Capability</baseType>
35
- <is>Parse bml:generics attribute or child element into GenericsBinding</is>
36
-
37
- <documentation>Parse bml:generics as attribute or child element. Attribute form wins.
26
+ <baseType>
27
+ core:Capability
28
+ </baseType>
29
+ <is>
30
+ Parse bml:generics attribute or child element into GenericsBinding
31
+ </is>
32
+ <documentation>
33
+ Parse bml:generics as attribute or child element. Attribute form wins.
38
34
  Stores lossless raw plus parsed TypeExpression arguments when parentheses
39
- are present and well-formed.</documentation>
40
-
35
+ are present and well-formed.
36
+ </documentation>
41
37
  <references>
42
38
  <see type="parcap:ParseGenericArgumentList" relation="SeeAlso" />
43
39
  <see type="pardocumentation:AttributeClassification" relation="SeeAlso" />
44
40
  </references>
45
-
46
41
  <properties>
47
42
  <element type="parmap:XmlDomNode">
48
- <documentation>element. TS type: parmap:XmlDomNode. (required)</documentation>
43
+ <documentation>
44
+ element. TS type: parmap:XmlDomNode. (required)
45
+ </documentation>
49
46
  </element>
50
47
  <ctx type="parmap:MapContext">
51
- <documentation>ctx. TS type: parmap:MapContext. (required)</documentation>
48
+ <documentation>
49
+ ctx. TS type: parmap:MapContext. (required)
50
+ </documentation>
52
51
  </ctx>
53
52
  <binding type="bomcomp:GenericsBinding">
54
- <documentation>binding. TS type: bomcomp:GenericsBinding. (optional)</documentation>
53
+ <documentation>
54
+ binding. TS type: bomcomp:GenericsBinding. (optional)
55
+ </documentation>
55
56
  </binding>
56
57
  </properties>
57
-
58
- </block>
58
+ </parcap:ParseGenericsBinding>
@@ -1,12 +1,6 @@
1
- <!--
2
- Parser Capability — ParseMemberValue
3
- FQN: org.blockml.bml.compiler.parser.capability.ParseMemberValue
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
+ <!--Parser Capability — ParseMemberValue
2
+ FQN: org.blockml.bml.compiler.parser.capability.ParseMemberValue-->
3
+ <parcap:ParseMemberValue 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"
@@ -29,40 +23,54 @@
29
23
  xmlns:serdocumentation="org.blockml.bml.compiler.serializer.documentation"
30
24
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
31
25
 
32
- <name>ParseMemberValue</name>
33
- <type>parcap:ParseMemberValue</type>
34
- <baseType>core:Capability</baseType>
35
- <is>Parse attribute/element value to MemberValue</is>
36
-
26
+ <baseType>
27
+ core:Capability
28
+ </baseType>
29
+ <is>
30
+ Parse attribute/element value to MemberValue
31
+ </is>
37
32
  <documentation>
38
33
  Parse attribute/element value to MemberValue.
39
-
40
- Always classifies a whole `${ … }` as ExpressionValue and unescaped `${` in
41
- running text as InterpolatedTextValue. JSON arrays/objects stay structural
42
- list/struct tokenization.
43
-
34
+
35
+ Classification of the entire value:
36
+ unescaped whole `${ }` ExpressionValue (full expression language)
37
+ running text with an unescaped `${` → InterpolatedTextValue (authored raw kept)
38
+ • only escaped openers (`\${`, `\\\${`, …) → LiteralValue after unescape
39
+ • JSON arrays/objects stay structural list/struct tokenization
40
+
41
+ Escape is JS-template-like: a `${` opener is escaped when an odd number of
42
+ backslashes immediately precedes `$`. `\${` stores literal `${`. `\\${` is
43
+ one literal `\` plus a hole. Empty `${}` / `${ }` stays a parse error — write
44
+ `\${ }` when the delimiter characters are intended.
45
+
46
+ Literal string storage is unescaped (`\${` → `${`). InterpolatedTextValue.raw
47
+ keeps the authored escapes; parseInterpolatedText / evaluate unescapes holes.
48
+
44
49
  Without `ctx.parseValue` (library bootstrap): Boolean and number heuristics
45
50
  (Text / Integer / Boolean / TypeIdentifier) remain.
46
-
51
+
47
52
  With the host hook: scalars go through parseValue only. Success stores the
48
53
  host value. Failure keeps the authored string and reports BML_INVALID_VALUE.
49
54
  Skip keeps the authored string — no Boolean/number coercion.
50
55
  </documentation>
51
-
52
56
  <references>
53
57
  <see type="pardocumentation:ExpressionCapture" relation="SeeAlso" />
54
58
  </references>
55
-
56
59
  <properties>
57
60
  <raw type="type:Text">
58
- <documentation>raw. TS type: type:Text. (required)</documentation>
61
+ <documentation>
62
+ raw. TS type: type:Text. (required)
63
+ </documentation>
59
64
  </raw>
60
65
  <ctx type="parmap:MapContext">
61
- <documentation>ctx. TS type: parmap:MapContext. (required)</documentation>
66
+ <documentation>
67
+ ctx. TS type: parmap:MapContext. (required)
68
+ </documentation>
62
69
  </ctx>
63
70
  <value type="bomvalue:MemberValue">
64
- <documentation>value. TS type: bomvalue:MemberValue. (required)</documentation>
71
+ <documentation>
72
+ value. TS type: bomvalue:MemberValue. (required)
73
+ </documentation>
65
74
  </value>
66
75
  </properties>
67
-
68
- </block>
76
+ </parcap:ParseMemberValue>
@@ -1,12 +1,6 @@
1
- <!--
2
- Parser Capability — ParseTypeExpression
3
- FQN: org.blockml.bml.compiler.parser.capability.ParseTypeExpression
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
+ <!--Parser Capability — ParseTypeExpression
2
+ FQN: org.blockml.bml.compiler.parser.capability.ParseTypeExpression-->
3
+ <parcap:ParseTypeExpression 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"
@@ -29,30 +23,38 @@
29
23
  xmlns:serdocumentation="org.blockml.bml.compiler.serializer.documentation"
30
24
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
31
25
 
32
- <name>ParseTypeExpression</name>
33
- <type>parcap:ParseTypeExpression</type>
34
- <baseType>core:Capability</baseType>
35
- <is>Parse type attribute string to TypeExpression</is>
36
-
37
- <documentation>Parse type attribute string to TypeExpression</documentation>
38
-
26
+ <baseType>
27
+ core:Capability
28
+ </baseType>
29
+ <is>
30
+ Parse type attribute string to TypeExpression
31
+ </is>
32
+ <documentation>
33
+ Parse type attribute string to TypeExpression
34
+ </documentation>
39
35
  <references>
40
36
  <see type="pardocumentation:TypeDescriptorParsing" relation="SeeAlso" />
41
37
  </references>
42
-
43
38
  <properties>
44
39
  <raw type="type:Text">
45
- <documentation>raw. TS type: type:Text. (required)</documentation>
40
+ <documentation>
41
+ raw. TS type: type:Text. (required)
42
+ </documentation>
46
43
  </raw>
47
44
  <ctx type="parmap:MapContext">
48
- <documentation>ctx. TS type: parmap:MapContext. (required)</documentation>
45
+ <documentation>
46
+ ctx. TS type: parmap:MapContext. (required)
47
+ </documentation>
49
48
  </ctx>
50
49
  <implicitContext type="type:Text">
51
- <documentation>implicitContext. TS type: type:Text. (optional)</documentation>
50
+ <documentation>
51
+ implicitContext. TS type: type:Text. (optional)
52
+ </documentation>
52
53
  </implicitContext>
53
54
  <expression type="bomtype:TypeExpression">
54
- <documentation>expression. TS type: bomtype:TypeExpression. (required)</documentation>
55
+ <documentation>
56
+ expression. TS type: bomtype:TypeExpression. (required)
57
+ </documentation>
55
58
  </expression>
56
59
  </properties>
57
-
58
- </block>
60
+ </parcap:ParseTypeExpression>
@@ -1,12 +1,6 @@
1
- <!--
2
- Parser Capability — ParseVisibilityFromName
3
- FQN: org.blockml.bml.compiler.parser.capability.ParseVisibilityFromName
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
+ <!--Parser Capability — ParseVisibilityFromName
2
+ FQN: org.blockml.bml.compiler.parser.capability.ParseVisibilityFromName-->
3
+ <parcap:ParseVisibilityFromName 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"
@@ -29,24 +23,28 @@
29
23
  xmlns:serdocumentation="org.blockml.bml.compiler.serializer.documentation"
30
24
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
31
25
 
32
- <name>ParseVisibilityFromName</name>
33
- <type>parcap:ParseVisibilityFromName</type>
34
- <baseType>core:Capability</baseType>
35
- <is>Strip _/__ prefix from localName → logical name + visibility (B14)</is>
36
-
37
- <documentation>Strip _/__ prefix from localName → logical name + visibility (B14)</documentation>
38
-
26
+ <baseType>
27
+ core:Capability
28
+ </baseType>
29
+ <is>
30
+ Strip _/__ prefix from localName → logical name + visibility (B14)
31
+ </is>
32
+ <documentation>
33
+ Strip _/__ prefix from localName → logical name + visibility (B14)
34
+ </documentation>
39
35
  <references>
40
36
  <see type="pardocumentation:DesignDecisions" relation="SeeAlso" />
41
37
  </references>
42
-
43
38
  <properties>
44
39
  <localName type="type:Text">
45
- <documentation>localName. TS type: type:Text. (required)</documentation>
40
+ <documentation>
41
+ localName. TS type: type:Text. (required)
42
+ </documentation>
46
43
  </localName>
47
44
  <result type="parmap:VisibilityParse">
48
- <documentation>result. TS type: parmap:VisibilityParse. (required)</documentation>
45
+ <documentation>
46
+ result. TS type: parmap:VisibilityParse. (required)
47
+ </documentation>
49
48
  </result>
50
49
  </properties>
51
-
52
- </block>
50
+ </parcap:ParseVisibilityFromName>
@@ -1,12 +1,6 @@
1
- <!--
2
- Parser Capability — ParseXmlDom
3
- FQN: org.blockml.bml.compiler.parser.capability.ParseXmlDom
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
+ <!--Parser Capability — ParseXmlDom
2
+ FQN: org.blockml.bml.compiler.parser.capability.ParseXmlDom-->
3
+ <parcap:ParseXmlDom 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"
@@ -29,27 +23,33 @@
29
23
  xmlns:serdocumentation="org.blockml.bml.compiler.serializer.documentation"
30
24
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
31
25
 
32
- <name>ParseXmlDom</name>
33
- <type>parcap:ParseXmlDom</type>
34
- <baseType>core:Capability</baseType>
35
- <is>XML DOM parser — step [2] (B18)</is>
36
-
37
- <documentation>Uses @xmldom/xmldom. Browser and Node compatible.</documentation>
38
-
26
+ <baseType>
27
+ core:Capability
28
+ </baseType>
29
+ <is>
30
+ XML DOM parser — step [2] (B18)
31
+ </is>
32
+ <documentation>
33
+ Uses @xmldom/xmldom. Browser and Node compatible.
34
+ </documentation>
39
35
  <references>
40
36
  <see type="pardocumentation:V1Scope" relation="SeeAlso" />
41
37
  </references>
42
-
43
38
  <properties>
44
39
  <source type="type:Text">
45
- <documentation>source. TS type: type:Text. (required)</documentation>
40
+ <documentation>
41
+ source. TS type: type:Text. (required)
42
+ </documentation>
46
43
  </source>
47
44
  <filePath type="type:Text">
48
- <documentation>filePath. TS type: type:Text. (optional)</documentation>
45
+ <documentation>
46
+ filePath. TS type: type:Text. (optional)
47
+ </documentation>
49
48
  </filePath>
50
49
  <document type="parmap:XmlDomNode">
51
- <documentation>DOM Document (required)</documentation>
50
+ <documentation>
51
+ DOM Document (required)
52
+ </documentation>
52
53
  </document>
53
54
  </properties>
54
-
55
- </block>
55
+ </parcap:ParseXmlDom>
@@ -1,12 +1,6 @@
1
- <!--
2
- Parser Capability — ResolveBlockReference
3
- FQN: org.blockml.bml.compiler.parser.capability.ResolveBlockReference
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
+ <!--Parser Capability — ResolveBlockReference
2
+ FQN: org.blockml.bml.compiler.parser.capability.ResolveBlockReference-->
3
+ <parcap:ResolveBlockReference 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"
@@ -29,30 +23,38 @@
29
23
  xmlns:serdocumentation="org.blockml.bml.compiler.serializer.documentation"
30
24
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
31
25
 
32
- <name>ResolveBlockReference</name>
33
- <type>parcap:ResolveBlockReference</type>
34
- <baseType>core:Capability</baseType>
35
- <is>Resolve block type/baseType QName to FQN</is>
36
-
37
- <documentation>Resolve block type/baseType QName to FQN</documentation>
38
-
26
+ <baseType>
27
+ core:Capability
28
+ </baseType>
29
+ <is>
30
+ Resolve block type/baseType QName to FQN
31
+ </is>
32
+ <documentation>
33
+ Resolve block type/baseType QName to FQN
34
+ </documentation>
39
35
  <references>
40
36
  <see type="parconfig:ParserConstants" relation="SeeAlso" />
41
37
  </references>
42
-
43
38
  <properties>
44
39
  <qname type="type:Text">
45
- <documentation>qname. TS type: type:Text. (required)</documentation>
40
+ <documentation>
41
+ qname. TS type: type:Text. (required)
42
+ </documentation>
46
43
  </qname>
47
44
  <bindings type="type:Text">
48
- <documentation>bindings. TS type: type:Text. (required)</documentation>
45
+ <documentation>
46
+ bindings. TS type: type:Text. (required)
47
+ </documentation>
49
48
  </bindings>
50
49
  <ctx type="parmap:MapContext">
51
- <documentation>ctx. TS type: parmap:MapContext. (required)</documentation>
50
+ <documentation>
51
+ ctx. TS type: parmap:MapContext. (required)
52
+ </documentation>
52
53
  </ctx>
53
54
  <fqn type="type:Text">
54
- <documentation>fqn. TS type: type:Text. (required)</documentation>
55
+ <documentation>
56
+ fqn. TS type: type:Text. (required)
57
+ </documentation>
55
58
  </fqn>
56
59
  </properties>
57
-
58
- </block>
60
+ </parcap:ResolveBlockReference>
@@ -1,12 +1,6 @@
1
- <!--
2
- Parser Capability — ResolvePrefix
3
- FQN: org.blockml.bml.compiler.parser.capability.ResolvePrefix
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
+ <!--Parser Capability — ResolvePrefix
2
+ FQN: org.blockml.bml.compiler.parser.capability.ResolvePrefix-->
3
+ <parcap:ResolvePrefix 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"
@@ -29,23 +23,30 @@
29
23
  xmlns:serdocumentation="org.blockml.bml.compiler.serializer.documentation"
30
24
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
31
25
 
32
- <name>ResolvePrefix</name>
33
- <type>parcap:ResolvePrefix</type>
34
- <baseType>core:Capability</baseType>
35
- <is>Resolve namespace prefix to URI from bindings</is>
36
-
37
- <documentation>Resolve namespace prefix to URI from bindings</documentation>
38
-
26
+ <baseType>
27
+ core:Capability
28
+ </baseType>
29
+ <is>
30
+ Resolve namespace prefix to URI from bindings
31
+ </is>
32
+ <documentation>
33
+ Resolve namespace prefix to URI from bindings
34
+ </documentation>
39
35
  <properties>
40
36
  <prefix type="type:Text">
41
- <documentation>prefix. TS type: type:Text. (required)</documentation>
37
+ <documentation>
38
+ prefix. TS type: type:Text. (required)
39
+ </documentation>
42
40
  </prefix>
43
41
  <bindings type="type:Text">
44
- <documentation>bindings. TS type: type:Text. (required)</documentation>
42
+ <documentation>
43
+ bindings. TS type: type:Text. (required)
44
+ </documentation>
45
45
  </bindings>
46
46
  <uri type="type:Text">
47
- <documentation>uri. TS type: type:Text. (required)</documentation>
47
+ <documentation>
48
+ uri. TS type: type:Text. (required)
49
+ </documentation>
48
50
  </uri>
49
51
  </properties>
50
-
51
- </block>
52
+ </parcap:ResolvePrefix>
@@ -1,12 +1,6 @@
1
- <!--
2
- Parser Capability — ResolveTypeName
3
- FQN: org.blockml.bml.compiler.parser.capability.ResolveTypeName
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
+ <!--Parser Capability — ResolveTypeName
2
+ FQN: org.blockml.bml.compiler.parser.capability.ResolveTypeName-->
3
+ <parcap:ResolveTypeName 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"
@@ -29,30 +23,38 @@
29
23
  xmlns:serdocumentation="org.blockml.bml.compiler.serializer.documentation"
30
24
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
31
25
 
32
- <name>ResolveTypeName</name>
33
- <type>parcap:ResolveTypeName</type>
34
- <baseType>core:Capability</baseType>
35
- <is>Resolve type name to FQN with implicit namespaces</is>
36
-
37
- <documentation>Resolve type name to FQN with implicit namespaces</documentation>
38
-
26
+ <baseType>
27
+ core:Capability
28
+ </baseType>
29
+ <is>
30
+ Resolve type name to FQN with implicit namespaces
31
+ </is>
32
+ <documentation>
33
+ Resolve type name to FQN with implicit namespaces
34
+ </documentation>
39
35
  <references>
40
36
  <see type="pardocumentation:TypeDescriptorParsing" relation="SeeAlso" />
41
37
  </references>
42
-
43
38
  <properties>
44
39
  <name type="type:Text">
45
- <documentation>name. TS type: type:Text. (required)</documentation>
40
+ <documentation>
41
+ name. TS type: type:Text. (required)
42
+ </documentation>
46
43
  </name>
47
44
  <bindings type="type:Text">
48
- <documentation>bindings. TS type: type:Text. (required)</documentation>
45
+ <documentation>
46
+ bindings. TS type: type:Text. (required)
47
+ </documentation>
49
48
  </bindings>
50
49
  <implicitContext type="type:Text">
51
- <documentation>implicitContext. TS type: type:Text. (optional)</documentation>
50
+ <documentation>
51
+ implicitContext. TS type: type:Text. (optional)
52
+ </documentation>
52
53
  </implicitContext>
53
54
  <fqn type="type:Text">
54
- <documentation>fqn. TS type: type:Text. (required)</documentation>
55
+ <documentation>
56
+ fqn. TS type: type:Text. (required)
57
+ </documentation>
55
58
  </fqn>
56
59
  </properties>
57
-
58
- </block>
60
+ </parcap:ResolveTypeName>
@@ -1,12 +1,6 @@
1
- <!--
2
- Parser Capability — SourceLoc
3
- FQN: org.blockml.bml.compiler.parser.capability.SourceLoc
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
+ <!--Parser Capability — SourceLoc
2
+ FQN: org.blockml.bml.compiler.parser.capability.SourceLoc-->
3
+ <parcap:SourceLoc 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"
@@ -29,26 +23,35 @@
29
23
  xmlns:serdocumentation="org.blockml.bml.compiler.serializer.documentation"
30
24
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
31
25
 
32
- <name>SourceLoc</name>
33
- <type>parcap:SourceLoc</type>
34
- <baseType>core:Capability</baseType>
35
- <is>Build SourceLocation from file path and line/column</is>
36
-
37
- <documentation>Build SourceLocation from file path and line/column</documentation>
38
-
26
+ <baseType>
27
+ core:Capability
28
+ </baseType>
29
+ <is>
30
+ Build SourceLocation from file path and line/column
31
+ </is>
32
+ <documentation>
33
+ Build SourceLocation from file path and line/column
34
+ </documentation>
39
35
  <properties>
40
36
  <filePath type="type:Text">
41
- <documentation>filePath. TS type: type:Text. (required)</documentation>
37
+ <documentation>
38
+ filePath. TS type: type:Text. (required)
39
+ </documentation>
42
40
  </filePath>
43
41
  <line type="type:Integer">
44
- <documentation>line. TS type: type:Integer. (required)</documentation>
42
+ <documentation>
43
+ line. TS type: type:Integer. (required)
44
+ </documentation>
45
45
  </line>
46
46
  <column type="type:Integer">
47
- <documentation>column. TS type: type:Integer. (required)</documentation>
47
+ <documentation>
48
+ column. TS type: type:Integer. (required)
49
+ </documentation>
48
50
  </column>
49
51
  <location type="bomcommon:SourceLocation">
50
- <documentation>location. TS type: bomcommon:SourceLocation. (required)</documentation>
52
+ <documentation>
53
+ location. TS type: bomcommon:SourceLocation. (required)
54
+ </documentation>
51
55
  </location>
52
56
  </properties>
53
-
54
- </block>
57
+ </parcap:SourceLoc>