@blockml/fatblock-target 0.9.3 → 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.
- package/blocks/org/blockml/bml/target/fatblock/FatblockType.bml +16 -18
- package/blocks/org/blockml/bml/target/fatblock/Library.bml +20 -27
- package/blocks/org/blockml/bml/target/fatblock/README.bml +14 -21
- package/blocks/org/blockml/bml/target/fatblock/api/AssembleFatDocumentResult.bml +20 -18
- package/blocks/org/blockml/bml/target/fatblock/api/FatBlockOptions.bml +33 -21
- package/blocks/org/blockml/bml/target/fatblock/api/FatBlockRenderOutput.bml +23 -19
- package/blocks/org/blockml/bml/target/fatblock/capability/AssembleFatDocument.bml +26 -24
- package/blocks/org/blockml/bml/target/fatblock/capability/CloneBlockDefinition.bml +19 -20
- package/blocks/org/blockml/bml/target/fatblock/capability/CollectCandidateFqns.bml +31 -25
- package/blocks/org/blockml/bml/target/fatblock/capability/FatOutputBasename.bml +19 -21
- package/blocks/org/blockml/bml/target/fatblock/capability/FilterByIncludes.bml +22 -22
- package/blocks/org/blockml/bml/target/fatblock/capability/MatchesIncludePattern.bml +22 -21
- package/blocks/org/blockml/bml/target/fatblock/capability/MergeNamespaceBindings.bml +22 -22
- package/blocks/org/blockml/bml/target/fatblock/capability/Render.bml +22 -22
- package/blocks/org/blockml/bml/target/fatblock/capability/ResolveOptions.bml +19 -21
- package/blocks/org/blockml/bml/target/fatblock/capability/RootFqnsByFilePath.bml +19 -21
- package/blocks/org/blockml/bml/target/fatblock/capability/SerializeFatDocument.bml +22 -22
- package/blocks/org/blockml/bml/target/fatblock/capability/ValidateRequest.bml +19 -21
- package/blocks/org/blockml/bml/target/fatblock/config/DefaultFatBlockOptions.bml +18 -18
- package/blocks/org/blockml/bml/target/fatblock/config/FatBlockConstants.bml +35 -21
- package/blocks/org/blockml/bml/target/fatblock/documentation/ArchitectureOverview.bml +16 -20
- package/blocks/org/blockml/bml/target/fatblock/documentation/CandidateCollection.bml +17 -21
- package/blocks/org/blockml/bml/target/fatblock/documentation/DesignDecisions.bml +26 -32
- package/blocks/org/blockml/bml/target/fatblock/documentation/Diagnostics.bml +16 -20
- package/blocks/org/blockml/bml/target/fatblock/documentation/EmbedAssemblyRules.bml +15 -19
- package/blocks/org/blockml/bml/target/fatblock/documentation/Introduction.bml +17 -21
- package/blocks/org/blockml/bml/target/fatblock/documentation/LayerSeparation.bml +20 -24
- package/blocks/org/blockml/bml/target/fatblock/documentation/NamespaceMergeRules.bml +15 -19
- package/blocks/org/blockml/bml/target/fatblock/documentation/OutputLayout.bml +15 -19
- package/blocks/org/blockml/bml/target/fatblock/documentation/PackageOwnership.bml +18 -22
- package/blocks/org/blockml/bml/target/fatblock/documentation/PublicApi.bml +15 -19
- package/blocks/org/blockml/bml/target/fatblock/documentation/ScopeExclusions.bml +14 -18
- package/blocks/org/blockml/bml/target/fatblock/documentation/V1Scope.bml +15 -19
- package/package.json +7 -7
|
@@ -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
|
+
<!--FatBlock — FatblockType
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.FatblockType-->
|
|
3
|
+
<fatblock:FatblockType xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,12 +16,16 @@
|
|
|
22
16
|
xmlns:serializer="org.blockml.bml.compiler.serializer"
|
|
23
17
|
xmlns:type="org.blockml.bml.type">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
<
|
|
32
|
-
|
|
33
|
-
</
|
|
19
|
+
<baseType>
|
|
20
|
+
core:Entity
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
Abstract marker for FatBlock implementation data-structure blocks
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
All org.blockml.bml.target.fatblock.api|config.* types extend this marker. Distinct from bom:UrmodellType and core:Capability.
|
|
27
|
+
</documentation>
|
|
28
|
+
<abstract>
|
|
29
|
+
true
|
|
30
|
+
</abstract>
|
|
31
|
+
</fatblock:FatblockType>
|
|
@@ -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
|
+
<!--FatBlock Render Target Library
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.Library-->
|
|
3
|
+
<fatblock:Library xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,47 +16,47 @@
|
|
|
22
16
|
xmlns:serializer="org.blockml.bml.compiler.serializer"
|
|
23
17
|
xmlns:type="org.blockml.bml.type">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
core:BlockLibrary
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
The FatBlock portable .bml render target library catalog
|
|
24
|
+
</is>
|
|
25
|
+
<version>
|
|
26
|
+
0.9.5
|
|
27
|
+
</version>
|
|
30
28
|
<documentation>
|
|
31
29
|
# The FatBlock portable .bml render target library catalog
|
|
32
|
-
|
|
30
|
+
|
|
33
31
|
Canonical FatBlock specification for BlockML — registry name fatblock, folder-pool
|
|
34
32
|
candidates, embed assembly, namespace merge, {hostFqn}.fat.bml (FB1–FB20). TypeScript in
|
|
35
33
|
packages/fatblock-target/src/ implements this library. Membership is defined
|
|
36
34
|
exclusively by this blocks list.
|
|
37
35
|
</documentation>
|
|
38
|
-
|
|
39
|
-
<version>0.9.3</version>
|
|
40
|
-
|
|
41
36
|
<language>
|
|
42
|
-
<English />
|
|
37
|
+
<blockml:language.English />
|
|
43
38
|
</language>
|
|
44
|
-
|
|
45
39
|
<properties>
|
|
46
40
|
<description override="true">
|
|
47
41
|
<value>FatBlock render target library</value>
|
|
48
42
|
</description>
|
|
49
43
|
</properties>
|
|
50
|
-
|
|
51
44
|
<aggregations>
|
|
52
|
-
<readMe>
|
|
45
|
+
<readMe override="true">
|
|
53
46
|
<composition>
|
|
54
47
|
<fatblock:README />
|
|
55
48
|
</composition>
|
|
56
49
|
</readMe>
|
|
57
|
-
<dependencies>
|
|
50
|
+
<dependencies override="true">
|
|
58
51
|
<composition>
|
|
59
52
|
<blockml:Library />
|
|
60
53
|
<bom:Library />
|
|
61
54
|
<serializer:Library />
|
|
62
55
|
</composition>
|
|
63
56
|
</dependencies>
|
|
64
|
-
<blocks>
|
|
65
|
-
<composition
|
|
57
|
+
<blocks override="true">
|
|
58
|
+
<composition>
|
|
59
|
+
<fatblock:FatblockType />
|
|
66
60
|
<fbapi:FatBlockOptions />
|
|
67
61
|
<fbapi:FatBlockRenderOutput />
|
|
68
62
|
<fbapi:AssembleFatDocumentResult />
|
|
@@ -96,5 +90,4 @@
|
|
|
96
90
|
</composition>
|
|
97
91
|
</blocks>
|
|
98
92
|
</aggregations>
|
|
99
|
-
|
|
100
|
-
</block>
|
|
93
|
+
</fatblock:Library>
|
|
@@ -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
|
+
<!--FatBlock Render Target — README
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.README-->
|
|
3
|
+
<fatblock:README xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,36 +16,35 @@
|
|
|
22
16
|
xmlns:serializer="org.blockml.bml.compiler.serializer"
|
|
23
17
|
xmlns:type="org.blockml.bml.type">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
core:ReadMe
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
Reading entry for the FatBlock render target library
|
|
24
|
+
</is>
|
|
30
25
|
<documentation>
|
|
31
26
|
The @blockml/fatblock-target package implements RenderTarget name fatblock.
|
|
32
27
|
This library (org.blockml.bml.target.fatblock.*) is the SSOT; TypeScript in
|
|
33
28
|
packages/fatblock-target/src/ implements it. Tests in packages/fatblock-target/test/
|
|
34
29
|
verify behavioral contracts.
|
|
35
|
-
|
|
30
|
+
|
|
36
31
|
Start reading at org.blockml.bml.target.fatblock.documentation.Introduction (ReadNext chain).
|
|
37
|
-
|
|
32
|
+
|
|
38
33
|
V1: folder-bundle document target — host .bml plus peer roots under --src into one
|
|
39
34
|
{hostFqn}.fat.bml with flat embeddedBlocks. Transitive closure is planned for v2.
|
|
40
|
-
|
|
35
|
+
|
|
41
36
|
Layer separation:
|
|
42
37
|
• org.blockml.bml.bom.* — embeddedBlocks meta-model
|
|
43
38
|
• org.blockml.bml.target.fatblock.* (this library) — assemble / merge / emit
|
|
44
39
|
• org.blockml.bml.compiler.serializer.* — XML serialization
|
|
45
40
|
• org.blockml.bml.cli.* — host flags and file writing
|
|
46
|
-
|
|
41
|
+
|
|
47
42
|
Modules: documentation, api/config, capability.
|
|
48
43
|
</documentation>
|
|
49
|
-
|
|
50
44
|
<references>
|
|
51
45
|
<see type="fbdocumentation:Introduction" relation="ReadFirst" />
|
|
52
46
|
<see type="fbdocumentation:DesignDecisions" relation="SeeAlso" />
|
|
53
47
|
<see type="fbdocumentation:PublicApi" relation="SeeAlso" />
|
|
54
48
|
<see type="fbcap:Render" relation="SeeAlso" />
|
|
55
49
|
</references>
|
|
56
|
-
|
|
57
|
-
</block>
|
|
50
|
+
</fatblock:README>
|
|
@@ -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
|
+
<!--FatBlock API — AssembleFatDocumentResult
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.api.AssembleFatDocumentResult-->
|
|
3
|
+
<fbapi:AssembleFatDocumentResult xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,14 +16,22 @@
|
|
|
22
16
|
xmlns:serializer="org.blockml.bml.compiler.serializer"
|
|
23
17
|
xmlns:type="org.blockml.bml.type">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
fatblock:FatblockType
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
Result of assembleFatDocument
|
|
24
|
+
</is>
|
|
30
25
|
<properties>
|
|
31
|
-
<document type="bomdoc:BomDocument"
|
|
32
|
-
|
|
26
|
+
<document type="bomdoc:BomDocument">
|
|
27
|
+
<documentation>
|
|
28
|
+
Assembled fat BomDocument or null on error. (optional)
|
|
29
|
+
</documentation>
|
|
30
|
+
</document>
|
|
31
|
+
<diagnostics type="type:Text">
|
|
32
|
+
<documentation>
|
|
33
|
+
Error diagnostics collected during assemble. (required)
|
|
34
|
+
</documentation>
|
|
35
|
+
</diagnostics>
|
|
33
36
|
</properties>
|
|
34
|
-
|
|
35
|
-
</block>
|
|
37
|
+
</fbapi:AssembleFatDocumentResult>
|
|
@@ -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
|
+
<!--FatBlock API — FatBlockOptions
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.api.FatBlockOptions-->
|
|
3
|
+
<fbapi:FatBlockOptions xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,21 +16,39 @@
|
|
|
22
16
|
xmlns:serializer="org.blockml.bml.compiler.serializer"
|
|
23
17
|
xmlns:type="org.blockml.bml.type">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
fatblock:FatblockType
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
Opaque targetOptions payload for registry name fatblock
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
FB1: Defaults embeddedBlocksStrategy=error. srcDir required at validate/render (CLI --src). include optional FQN filters.
|
|
27
|
+
</documentation>
|
|
31
28
|
<references>
|
|
32
29
|
<see type="fbdocumentation:PublicApi" relation="SeeAlso" />
|
|
33
30
|
<see type="fbcap:ResolveOptions" relation="SeeAlso" />
|
|
34
31
|
</references>
|
|
35
32
|
<properties>
|
|
36
|
-
<srcDir type="type:Text"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
<srcDir type="type:Text">
|
|
34
|
+
<documentation>
|
|
35
|
+
Corpus pool root — required for v1 collection. (optional until validate)
|
|
36
|
+
</documentation>
|
|
37
|
+
</srcDir>
|
|
38
|
+
<rootDir type="type:Text">
|
|
39
|
+
<documentation>
|
|
40
|
+
Project root for resolving srcDir. Default process.cwd() in render. (optional)
|
|
41
|
+
</documentation>
|
|
42
|
+
</rootDir>
|
|
43
|
+
<include type="type:Text">
|
|
44
|
+
<documentation>
|
|
45
|
+
FQN filters: exact or prefix* globs. Empty/omitted = all peers under srcDir. (optional)
|
|
46
|
+
</documentation>
|
|
47
|
+
</include>
|
|
48
|
+
<embeddedBlocksStrategy type="type:Text">
|
|
49
|
+
<documentation>
|
|
50
|
+
v1 only "error". Reserved; assemble hardcodes empty-embeds check. (optional)
|
|
51
|
+
</documentation>
|
|
52
|
+
</embeddedBlocksStrategy>
|
|
40
53
|
</properties>
|
|
41
|
-
|
|
42
|
-
</block>
|
|
54
|
+
</fbapi:FatBlockOptions>
|
|
@@ -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
|
+
<!--FatBlock API — FatBlockRenderOutput
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.api.FatBlockRenderOutput-->
|
|
3
|
+
<fbapi:FatBlockRenderOutput xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,15 +16,25 @@
|
|
|
22
16
|
xmlns:serializer="org.blockml.bml.compiler.serializer"
|
|
23
17
|
xmlns:type="org.blockml.bml.type">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
fatblock:FatblockType
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
Single-file fat .bml RenderOutput with diagnostics
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
files[] typically one {hostFqn}.fat.bml entry. diagnostics optional; info severity stripped on success path.
|
|
27
|
+
</documentation>
|
|
31
28
|
<properties>
|
|
32
|
-
<files type="type:Text"
|
|
33
|
-
|
|
29
|
+
<files type="type:Text">
|
|
30
|
+
<documentation>
|
|
31
|
+
Array of { path, content }. (required)
|
|
32
|
+
</documentation>
|
|
33
|
+
</files>
|
|
34
|
+
<diagnostics type="type:Text">
|
|
35
|
+
<documentation>
|
|
36
|
+
Diagnostic list from assemble and serialize. (optional)
|
|
37
|
+
</documentation>
|
|
38
|
+
</diagnostics>
|
|
34
39
|
</properties>
|
|
35
|
-
|
|
36
|
-
</block>
|
|
40
|
+
</fbapi:FatBlockRenderOutput>
|
|
@@ -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
|
+
<!--FatBlock Capability — AssembleFatDocument
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.capability.AssembleFatDocument-->
|
|
3
|
+
<fbcap:AssembleFatDocument xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,37 +16,45 @@
|
|
|
22
16
|
xmlns:serializer="org.blockml.bml.compiler.serializer"
|
|
23
17
|
xmlns:type="org.blockml.bml.type">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
core:Capability
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
Build fat BomDocument from host plus peer embeds
|
|
24
|
+
</is>
|
|
30
25
|
<documentation>
|
|
31
26
|
# Build fat BomDocument from host plus peer embeds
|
|
32
|
-
|
|
27
|
+
|
|
33
28
|
FB12: require srcDir. FB13: host not found to BML_FATBLOCK_HOST_NOT_FOUND. FB14: host embeddedBlocks non-empty to BML_FATBLOCK_HOST_HAS_EMBEDDED_BLOCKS. FB15: duplicate candidate FQN to BML_DUPLICATE_EMBEDDED_BLOCK. FB16: embed not root / missing to BML_FATBLOCK_EMBED_NOT_FOUND; embed already has embeds to BML_FATBLOCK_EMBED_HAS_EMBEDDED_BLOCKS. FB17: clone embed, clear nested embeds, preserve subBlocks; sorted embed order; merge NS; abort if any error.
|
|
34
29
|
</documentation>
|
|
35
|
-
|
|
36
30
|
<references>
|
|
37
31
|
<see type="fbdocumentation:EmbedAssemblyRules" relation="SeeAlso" />
|
|
38
32
|
</references>
|
|
39
|
-
|
|
40
33
|
<properties>
|
|
41
34
|
<typeRegistry type="type:Text">
|
|
42
|
-
<documentation>
|
|
35
|
+
<documentation>
|
|
36
|
+
TypeRegistry. (required)
|
|
37
|
+
</documentation>
|
|
43
38
|
</typeRegistry>
|
|
44
39
|
<hostFilePath type="type:Text">
|
|
45
|
-
<documentation>
|
|
40
|
+
<documentation>
|
|
41
|
+
Host .bml path. (required)
|
|
42
|
+
</documentation>
|
|
46
43
|
</hostFilePath>
|
|
47
44
|
<options type="fbapi:FatBlockOptions">
|
|
48
|
-
<documentation>
|
|
45
|
+
<documentation>
|
|
46
|
+
Resolved options. (required)
|
|
47
|
+
</documentation>
|
|
49
48
|
</options>
|
|
50
49
|
<rootDir type="type:Text">
|
|
51
|
-
<documentation>
|
|
50
|
+
<documentation>
|
|
51
|
+
Project root. (required)
|
|
52
|
+
</documentation>
|
|
52
53
|
</rootDir>
|
|
53
54
|
<result type="fbapi:AssembleFatDocumentResult">
|
|
54
|
-
<documentation>
|
|
55
|
+
<documentation>
|
|
56
|
+
document and diagnostics. (required)
|
|
57
|
+
</documentation>
|
|
55
58
|
</result>
|
|
56
59
|
</properties>
|
|
57
|
-
|
|
58
|
-
</block>
|
|
60
|
+
</fbcap:AssembleFatDocument>
|
|
@@ -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
|
+
<!--FatBlock Capability — CloneBlockDefinition
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.capability.CloneBlockDefinition-->
|
|
3
|
+
<fbcap:CloneBlockDefinition xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,20 +16,25 @@
|
|
|
22
16
|
xmlns:serializer="org.blockml.bml.compiler.serializer"
|
|
23
17
|
xmlns:type="org.blockml.bml.type">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
core:Capability
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
Deep-clone a BlockDefinition
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
FB8: structuredClone(block) for isolation before mutating embeddedBlocks.
|
|
27
|
+
</documentation>
|
|
32
28
|
<properties>
|
|
33
29
|
<block type="bomblock:BlockDefinition">
|
|
34
|
-
<documentation>
|
|
30
|
+
<documentation>
|
|
31
|
+
Source block. (required)
|
|
32
|
+
</documentation>
|
|
35
33
|
</block>
|
|
36
34
|
<result type="bomblock:BlockDefinition">
|
|
37
|
-
<documentation>
|
|
35
|
+
<documentation>
|
|
36
|
+
Cloned block. (required)
|
|
37
|
+
</documentation>
|
|
38
38
|
</result>
|
|
39
39
|
</properties>
|
|
40
|
-
|
|
41
|
-
</block>
|
|
40
|
+
</fbcap:CloneBlockDefinition>
|
|
@@ -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
|
+
<!--FatBlock Capability — CollectCandidateFqns
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.capability.CollectCandidateFqns-->
|
|
3
|
+
<fbcap:CollectCandidateFqns xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,36 +16,48 @@
|
|
|
22
16
|
xmlns:serializer="org.blockml.bml.compiler.serializer"
|
|
23
17
|
xmlns:type="org.blockml.bml.type">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
core:Capability
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
Collect peer root FQNs under srcDir excluding host
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
FB6: absSrc = resolve(rootDir, srcDir); keep roots under absSrc; exclude host FQN; sort ascending; if include non-empty apply FilterByIncludes.
|
|
27
|
+
</documentation>
|
|
32
28
|
<references>
|
|
33
29
|
<see type="fbdocumentation:CandidateCollection" relation="SeeAlso" />
|
|
34
30
|
</references>
|
|
35
|
-
|
|
36
31
|
<properties>
|
|
37
32
|
<typeRegistry type="type:Text">
|
|
38
|
-
<documentation>
|
|
33
|
+
<documentation>
|
|
34
|
+
TypeRegistry. (required)
|
|
35
|
+
</documentation>
|
|
39
36
|
</typeRegistry>
|
|
40
37
|
<srcDir type="type:Text">
|
|
41
|
-
<documentation>
|
|
38
|
+
<documentation>
|
|
39
|
+
Corpus pool. (required)
|
|
40
|
+
</documentation>
|
|
42
41
|
</srcDir>
|
|
43
42
|
<rootDir type="type:Text">
|
|
44
|
-
<documentation>
|
|
43
|
+
<documentation>
|
|
44
|
+
Resolution root. (required)
|
|
45
|
+
</documentation>
|
|
45
46
|
</rootDir>
|
|
46
47
|
<hostFqn type="type:Text">
|
|
47
|
-
<documentation>
|
|
48
|
+
<documentation>
|
|
49
|
+
Host block FQN to exclude. (required)
|
|
50
|
+
</documentation>
|
|
48
51
|
</hostFqn>
|
|
49
52
|
<include type="type:Text">
|
|
50
|
-
<documentation>
|
|
53
|
+
<documentation>
|
|
54
|
+
Optional include patterns. (optional)
|
|
55
|
+
</documentation>
|
|
51
56
|
</include>
|
|
52
57
|
<result type="type:Text">
|
|
53
|
-
<documentation>
|
|
58
|
+
<documentation>
|
|
59
|
+
Sorted candidate FQN list. (required)
|
|
60
|
+
</documentation>
|
|
54
61
|
</result>
|
|
55
62
|
</properties>
|
|
56
|
-
|
|
57
|
-
</block>
|
|
63
|
+
</fbcap:CollectCandidateFqns>
|
|
@@ -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
|
+
<!--FatBlock Capability — FatOutputBasename
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.capability.FatOutputBasename-->
|
|
3
|
+
<fbcap:FatOutputBasename xmlns="http://blockml.org/bml"
|
|
10
4
|
xmlns:blockml="org.blockml.bml"
|
|
11
5
|
xmlns:bom="org.blockml.bml.bom"
|
|
12
6
|
xmlns:bomblock="org.blockml.bml.bom.block"
|
|
@@ -22,24 +16,28 @@
|
|
|
22
16
|
xmlns:serializer="org.blockml.bml.compiler.serializer"
|
|
23
17
|
xmlns:type="org.blockml.bml.type">
|
|
24
18
|
|
|
25
|
-
<
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<is>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
19
|
+
<baseType>
|
|
20
|
+
core:Capability
|
|
21
|
+
</baseType>
|
|
22
|
+
<is>
|
|
23
|
+
Derive output filename from host FQN
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
FB18: output basename is host FQN plus .fat.bml. Example org.blockml.bml.workspace.Library to org.blockml.bml.workspace.Library.fat.bml. Empty FQN yields unnamed.fat.bml.
|
|
27
|
+
</documentation>
|
|
32
28
|
<references>
|
|
33
29
|
<see type="fbdocumentation:OutputLayout" relation="SeeAlso" />
|
|
34
30
|
</references>
|
|
35
|
-
|
|
36
31
|
<properties>
|
|
37
32
|
<hostFqn type="type:Text">
|
|
38
|
-
<documentation>
|
|
33
|
+
<documentation>
|
|
34
|
+
Host block type FQN. (required)
|
|
35
|
+
</documentation>
|
|
39
36
|
</hostFqn>
|
|
40
37
|
<result type="type:Text">
|
|
41
|
-
<documentation>
|
|
38
|
+
<documentation>
|
|
39
|
+
Output basename. (required)
|
|
40
|
+
</documentation>
|
|
42
41
|
</result>
|
|
43
42
|
</properties>
|
|
44
|
-
|
|
45
|
-
</block>
|
|
43
|
+
</fbcap:FatOutputBasename>
|