@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 Capability — ProjectSourceRoots
3
- FQN: org.blockml.bml.framework.capability.ProjectSourceRoots
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 — ProjectSourceRoots
2
+ FQN: org.blockml.bml.framework.capability.ProjectSourceRoots-->
3
+ <fwcap:ProjectSourceRoots 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>ProjectSourceRoots</name>
35
- <type>fwcap:ProjectSourceRoots</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Project-owned BML roots for this package plus local packages/*</is>
38
-
39
- <documentation>This package's srcDir plus local packages/* BlockML modules (blockml.library or blockml.config.json). Does not walk parent workspaces or node_modules.</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Project-owned BML roots for this package plus local packages/*
33
+ </is>
34
+ <documentation>
35
+ This package's srcDir plus local packages/* BlockML modules (blockml.library or blockml.config.json). Does not walk parent workspaces or node_modules.
36
+ </documentation>
41
37
  <properties>
42
38
  <rootDir type="type:Text">
43
- <documentation>Project root. (required)</documentation>
39
+ <documentation>
40
+ Project root. (required)
41
+ </documentation>
44
42
  </rootDir>
45
43
  <srcDir type="type:Text">
46
- <documentation>Default blocks. (optional)</documentation>
44
+ <documentation>
45
+ Default blocks. (optional)
46
+ </documentation>
47
47
  </srcDir>
48
48
  <roots type="type:Text[]">
49
- <documentation>roots. TS type: type:Text[]. (required)</documentation>
49
+ <documentation>
50
+ roots. TS type: type:Text[]. (required)
51
+ </documentation>
50
52
  </roots>
51
53
  </properties>
52
-
53
- </block>
54
+ </fwcap:ProjectSourceRoots>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — RegistryFilesUnderRoots
3
- FQN: org.blockml.bml.framework.capability.RegistryFilesUnderRoots
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 — RegistryFilesUnderRoots
2
+ FQN: org.blockml.bml.framework.capability.RegistryFilesUnderRoots-->
3
+ <fwcap:RegistryFilesUnderRoots 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>RegistryFilesUnderRoots</name>
35
- <type>fwcap:RegistryFilesUnderRoots</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Registry file paths whose realpath lies under given roots</is>
38
-
39
- <documentation>Filters TypeRegistry document file paths to those under any of the given roots.</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Registry file paths whose realpath lies under given roots
33
+ </is>
34
+ <documentation>
35
+ Filters TypeRegistry document file paths to those under any of the given roots.
36
+ </documentation>
41
37
  <properties>
42
38
  <registry type="fwcap:TypeRegistry">
43
- <documentation>registry. TS type: fwcap:TypeRegistry. (required)</documentation>
39
+ <documentation>
40
+ registry. TS type: fwcap:TypeRegistry. (required)
41
+ </documentation>
44
42
  </registry>
45
43
  <roots type="type:Text[]">
46
- <documentation>roots. TS type: type:Text[]. (required)</documentation>
44
+ <documentation>
45
+ roots. TS type: type:Text[]. (required)
46
+ </documentation>
47
47
  </roots>
48
48
  <files type="type:Text[]">
49
- <documentation>files. TS type: type:Text[]. (required)</documentation>
49
+ <documentation>
50
+ files. TS type: type:Text[]. (required)
51
+ </documentation>
50
52
  </files>
51
53
  </properties>
52
-
53
- </block>
54
+ </fwcap:RegistryFilesUnderRoots>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — ResolveContracts
3
- FQN: org.blockml.bml.framework.capability.ResolveContracts
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 — ResolveContracts
2
+ FQN: org.blockml.bml.framework.capability.ResolveContracts-->
3
+ <fwcap:ResolveContracts 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,28 +25,34 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>ResolveContracts</name>
35
- <type>fwcap:ResolveContracts</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Merge contract Block members into effective member slice</is>
38
-
39
- <documentation>Resolves block.contracts[] in declaration order via TypeRegistry. Returns merged members from contract Blocks only (ignores contract subBlocks/compositions/embeddedBlocks). Unknown contract FQN → BML_UNKNOWN_CONTRACT in validateTypes.</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Merge contract Block members into effective member slice
33
+ </is>
34
+ <documentation>
35
+ Resolves block.contracts[] in declaration order via TypeRegistry. Returns merged members from contract Blocks only (ignores contract subBlocks/compositions/embeddedBlocks). Unknown contract FQN → BML_UNKNOWN_CONTRACT in validateTypes.
36
+ </documentation>
41
37
  <references>
42
38
  <see type="fwcap:ResolveEffectiveMembers" relation="SeeAlso" />
43
39
  <see type="fwcap:MemberIdentityKey" relation="SeeAlso" />
44
40
  </references>
45
-
46
41
  <properties>
47
42
  <block type="bomblock:BlockDefinition">
48
- <documentation>block. TS type: bomblock:BlockDefinition. (required)</documentation>
43
+ <documentation>
44
+ block. TS type: bomblock:BlockDefinition. (required)
45
+ </documentation>
49
46
  </block>
50
47
  <registry type="fwcap:TypeRegistry">
51
- <documentation>registry. TS type: fwcap:TypeRegistry. (required)</documentation>
48
+ <documentation>
49
+ registry. TS type: fwcap:TypeRegistry. (required)
50
+ </documentation>
52
51
  </registry>
53
52
  <members type="bommember:MemberDefinition[]">
54
- <documentation>members. TS type: bommember:MemberDefinition[]. (required)</documentation>
53
+ <documentation>
54
+ members. TS type: bommember:MemberDefinition[]. (required)
55
+ </documentation>
55
56
  </members>
56
57
  </properties>
57
-
58
- </block>
58
+ </fwcap:ResolveContracts>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — ResolveEffectiveMembers
3
- FQN: org.blockml.bml.framework.capability.ResolveEffectiveMembers
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 — ResolveEffectiveMembers
2
+ FQN: org.blockml.bml.framework.capability.ResolveEffectiveMembers-->
3
+ <fwcap:ResolveEffectiveMembers 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,29 +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>ResolveEffectiveMembers</name>
35
- <type>fwcap:ResolveEffectiveMembers</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Merge members along baseType chain, contracts, and local declarations</is>
38
-
39
- <documentation>Merge members along baseType chain, contracts, and local declarations</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Merge members along baseType chain, contracts, and local declarations
33
+ </is>
34
+ <documentation>
35
+ Merge members along baseType chain, contracts, and local declarations
36
+ </documentation>
41
37
  <references>
42
38
  <see type="fwcap:CollectBaseTypeChain" relation="SeeAlso" />
43
39
  <see type="fwcap:MemberIdentityKey" relation="SeeAlso" />
44
40
  <see type="fwcap:ResolveContracts" relation="SeeAlso" />
45
41
  </references>
46
-
47
42
  <properties>
48
43
  <block type="bomblock:BlockDefinition">
49
- <documentation>block. TS type: bomblock:BlockDefinition. (required)</documentation>
44
+ <documentation>
45
+ block. TS type: bomblock:BlockDefinition. (required)
46
+ </documentation>
50
47
  </block>
51
48
  <registry type="fwcap:TypeRegistry">
52
- <documentation>registry. TS type: fwcap:TypeRegistry. (required)</documentation>
49
+ <documentation>
50
+ registry. TS type: fwcap:TypeRegistry. (required)
51
+ </documentation>
53
52
  </registry>
54
53
  <members type="bommember:MemberDefinition[]">
55
- <documentation>members. TS type: bommember:MemberDefinition[]. (required)</documentation>
54
+ <documentation>
55
+ members. TS type: bommember:MemberDefinition[]. (required)
56
+ </documentation>
56
57
  </members>
57
58
  </properties>
58
-
59
- </block>
59
+ </fwcap:ResolveEffectiveMembers>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — ResolveLibrarySeeds
3
- FQN: org.blockml.bml.framework.capability.ResolveLibrarySeeds
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 — ResolveLibrarySeeds
2
+ FQN: org.blockml.bml.framework.capability.ResolveLibrarySeeds-->
3
+ <fwcap:ResolveLibrarySeeds 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,33 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>ResolveLibrarySeeds</name>
35
- <type>fwcap:ResolveLibrarySeeds</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Merge package.json blockml.library with extra Library.bml paths</is>
38
-
39
- <documentation>Identity seed from package.json blockml.library first, then extras (config.libraries or --libraries). Absolute paths, deduped by realpath. Missing files keep resolve().</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Merge package.json blockml.library with extra Library.bml paths
33
+ </is>
34
+ <documentation>
35
+ Identity seed from package.json blockml.library first, then extras (config.libraries or --libraries). Absolute paths, deduped by realpath. Missing files keep resolve().
36
+ </documentation>
41
37
  <references>
42
38
  <see type="fwcap:BootstrapTypeRegistry" relation="SeeAlso" />
43
39
  </references>
44
-
45
40
  <properties>
46
41
  <rootDir type="type:Text">
47
- <documentation>Package directory. Default process.cwd(). (optional)</documentation>
42
+ <documentation>
43
+ Package directory. Default process.cwd(). (optional)
44
+ </documentation>
48
45
  </rootDir>
49
46
  <extras type="type:Text[]">
50
- <documentation>Additional Library.bml paths. (optional)</documentation>
47
+ <documentation>
48
+ Additional Library.bml paths. (optional)
49
+ </documentation>
51
50
  </extras>
52
51
  <seeds type="type:Text[]">
53
- <documentation>seeds. TS type: type:Text[]. (required)</documentation>
52
+ <documentation>
53
+ seeds. TS type: type:Text[]. (required)
54
+ </documentation>
54
55
  </seeds>
55
56
  </properties>
56
-
57
- </block>
57
+ </fwcap:ResolveLibrarySeeds>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — RootFqnByFilePath
3
- FQN: org.blockml.bml.framework.capability.RootFqnByFilePath
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 — RootFqnByFilePath
2
+ FQN: org.blockml.bml.framework.capability.RootFqnByFilePath-->
3
+ <fwcap:RootFqnByFilePath 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>RootFqnByFilePath</name>
35
- <type>fwcap:RootFqnByFilePath</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Map file path to document-root block FQN from TypeRegistry</is>
38
-
39
- <documentation>Map file path to document-root block FQN from TypeRegistry</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Map file path to document-root block FQN from TypeRegistry
33
+ </is>
34
+ <documentation>
35
+ Map file path to document-root block FQN from TypeRegistry
36
+ </documentation>
41
37
  <properties>
42
38
  <registry type="fwcap:TypeRegistry">
43
- <documentation>registry. TS type: fwcap:TypeRegistry. (required)</documentation>
39
+ <documentation>
40
+ registry. TS type: fwcap:TypeRegistry. (required)
41
+ </documentation>
44
42
  </registry>
45
43
  <roots type="type:Text">
46
- <documentation>Map&lt;filePath, rootFqn&gt;. (required)</documentation>
44
+ <documentation>
45
+ Map&lt;filePath, rootFqn>. (required)
46
+ </documentation>
47
47
  </roots>
48
48
  </properties>
49
-
50
- </block>
49
+ </fwcap:RootFqnByFilePath>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — RootFqns
3
- FQN: org.blockml.bml.framework.capability.RootFqns
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 — RootFqns
2
+ FQN: org.blockml.bml.framework.capability.RootFqns-->
3
+ <fwcap:RootFqns 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>RootFqns</name>
35
- <type>fwcap:RootFqns</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Root block FQNs from TypeRegistry</is>
38
-
39
- <documentation>Root block FQNs from TypeRegistry</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Root block FQNs from TypeRegistry
33
+ </is>
34
+ <documentation>
35
+ Root block FQNs from TypeRegistry
36
+ </documentation>
41
37
  <properties>
42
38
  <registry type="fwcap:TypeRegistry">
43
- <documentation>registry. TS type: fwcap:TypeRegistry. (required)</documentation>
39
+ <documentation>
40
+ registry. TS type: fwcap:TypeRegistry. (required)
41
+ </documentation>
44
42
  </registry>
45
43
  <fqns type="type:Text[]">
46
- <documentation>fqns. TS type: type:Text[]. (required)</documentation>
44
+ <documentation>
45
+ fqns. TS type: type:Text[]. (required)
46
+ </documentation>
47
47
  </fqns>
48
48
  </properties>
49
-
50
- </block>
49
+ </fwcap:RootFqns>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — TypeRegistry
3
- FQN: org.blockml.bml.framework.capability.TypeRegistry
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 — TypeRegistry
2
+ FQN: org.blockml.bml.framework.capability.TypeRegistry-->
3
+ <fwcap:TypeRegistry 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,25 +25,24 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>TypeRegistry</name>
35
- <type>fwcap:TypeRegistry</type>
36
- <baseType>core:Capability</baseType>
37
- <is>In-memory index of BlockDefinition documents by type FQN</is>
38
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ In-memory index of BlockDefinition documents by type FQN
33
+ </is>
39
34
  <documentation>
40
35
  # In-memory index of BlockDefinition documents by type FQN
41
-
36
+
42
37
  Class exported from registry/type-registry.ts. Implements bomapi:TypeRegistryReader (get/has).
43
-
38
+
44
39
  - register prefers a non-node_modules source over a node_modules source for the same type FQN
45
40
  (workspace beats dependency). Same-origin last write wins.
46
41
  - withOverlay(document) returns a copy with that document registered — open-buffer overlay;
47
42
  does not mutate this registry.
48
43
  </documentation>
49
-
50
44
  <references>
51
45
  <see type="bomapi:TypeRegistryReader" relation="SeeAlso" />
52
46
  <see type="fwdocumentation:TypeRegistryBootstrap" relation="SeeAlso" />
53
47
  </references>
54
-
55
- </block>
48
+ </fwcap:TypeRegistry>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — ValidateConstraints
3
- FQN: org.blockml.bml.framework.capability.ValidateConstraints
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 — ValidateConstraints
2
+ FQN: org.blockml.bml.framework.capability.ValidateConstraints-->
3
+ <fwcap:ValidateConstraints 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,33 @@
31
25
  xmlns:pardocumentation="org.blockml.bml.compiler.parser.documentation"
32
26
  xmlns:valdocumentation="org.blockml.bml.compiler.validator.documentation">
33
27
 
34
- <name>ValidateConstraints</name>
35
- <type>fwcap:ValidateConstraints</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Evaluate constraint BlockInstances in composition tree</is>
38
-
39
- <documentation>Evaluate constraint BlockInstances in composition tree</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Evaluate constraint BlockInstances in composition tree
33
+ </is>
34
+ <documentation>
35
+ Evaluate constraint BlockInstances in composition tree
36
+ </documentation>
41
37
  <references>
42
38
  <see type="fwdocumentation:ConstraintValidation" relation="SeeAlso" />
43
39
  </references>
44
-
45
40
  <properties>
46
41
  <document type="bomdoc:BomDocument">
47
- <documentation>document. TS type: bomdoc:BomDocument. (required)</documentation>
42
+ <documentation>
43
+ document. TS type: bomdoc:BomDocument. (required)
44
+ </documentation>
48
45
  </document>
49
46
  <registry type="fwcap:TypeRegistry">
50
- <documentation>registry. TS type: fwcap:TypeRegistry. (required)</documentation>
47
+ <documentation>
48
+ registry. TS type: fwcap:TypeRegistry. (required)
49
+ </documentation>
51
50
  </registry>
52
51
  <diagnostics type="bomcommon:Diagnostic[]">
53
- <documentation>diagnostics. TS type: bomcommon:Diagnostic[]. (required)</documentation>
52
+ <documentation>
53
+ diagnostics. TS type: bomcommon:Diagnostic[]. (required)
54
+ </documentation>
54
55
  </diagnostics>
55
56
  </properties>
56
-
57
- </block>
57
+ </fwcap:ValidateConstraints>
@@ -1,12 +1,6 @@
1
- <!--
2
- Framework Capability — ValidateEmbeddedBlocks
3
- FQN: org.blockml.bml.framework.capability.ValidateEmbeddedBlocks
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 — ValidateEmbeddedBlocks
2
+ FQN: org.blockml.bml.framework.capability.ValidateEmbeddedBlocks-->
3
+ <fwcap:ValidateEmbeddedBlocks 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>ValidateEmbeddedBlocks</name>
35
- <type>fwcap:ValidateEmbeddedBlocks</type>
36
- <baseType>core:Capability</baseType>
37
- <is>Embedded block and sub-block placement rules</is>
38
-
39
- <documentation>Embedded block and sub-block placement rules</documentation>
40
-
28
+ <baseType>
29
+ core:Capability
30
+ </baseType>
31
+ <is>
32
+ Embedded block and sub-block placement rules
33
+ </is>
34
+ <documentation>
35
+ Embedded block and sub-block placement rules
36
+ </documentation>
41
37
  <properties>
42
38
  <document type="bomdoc:BomDocument">
43
- <documentation>document. TS type: bomdoc:BomDocument. (required)</documentation>
39
+ <documentation>
40
+ document. TS type: bomdoc:BomDocument. (required)
41
+ </documentation>
44
42
  </document>
45
43
  <diagnostics type="bomcommon:Diagnostic[]">
46
- <documentation>diagnostics. TS type: bomcommon:Diagnostic[]. (required)</documentation>
44
+ <documentation>
45
+ diagnostics. TS type: bomcommon:Diagnostic[]. (required)
46
+ </documentation>
47
47
  </diagnostics>
48
48
  </properties>
49
-
50
- </block>
49
+ </fwcap:ValidateEmbeddedBlocks>