@blockml/fatblock-target 0.9.4 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/blocks/org/blockml/bml/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 Capability — FilterByIncludes
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.capability.FilterByIncludes-->
|
|
3
|
+
<fbcap:FilterByIncludes 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,27 +16,33 @@
|
|
|
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
|
+
Filter FQN list by include patterns
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
FB7: empty/omitted patterns keep all; otherwise OR across patterns via MatchesIncludePattern.
|
|
27
|
+
</documentation>
|
|
32
28
|
<references>
|
|
33
29
|
<see type="fbdocumentation:CandidateCollection" relation="SeeAlso" />
|
|
34
30
|
</references>
|
|
35
|
-
|
|
36
31
|
<properties>
|
|
37
32
|
<fqns type="type:Text">
|
|
38
|
-
<documentation>
|
|
33
|
+
<documentation>
|
|
34
|
+
Candidate list. (required)
|
|
35
|
+
</documentation>
|
|
39
36
|
</fqns>
|
|
40
37
|
<patterns type="type:Text">
|
|
41
|
-
<documentation>
|
|
38
|
+
<documentation>
|
|
39
|
+
Include patterns. (optional)
|
|
40
|
+
</documentation>
|
|
42
41
|
</patterns>
|
|
43
42
|
<result type="type:Text">
|
|
44
|
-
<documentation>
|
|
43
|
+
<documentation>
|
|
44
|
+
Filtered FQN list. (required)
|
|
45
|
+
</documentation>
|
|
45
46
|
</result>
|
|
46
47
|
</properties>
|
|
47
|
-
|
|
48
|
-
</block>
|
|
48
|
+
</fbcap:FilterByIncludes>
|
|
@@ -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 — MatchesIncludePattern
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.capability.MatchesIncludePattern-->
|
|
3
|
+
<fbcap:MatchesIncludePattern 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,23 +16,30 @@
|
|
|
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
|
+
Test one FQN against one include pattern
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
FB7: pattern ending with * is prefix match; else exact equality. Pattern trimmed.
|
|
27
|
+
</documentation>
|
|
32
28
|
<properties>
|
|
33
29
|
<fqn type="type:Text">
|
|
34
|
-
<documentation>
|
|
30
|
+
<documentation>
|
|
31
|
+
Candidate FQN. (required)
|
|
32
|
+
</documentation>
|
|
35
33
|
</fqn>
|
|
36
34
|
<pattern type="type:Text">
|
|
37
|
-
<documentation>
|
|
35
|
+
<documentation>
|
|
36
|
+
Exact or prefix* pattern. (required)
|
|
37
|
+
</documentation>
|
|
38
38
|
</pattern>
|
|
39
39
|
<result type="type:Boolean">
|
|
40
|
-
<documentation>
|
|
40
|
+
<documentation>
|
|
41
|
+
true if matches. (required)
|
|
42
|
+
</documentation>
|
|
41
43
|
</result>
|
|
42
44
|
</properties>
|
|
43
|
-
|
|
44
|
-
</block>
|
|
45
|
+
</fbcap:MatchesIncludePattern>
|
|
@@ -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 — MergeNamespaceBindings
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.capability.MergeNamespaceBindings-->
|
|
3
|
+
<fbcap:MergeNamespaceBindings 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,27 +16,33 @@
|
|
|
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
|
+
Union namespace prefix to URI maps
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
FB9: process sources in order (host then embeds). FB10: same prefix different URI yields BML_NAMESPACE_PREFIX_COLLISION. FB11: missing bindings default empty prefix to http://blockml.org/bml. First writer wins for new prefixes.
|
|
27
|
+
</documentation>
|
|
32
28
|
<references>
|
|
33
29
|
<see type="fbdocumentation:NamespaceMergeRules" relation="SeeAlso" />
|
|
34
30
|
</references>
|
|
35
|
-
|
|
36
31
|
<properties>
|
|
37
32
|
<sources type="type:Text">
|
|
38
|
-
<documentation>
|
|
33
|
+
<documentation>
|
|
34
|
+
Ordered { file, bindings? } list. (required)
|
|
35
|
+
</documentation>
|
|
39
36
|
</sources>
|
|
40
37
|
<bindings type="type:Text">
|
|
41
|
-
<documentation>
|
|
38
|
+
<documentation>
|
|
39
|
+
Merged prefix to URI map. (required)
|
|
40
|
+
</documentation>
|
|
42
41
|
</bindings>
|
|
43
42
|
<diagnostics type="type:Text">
|
|
44
|
-
<documentation>
|
|
43
|
+
<documentation>
|
|
44
|
+
Collision diagnostics. (required)
|
|
45
|
+
</documentation>
|
|
45
46
|
</diagnostics>
|
|
46
47
|
</properties>
|
|
47
|
-
|
|
48
|
-
</block>
|
|
48
|
+
</fbcap:MergeNamespaceBindings>
|
|
@@ -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 — Render
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.capability.Render-->
|
|
3
|
+
<fbcap:Render 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,28 +16,34 @@
|
|
|
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
|
+
Public RenderTarget entry: host document to {hostFqn}.fat.bml
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
FB2: name fatblock; accepts document only. FB4: assemble errors or serialize errors yield empty files. Strip info diagnostics from returned list. Orchestrates ResolveOptions, AssembleFatDocument, SerializeFatDocument, FatOutputBasename.
|
|
27
|
+
</documentation>
|
|
32
28
|
<references>
|
|
33
29
|
<see type="fbdocumentation:PublicApi" relation="SeeAlso" />
|
|
34
30
|
<see type="fbcap:AssembleFatDocument" relation="SeeAlso" />
|
|
35
31
|
</references>
|
|
36
|
-
|
|
37
32
|
<properties>
|
|
38
33
|
<request type="type:Text">
|
|
39
|
-
<documentation>
|
|
34
|
+
<documentation>
|
|
35
|
+
CompileRequest with targetOptions. (required)
|
|
36
|
+
</documentation>
|
|
40
37
|
</request>
|
|
41
38
|
<renderContext type="type:Text">
|
|
42
|
-
<documentation>
|
|
39
|
+
<documentation>
|
|
40
|
+
RenderContext with typeRegistry and sourceFilePath. (required)
|
|
41
|
+
</documentation>
|
|
43
42
|
</renderContext>
|
|
44
43
|
<result type="fbapi:FatBlockRenderOutput">
|
|
45
|
-
<documentation>
|
|
44
|
+
<documentation>
|
|
45
|
+
files and diagnostics. (required)
|
|
46
|
+
</documentation>
|
|
46
47
|
</result>
|
|
47
48
|
</properties>
|
|
48
|
-
|
|
49
|
-
</block>
|
|
49
|
+
</fbcap:Render>
|
|
@@ -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 — ResolveOptions
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.capability.ResolveOptions-->
|
|
3
|
+
<fbcap:ResolveOptions 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,25 +16,29 @@
|
|
|
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
|
+
Merge opaque targetOptions into FatBlockOptions with defaults
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
FB1: embeddedBlocksStrategy defaults to error. srcDir, rootDir, include passed through when present.
|
|
27
|
+
</documentation>
|
|
32
28
|
<references>
|
|
33
29
|
<see type="fbdocumentation:PublicApi" relation="SeeAlso" />
|
|
34
30
|
<see type="fbconfig:DefaultFatBlockOptions" relation="SeeAlso" />
|
|
35
31
|
</references>
|
|
36
|
-
|
|
37
32
|
<properties>
|
|
38
33
|
<targetOptions type="type:Text">
|
|
39
|
-
<documentation>
|
|
34
|
+
<documentation>
|
|
35
|
+
Opaque CompileRequest.targetOptions. (optional)
|
|
36
|
+
</documentation>
|
|
40
37
|
</targetOptions>
|
|
41
38
|
<result type="fbapi:FatBlockOptions">
|
|
42
|
-
<documentation>
|
|
39
|
+
<documentation>
|
|
40
|
+
Resolved options. (required)
|
|
41
|
+
</documentation>
|
|
43
42
|
</result>
|
|
44
43
|
</properties>
|
|
45
|
-
|
|
46
|
-
</block>
|
|
44
|
+
</fbcap:ResolveOptions>
|
|
@@ -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 — RootFqnsByFilePath
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.capability.RootFqnsByFilePath-->
|
|
3
|
+
<fbcap:RootFqnsByFilePath 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
|
+
Map each source file to its root FQN
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
FB5: group registry keys by filePath; skip missing or angle-bracket paths; root = FQN not prefixed by another FQN from the same file (subBlocks excluded).
|
|
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
|
<result type="type:Text">
|
|
41
|
-
<documentation>
|
|
38
|
+
<documentation>
|
|
39
|
+
Map filePath to root FQN. (required)
|
|
40
|
+
</documentation>
|
|
42
41
|
</result>
|
|
43
42
|
</properties>
|
|
44
|
-
|
|
45
|
-
</block>
|
|
43
|
+
</fbcap:RootFqnsByFilePath>
|
|
@@ -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 — SerializeFatDocument
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.capability.SerializeFatDocument-->
|
|
3
|
+
<fbcap:SerializeFatDocument 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,27 +16,33 @@
|
|
|
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
|
+
Serialize fat BomDocument to canonical BML XML
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
FB17: call @blockml/serializer serialize(document, { indent: 2 }). Returns text and diagnostics.
|
|
27
|
+
</documentation>
|
|
32
28
|
<references>
|
|
33
29
|
<see type="fbdocumentation:OutputLayout" relation="SeeAlso" />
|
|
34
30
|
</references>
|
|
35
|
-
|
|
36
31
|
<properties>
|
|
37
32
|
<document type="bomdoc:BomDocument">
|
|
38
|
-
<documentation>
|
|
33
|
+
<documentation>
|
|
34
|
+
Assembled fat document. (required)
|
|
35
|
+
</documentation>
|
|
39
36
|
</document>
|
|
40
37
|
<text type="type:Text">
|
|
41
|
-
<documentation>
|
|
38
|
+
<documentation>
|
|
39
|
+
Serialized XML or null. (optional)
|
|
40
|
+
</documentation>
|
|
42
41
|
</text>
|
|
43
42
|
<diagnostics type="type:Text">
|
|
44
|
-
<documentation>
|
|
43
|
+
<documentation>
|
|
44
|
+
Serialize diagnostics. (required)
|
|
45
|
+
</documentation>
|
|
45
46
|
</diagnostics>
|
|
46
47
|
</properties>
|
|
47
|
-
|
|
48
|
-
</block>
|
|
48
|
+
</fbcap:SerializeFatDocument>
|
|
@@ -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 — ValidateRequest
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.capability.ValidateRequest-->
|
|
3
|
+
<fbcap:ValidateRequest 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
|
+
Validate CompileRequest before render
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
FB3: if srcDir missing, return BML_FATBLOCK_SRC_REQUIRED error diagnostic. Otherwise empty list.
|
|
27
|
+
</documentation>
|
|
32
28
|
<references>
|
|
33
29
|
<see type="fbdocumentation:Diagnostics" relation="SeeAlso" />
|
|
34
30
|
</references>
|
|
35
|
-
|
|
36
31
|
<properties>
|
|
37
32
|
<request type="type:Text">
|
|
38
|
-
<documentation>
|
|
33
|
+
<documentation>
|
|
34
|
+
CompileRequest. (required)
|
|
35
|
+
</documentation>
|
|
39
36
|
</request>
|
|
40
37
|
<result type="type:Text">
|
|
41
|
-
<documentation>
|
|
38
|
+
<documentation>
|
|
39
|
+
Diagnostic[]. (required)
|
|
40
|
+
</documentation>
|
|
42
41
|
</result>
|
|
43
42
|
</properties>
|
|
44
|
-
|
|
45
|
-
</block>
|
|
43
|
+
</fbcap:ValidateRequest>
|
|
@@ -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 Config — DefaultFatBlockOptions
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.config.DefaultFatBlockOptions-->
|
|
3
|
+
<fbconfig:DefaultFatBlockOptions 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,20 @@
|
|
|
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
|
+
Defaults applied by ResolveOptions
|
|
24
|
+
</is>
|
|
25
|
+
<documentation>
|
|
26
|
+
FB1: only embeddedBlocksStrategy has a default; srcDir/rootDir/include remain unset until host provides them.
|
|
27
|
+
</documentation>
|
|
31
28
|
<properties>
|
|
32
|
-
<embeddedBlocksStrategy type="type:Text"
|
|
29
|
+
<embeddedBlocksStrategy type="type:Text">
|
|
30
|
+
<documentation>
|
|
31
|
+
"error"
|
|
32
|
+
</documentation>
|
|
33
|
+
</embeddedBlocksStrategy>
|
|
33
34
|
</properties>
|
|
34
|
-
|
|
35
|
-
</block>
|
|
35
|
+
</fbconfig:DefaultFatBlockOptions>
|
|
@@ -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 Config — FatBlockConstants
|
|
2
|
+
FQN: org.blockml.bml.target.fatblock.config.FatBlockConstants-->
|
|
3
|
+
<fbconfig:FatBlockConstants 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,17 +16,37 @@
|
|
|
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
|
+
Well-known FatBlock constants
|
|
24
|
+
</is>
|
|
30
25
|
<properties>
|
|
31
|
-
<REGISTRY_NAME type="type:Text"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
<REGISTRY_NAME type="type:Text">
|
|
27
|
+
<documentation>
|
|
28
|
+
Always "fatblock".
|
|
29
|
+
</documentation>
|
|
30
|
+
</REGISTRY_NAME>
|
|
31
|
+
<ACCEPTS type="type:Text">
|
|
32
|
+
<documentation>
|
|
33
|
+
document only.
|
|
34
|
+
</documentation>
|
|
35
|
+
</ACCEPTS>
|
|
36
|
+
<DEFAULT_EMBEDDED_BLOCKS_STRATEGY type="type:Text">
|
|
37
|
+
<documentation>
|
|
38
|
+
"error".
|
|
39
|
+
</documentation>
|
|
40
|
+
</DEFAULT_EMBEDDED_BLOCKS_STRATEGY>
|
|
41
|
+
<SERIALIZE_INDENT type="type:Integer">
|
|
42
|
+
<documentation>
|
|
43
|
+
2 — passed to @blockml/serializer.
|
|
44
|
+
</documentation>
|
|
45
|
+
</SERIALIZE_INDENT>
|
|
46
|
+
<DEFAULT_XMLNS type="type:Text">
|
|
47
|
+
<documentation>
|
|
48
|
+
http://blockml.org/bml for empty prefix when bindings omitted.
|
|
49
|
+
</documentation>
|
|
50
|
+
</DEFAULT_XMLNS>
|
|
36
51
|
</properties>
|
|
37
|
-
|
|
38
|
-
</block>
|
|
52
|
+
</fbconfig:FatBlockConstants>
|