@blockml/framework 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 (75) hide show
  1. package/blocks/org/blockml/bml/framework/FrameworkType.bml +16 -20
  2. package/blocks/org/blockml/bml/framework/Library.bml +21 -29
  3. package/blocks/org/blockml/bml/framework/README.bml +15 -22
  4. package/blocks/org/blockml/bml/framework/capability/BootstrapFullProjectRegistry.bml +25 -23
  5. package/blocks/org/blockml/bml/framework/capability/BootstrapTypeRegistry.bml +19 -21
  6. package/blocks/org/blockml/bml/framework/capability/CollectBaseTypeChain.bml +22 -21
  7. package/blocks/org/blockml/bml/framework/capability/DefaultBootstrapPaths.bml +19 -20
  8. package/blocks/org/blockml/bml/framework/capability/EvaluateExpression.bml +19 -20
  9. package/blocks/org/blockml/bml/framework/capability/EvaluateInterpolatedText.bml +19 -20
  10. package/blocks/org/blockml/bml/framework/capability/EvaluateParseValue.bml +23 -23
  11. package/blocks/org/blockml/bml/framework/capability/FindLocalMember.bml +22 -22
  12. package/blocks/org/blockml/bml/framework/capability/ForkBom.bml +19 -21
  13. package/blocks/org/blockml/bml/framework/capability/GetExportedFqns.bml +25 -22
  14. package/blocks/org/blockml/bml/framework/capability/GetPropertyNumericValue.bml +19 -20
  15. package/blocks/org/blockml/bml/framework/capability/IsLiteralValue.bml +19 -20
  16. package/blocks/org/blockml/bml/framework/capability/MemberIdentityKey.bml +19 -20
  17. package/blocks/org/blockml/bml/framework/capability/ParseExpression.bml +19 -21
  18. package/blocks/org/blockml/bml/framework/capability/ParseInterpolatedText.bml +22 -21
  19. package/blocks/org/blockml/bml/framework/capability/PeekLibraryTypeFqn.bml +19 -21
  20. package/blocks/org/blockml/bml/framework/capability/ProjectLibraryPackageDirs.bml +19 -20
  21. package/blocks/org/blockml/bml/framework/capability/ProjectLibraryPackageRoots.bml +19 -20
  22. package/blocks/org/blockml/bml/framework/capability/ProjectSourceRoots.bml +22 -21
  23. package/blocks/org/blockml/bml/framework/capability/RegistryFilesUnderRoots.bml +22 -21
  24. package/blocks/org/blockml/bml/framework/capability/ResolveContracts.bml +22 -22
  25. package/blocks/org/blockml/bml/framework/capability/ResolveEffectiveMembers.bml +22 -22
  26. package/blocks/org/blockml/bml/framework/capability/ResolveLibrarySeeds.bml +22 -22
  27. package/blocks/org/blockml/bml/framework/capability/RootFqnByFilePath.bml +19 -20
  28. package/blocks/org/blockml/bml/framework/capability/RootFqns.bml +19 -20
  29. package/blocks/org/blockml/bml/framework/capability/TypeRegistry.bml +12 -19
  30. package/blocks/org/blockml/bml/framework/capability/ValidateConstraints.bml +22 -22
  31. package/blocks/org/blockml/bml/framework/capability/ValidateEmbeddedBlocks.bml +19 -20
  32. package/blocks/org/blockml/bml/framework/capability/ValidateGenerics.bml +25 -24
  33. package/blocks/org/blockml/bml/framework/capability/ValidateInstances.bml +22 -21
  34. package/blocks/org/blockml/bml/framework/capability/ValidatePresets.bml +22 -21
  35. package/blocks/org/blockml/bml/framework/capability/ValidateReadOnly.bml +22 -21
  36. package/blocks/org/blockml/bml/framework/capability/ValidateTypes.bml +30 -25
  37. package/blocks/org/blockml/bml/framework/capability/ValidateVersions.bml +22 -22
  38. package/blocks/org/blockml/bml/framework/capability/ValidateVisibility.bml +22 -21
  39. package/blocks/org/blockml/bml/framework/config/FrameworkDiagnosticCodes.bml +16 -19
  40. package/blocks/org/blockml/bml/framework/documentation/ArchitectureOverview.bml +16 -21
  41. package/blocks/org/blockml/bml/framework/documentation/ConstraintValidation.bml +17 -22
  42. package/blocks/org/blockml/bml/framework/documentation/Diagnostics.bml +23 -28
  43. package/blocks/org/blockml/bml/framework/documentation/EffectiveMembers.bml +18 -23
  44. package/blocks/org/blockml/bml/framework/documentation/ExpressionParsing.bml +23 -24
  45. package/blocks/org/blockml/bml/framework/documentation/Introduction.bml +17 -22
  46. package/blocks/org/blockml/bml/framework/documentation/LayerSeparation.bml +19 -24
  47. package/blocks/org/blockml/bml/framework/documentation/PackageOwnership.bml +19 -24
  48. package/blocks/org/blockml/bml/framework/documentation/PublicApi.bml +19 -22
  49. package/blocks/org/blockml/bml/framework/documentation/ScopeExclusions.bml +16 -21
  50. package/blocks/org/blockml/bml/framework/documentation/TypeRegistryBootstrap.bml +22 -27
  51. package/blocks/org/blockml/bml/framework/expression/ArrayExpressionNode.bml +19 -20
  52. package/blocks/org/blockml/bml/framework/expression/BinaryExpressionNode.bml +25 -22
  53. package/blocks/org/blockml/bml/framework/expression/CallExpressionNode.bml +22 -21
  54. package/blocks/org/blockml/bml/framework/expression/ExpressionNode.bml +16 -20
  55. package/blocks/org/blockml/bml/framework/expression/InterpolatedStringNode.bml +19 -20
  56. package/blocks/org/blockml/bml/framework/expression/LiteralExpressionNode.bml +19 -20
  57. package/blocks/org/blockml/bml/framework/expression/ObjectExpressionEntry.bml +19 -20
  58. package/blocks/org/blockml/bml/framework/expression/ObjectExpressionNode.bml +19 -20
  59. package/blocks/org/blockml/bml/framework/expression/ParseExpressionError.bml +19 -20
  60. package/blocks/org/blockml/bml/framework/expression/ParseExpressionOutcome.bml +22 -21
  61. package/blocks/org/blockml/bml/framework/expression/ParseExpressionResult.bml +19 -20
  62. package/blocks/org/blockml/bml/framework/expression/PropertyExpressionNode.bml +19 -20
  63. package/blocks/org/blockml/bml/framework/registry/BootstrapOptions.bml +22 -21
  64. package/blocks/org/blockml/bml/framework/registry/BootstrapResult.bml +25 -22
  65. package/blocks/org/blockml/bml/framework/registry/BootstrapTrace.bml +28 -23
  66. package/dist/expression/parse-expression.d.ts.map +1 -1
  67. package/dist/expression/parse-expression.js +4 -1
  68. package/dist/expression/parse-expression.js.map +1 -1
  69. package/dist/expression/parse-interpolated-text.d.ts.map +1 -1
  70. package/dist/expression/parse-interpolated-text.js +60 -30
  71. package/dist/expression/parse-interpolated-text.js.map +1 -1
  72. package/dist/validate/validate-types.d.ts.map +1 -1
  73. package/dist/validate/validate-types.js +17 -26
  74. package/dist/validate/validate-types.js.map +1 -1
  75. package/package.json +4 -4
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework FrameworkType
3
- FQN: org.blockml.bml.framework.FrameworkType
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
+ <!--Framework — FrameworkType
2
+ FQN: org.blockml.bml.framework.FrameworkType-->
3
+ <framework:FrameworkType 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"
@@ -31,17 +25,19 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>FrameworkType</name>
35
- <type>framework:FrameworkType</type>
36
- <baseType>core:Entity</baseType>
37
- <is>Abstract marker for framework implementation data-structure blocks</is>
38
-
39
- <documentation>All org.blockml.bml.framework.registry.* and .expression.* types extend this marker. Distinct from bom:UrmodellType (parse-result data) and core:Capability (operations).</documentation>
40
-
28
+ <baseType>
29
+ core:Entity
30
+ </baseType>
31
+ <is>
32
+ Abstract marker for framework implementation data-structure blocks
33
+ </is>
34
+ <documentation>
35
+ All org.blockml.bml.framework.registry.* and .expression.* types extend this marker. Distinct from bom:UrmodellType (parse-result data) and core:Capability (operations).
36
+ </documentation>
37
+ <abstract>
38
+ true
39
+ </abstract>
41
40
  <references>
42
41
  <see type="bom:UrmodellType" relation="SeeAlso" />
43
42
  </references>
44
-
45
- <abstract>true</abstract>
46
-
47
- </block>
43
+ </framework:FrameworkType>
@@ -1,12 +1,6 @@
1
- <!--
2
- BlockML Framework Library Descriptor
3
- FQN: org.blockml.bml.framework.Library
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
+ <!--BlockML Framework Library Descriptor
2
+ FQN: org.blockml.bml.framework.Library-->
3
+ <framework:Library 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"
@@ -31,50 +25,49 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>Library</name>
35
- <type>framework:Library</type>
36
- <baseType>core:BlockLibrary</baseType>
37
- <is>The BlockML Framework utilities package library catalog</is>
38
-
28
+ <baseType>
29
+ core:BlockLibrary
30
+ </baseType>
31
+ <is>
32
+ The BlockML Framework utilities package library catalog
33
+ </is>
34
+ <version>
35
+ 0.9.5
36
+ </version>
39
37
  <documentation>
40
38
  # The BlockML Framework utilities package library catalog
41
-
39
+
42
40
  Canonical framework specification for BlockML Stage-2 utilities — TypeRegistry,
43
41
  bootstrap, fork/resolve, parseExpression, validateTypes/validateConstraints.
44
-
42
+
45
43
  TypeScript in packages/framework/src/ implements this library.
46
-
44
+
47
45
  Urmodell types live in org.blockml.bml.bom.* (@blockml/bom).
48
-
46
+
49
47
  Membership is defined exclusively by this blocks list.
50
48
  </documentation>
51
-
52
- <version>0.9.4</version>
53
-
54
49
  <language>
55
- <English />
50
+ <blockml:language.English />
56
51
  </language>
57
-
58
52
  <properties>
59
53
  <description override="true">
60
54
  <value>BlockML Framework utilities library</value>
61
55
  </description>
62
56
  </properties>
63
-
64
57
  <aggregations>
65
- <readMe>
58
+ <readMe override="true">
66
59
  <composition>
67
60
  <framework:README />
68
61
  </composition>
69
62
  </readMe>
70
- <dependencies>
63
+ <dependencies override="true">
71
64
  <composition>
72
65
  <blockml:Library />
73
66
  <bom:Library />
74
67
  <parser:Library />
75
68
  </composition>
76
69
  </dependencies>
77
- <blocks>
70
+ <blocks override="true">
78
71
  <composition>
79
72
  <framework:FrameworkType />
80
73
  <fwregistry:BootstrapResult />
@@ -142,5 +135,4 @@
142
135
  </composition>
143
136
  </blocks>
144
137
  </aggregations>
145
-
146
- </block>
138
+ </framework:Library>
@@ -1,12 +1,6 @@
1
- <!--
2
- BlockML Framework — README
3
- FQN: org.blockml.bml.framework.README
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
+ <!--BlockML Framework — README
2
+ FQN: org.blockml.bml.framework.README-->
3
+ <framework:README 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"
@@ -31,35 +25,35 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>README</name>
35
- <type>framework:README</type>
36
- <baseType>core:ReadMe</baseType>
37
- <is>Reading entry for the Framework utilities library</is>
38
-
28
+ <baseType>
29
+ core:ReadMe
30
+ </baseType>
31
+ <is>
32
+ Reading entry for the Framework utilities library
33
+ </is>
39
34
  <documentation>
40
35
  The @blockml/framework package provides Stage-2 utilities: TypeRegistry,
41
36
  bootstrapTypeRegistry, forkBom, resolveEffectiveMembers, parseExpression,
42
37
  validateTypes, and validateConstraints.
43
-
38
+
44
39
  This library (org.blockml.bml.framework.*) is the SSOT; TypeScript in
45
40
  packages/framework/src/ implements it. Parity tests in packages/framework/test/
46
41
  verify BML ↔ TS alignment.
47
-
42
+
48
43
  Start reading at org.blockml.bml.framework.documentation.Introduction (ReadNext chain).
49
-
44
+
50
45
  Layer separation:
51
46
  • org.blockml.bml.bom.* (@blockml/bom) — Urmodell types framework operates on
52
47
  • org.blockml.bml.framework.* (this library) — Stage-2 utilities
53
48
  • org.blockml.bml.compiler.parser.* (@blockml/parser) — parse() for bootstrap
54
49
  • org.blockml.bml.compiler.validator.* (@blockml/validator) — validate() orchestrator
55
50
  • org.blockml.bml.definition.* (@blockml/core) — language BML corpus (npm)
56
-
51
+
57
52
  Modules: documentation (narrative specs), registry, expression, config,
58
53
  capability (public operations).
59
-
54
+
60
55
  Not in this library: validate() orchestration (@blockml/validator); parse()/serialize() entry points.
61
56
  </documentation>
62
-
63
57
  <references>
64
58
  <see type="fwdocumentation:Introduction" relation="ReadFirst" />
65
59
  <see type="fwdocumentation:PublicApi" relation="SeeAlso" />
@@ -67,5 +61,4 @@
67
61
  <see type="pardocumentation:Introduction" relation="SeeAlso" />
68
62
  <see type="valdocumentation:Introduction" relation="SeeAlso" />
69
63
  </references>
70
-
71
- </block>
64
+ </framework:README>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — BootstrapFullProjectRegistry
3
- FQN: org.blockml.bml.framework.capability.BootstrapFullProjectRegistry
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
+ <!--Framework Capability — BootstrapFullProjectRegistry
2
+ FQN: org.blockml.bml.framework.capability.BootstrapFullProjectRegistry-->
3
+ <fwcap:BootstrapFullProjectRegistry 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"
@@ -31,32 +25,40 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>BootstrapFullProjectRegistry</name>
35
- <type>fwcap:BootstrapFullProjectRegistry</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Bootstrap the same corpus as blockml validate --all</is>
38
-
39
- <documentation>projectSourceRoots plus resolveLibrarySeeds, then bootstrapTypeRegistry. Resulting registry includes local project BML and the library graph (npm BlockML packages). Search and validate --all must use this entry point.</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Bootstrap the same corpus as blockml validate --all
33
+ </is>
34
+ <documentation>
35
+ projectSourceRoots plus resolveLibrarySeeds, then bootstrapTypeRegistry. Resulting registry includes local project BML and the library graph (npm BlockML packages). Search and validate --all must use this entry point.
36
+ </documentation>
41
37
  <references>
42
38
  <see type="fwcap:ProjectSourceRoots" relation="SeeAlso" />
43
39
  <see type="fwcap:BootstrapTypeRegistry" relation="SeeAlso" />
44
40
  <see type="fwcap:ResolveLibrarySeeds" relation="SeeAlso" />
45
41
  </references>
46
-
47
42
  <properties>
48
43
  <rootDir type="type:Text">
49
- <documentation>Project root. (required)</documentation>
44
+ <documentation>
45
+ Project root. (required)
46
+ </documentation>
50
47
  </rootDir>
51
48
  <srcDir type="type:Text">
52
- <documentation>Default blocks. (optional)</documentation>
49
+ <documentation>
50
+ Default blocks. (optional)
51
+ </documentation>
53
52
  </srcDir>
54
53
  <libraries type="type:Text[]">
55
- <documentation>Extra Library.bml seeds (config.libraries / --libraries). (optional)</documentation>
54
+ <documentation>
55
+ Extra Library.bml seeds (config.libraries / --libraries). (optional)
56
+ </documentation>
56
57
  </libraries>
57
58
  <result type="fwregistry:BootstrapResult">
58
- <documentation>result. TS type: fwregistry:BootstrapResult. (required)</documentation>
59
+ <documentation>
60
+ result. TS type: fwregistry:BootstrapResult. (required)
61
+ </documentation>
59
62
  </result>
60
63
  </properties>
61
-
62
- </block>
64
+ </fwcap:BootstrapFullProjectRegistry>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — BootstrapTypeRegistry
3
- FQN: org.blockml.bml.framework.capability.BootstrapTypeRegistry
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
+ <!--Framework Capability — BootstrapTypeRegistry
2
+ FQN: org.blockml.bml.framework.capability.BootstrapTypeRegistry-->
3
+ <fwcap:BootstrapTypeRegistry 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"
@@ -31,27 +25,31 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>BootstrapTypeRegistry</name>
35
- <type>fwcap:BootstrapTypeRegistry</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Populate TypeRegistry from corpus paths or Library.bml graph</is>
38
-
39
- <documentation>Accepts fwregistry:BootstrapOptions or legacy paths[] + rootDir. Library mode resolves dependencies/subLibraries in order, then registers blocks from each library blocks root. Flat mode walks paths for all .bml files.</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Populate TypeRegistry from corpus paths or Library.bml graph
33
+ </is>
34
+ <documentation>
35
+ Accepts fwregistry:BootstrapOptions or legacy paths[] + rootDir. Library mode resolves dependencies/subLibraries in order, then registers blocks from each library blocks root. Flat mode walks paths for all .bml files.
36
+ </documentation>
41
37
  <references>
42
38
  <see type="fwcap:DefaultBootstrapPaths" relation="SeeAlso" />
43
39
  <see type="fwcap:ResolveLibrarySeeds" relation="SeeAlso" />
44
40
  <see type="fwregistry:BootstrapOptions" relation="SeeAlso" />
45
41
  <see type="parser:Library" relation="SeeAlso" />
46
42
  </references>
47
-
48
43
  <properties>
49
44
  <options type="fwregistry:BootstrapOptions">
50
- <documentation>Bootstrap options object. (optional)</documentation>
45
+ <documentation>
46
+ Bootstrap options object. (optional)
47
+ </documentation>
51
48
  </options>
52
49
  <result type="fwregistry:BootstrapResult">
53
- <documentation>result. TS type: fwregistry:BootstrapResult. (required)</documentation>
50
+ <documentation>
51
+ result. TS type: fwregistry:BootstrapResult. (required)
52
+ </documentation>
54
53
  </result>
55
54
  </properties>
56
-
57
- </block>
55
+ </fwcap:BootstrapTypeRegistry>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — CollectBaseTypeChain
3
- FQN: org.blockml.bml.framework.capability.CollectBaseTypeChain
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
+ <!--Framework Capability — CollectBaseTypeChain
2
+ FQN: org.blockml.bml.framework.capability.CollectBaseTypeChain-->
3
+ <fwcap:CollectBaseTypeChain 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"
@@ -31,23 +25,30 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>CollectBaseTypeChain</name>
35
- <type>fwcap:CollectBaseTypeChain</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Walk baseType references to root via TypeRegistry</is>
38
-
39
- <documentation>Walk baseType references to root via TypeRegistry</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Walk baseType references to root via TypeRegistry
33
+ </is>
34
+ <documentation>
35
+ Walk baseType references to root via TypeRegistry
36
+ </documentation>
41
37
  <properties>
42
38
  <block type="bomblock:BlockDefinition">
43
- <documentation>block. TS type: bomblock:BlockDefinition. (required)</documentation>
39
+ <documentation>
40
+ block. TS type: bomblock:BlockDefinition. (required)
41
+ </documentation>
44
42
  </block>
45
43
  <registry type="fwcap:TypeRegistry">
46
- <documentation>registry. TS type: fwcap:TypeRegistry. (required)</documentation>
44
+ <documentation>
45
+ registry. TS type: fwcap:TypeRegistry. (required)
46
+ </documentation>
47
47
  </registry>
48
48
  <chain type="bomblock:BlockDefinition[]">
49
- <documentation>chain. TS type: bomblock:BlockDefinition[]. (required)</documentation>
49
+ <documentation>
50
+ chain. TS type: bomblock:BlockDefinition[]. (required)
51
+ </documentation>
50
52
  </chain>
51
53
  </properties>
52
-
53
- </block>
54
+ </fwcap:CollectBaseTypeChain>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — DefaultBootstrapPaths
3
- FQN: org.blockml.bml.framework.capability.DefaultBootstrapPaths
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
+ <!--Framework Capability — DefaultBootstrapPaths
2
+ FQN: org.blockml.bml.framework.capability.DefaultBootstrapPaths-->
3
+ <fwcap:DefaultBootstrapPaths 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"
@@ -31,20 +25,25 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>DefaultBootstrapPaths</name>
35
- <type>fwcap:DefaultBootstrapPaths</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Corpus fallback paths from production BlockML npm dependencies</is>
38
-
39
- <documentation>Nearest package.json dependencies + optionalDependencies that have blockml.library or blockml.config.json. Resolve via node_modules walk-up. Package source root is srcDir (default blocks; foreign blockml.config.json may override srcDir only).</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Corpus fallback paths from production BlockML npm dependencies
33
+ </is>
34
+ <documentation>
35
+ Nearest package.json dependencies + optionalDependencies that have blockml.library or blockml.config.json. Resolve via node_modules walk-up. Package source root is srcDir (default blocks; foreign blockml.config.json may override srcDir only).
36
+ </documentation>
41
37
  <properties>
42
38
  <rootDir type="type:Text">
43
- <documentation>Default process.cwd(). (optional)</documentation>
39
+ <documentation>
40
+ Default process.cwd(). (optional)
41
+ </documentation>
44
42
  </rootDir>
45
43
  <paths type="type:Text[]">
46
- <documentation>paths. TS type: type:Text[]. (required)</documentation>
44
+ <documentation>
45
+ paths. TS type: type:Text[]. (required)
46
+ </documentation>
47
47
  </paths>
48
48
  </properties>
49
-
50
- </block>
49
+ </fwcap:DefaultBootstrapPaths>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — EvaluateExpression
3
- FQN: org.blockml.bml.framework.capability.EvaluateExpression
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
+ <!--Framework Capability — EvaluateExpression
2
+ FQN: org.blockml.bml.framework.capability.EvaluateExpression-->
3
+ <fwcap:EvaluateExpression 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"
@@ -31,20 +25,25 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>EvaluateExpression</name>
35
- <type>fwcap:EvaluateExpression</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Evaluate a restricted expression AST against the #this scope</is>
38
-
39
- <documentation>#this is the outer Block property map. Same lookup as full expressions: size ≡ #this.size, this ≡ #this.this, this.x ≡ #this.this.x. Restricted profile only.</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Evaluate a restricted expression AST against the #this scope
33
+ </is>
34
+ <documentation>
35
+ #this is the outer Block property map. Same lookup as full expressions: size ≡ #this.size, this ≡ #this.this, this.x ≡ #this.this.x. Restricted profile only.
36
+ </documentation>
41
37
  <properties>
42
38
  <node type="fwexpression:ExpressionNode">
43
- <documentation>node. TS type: fwexpression:ExpressionNode. (required)</documentation>
39
+ <documentation>
40
+ node. TS type: fwexpression:ExpressionNode. (required)
41
+ </documentation>
44
42
  </node>
45
43
  <value type="type:Text">
46
- <documentation>BML type gap: TS unknown evaluation result. (required)</documentation>
44
+ <documentation>
45
+ BML type gap: TS unknown evaluation result. (required)
46
+ </documentation>
47
47
  </value>
48
48
  </properties>
49
-
50
- </block>
49
+ </fwcap:EvaluateExpression>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — EvaluateInterpolatedText
3
- FQN: org.blockml.bml.framework.capability.EvaluateInterpolatedText
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
+ <!--Framework Capability — EvaluateInterpolatedText
2
+ FQN: org.blockml.bml.framework.capability.EvaluateInterpolatedText-->
3
+ <fwcap:EvaluateInterpolatedText 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"
@@ -31,20 +25,25 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>EvaluateInterpolatedText</name>
35
- <type>fwcap:EvaluateInterpolatedText</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Evaluate interpolated text against the #this scope</is>
38
-
39
- <documentation>Parses holes then evaluates them with the same #this lookup as full expressions. Result is concatenated Text.</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Evaluate interpolated text against the #this scope
33
+ </is>
34
+ <documentation>
35
+ Parses holes then evaluates them with the same #this lookup as full expressions. Result is concatenated Text.
36
+ </documentation>
41
37
  <properties>
42
38
  <source type="type:Text">
43
- <documentation>source. TS type: type:Text. (required)</documentation>
39
+ <documentation>
40
+ source. TS type: type:Text. (required)
41
+ </documentation>
44
42
  </source>
45
43
  <value type="type:Text">
46
- <documentation>value. TS type: type:Text. (required)</documentation>
44
+ <documentation>
45
+ value. TS type: type:Text. (required)
46
+ </documentation>
47
47
  </value>
48
48
  </properties>
49
-
50
- </block>
49
+ </fwcap:EvaluateInterpolatedText>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — EvaluateParseValue
3
- FQN: org.blockml.bml.framework.capability.EvaluateParseValue
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
+ <!--Framework Capability — EvaluateParseValue
2
+ FQN: org.blockml.bml.framework.capability.EvaluateParseValue-->
3
+ <fwcap:EvaluateParseValue 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"
@@ -31,38 +25,44 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>EvaluateParseValue</name>
35
- <type>fwcap:EvaluateParseValue</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Evaluate PrimitiveType.parseValue on authored text</is>
38
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Evaluate PrimitiveType.parseValue on authored text
33
+ </is>
39
34
  <documentation>
40
35
  Host-evaluable PrimitiveType.parseValue: Text → host value.
41
-
36
+
42
37
  - Looks up `parseValue` on the named primitive (multiplicity and generics stripped)
43
38
  - No member, abstract, non-TypeScript, or type missing from the registry → skipped
44
39
  - A thrown Error → `BML_INVALID_VALUE`
45
40
  - Lexical only — no `this.min` / `this.max`, no TypeRegistry existence
46
41
  </documentation>
47
-
48
42
  <references>
49
43
  <see type="fwcap:ResolveEffectiveMembers" relation="SeeAlso" />
50
44
  <see type="fwcap:ValidateTypes" relation="SeeAlso" />
51
45
  </references>
52
-
53
46
  <properties>
54
47
  <typeFqn type="type:Text">
55
- <documentation>Declared primitive FQN or type expression. (required)</documentation>
48
+ <documentation>
49
+ Declared primitive FQN or type expression. (required)
50
+ </documentation>
56
51
  </typeFqn>
57
52
  <raw type="type:Text">
58
- <documentation>Authored XML text. (required)</documentation>
53
+ <documentation>
54
+ Authored XML text. (required)
55
+ </documentation>
59
56
  </raw>
60
57
  <registry type="fwcap:TypeRegistry">
61
- <documentation>registry. TS type: fwcap:TypeRegistry. (required)</documentation>
58
+ <documentation>
59
+ registry. TS type: fwcap:TypeRegistry. (required)
60
+ </documentation>
62
61
  </registry>
63
62
  <result type="type:Text">
64
- <documentation>ok+value, ok+skipped, or ok:false+message. (required)</documentation>
63
+ <documentation>
64
+ ok+value, ok+skipped, or ok:false+message. (required)
65
+ </documentation>
65
66
  </result>
66
67
  </properties>
67
-
68
- </block>
68
+ </fwcap:EvaluateParseValue>