@blockml/compiler 0.1.0
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/compiler/runtime/Library.bml +121 -0
- package/blocks/org/blockml/bml/compiler/runtime/README.bml +60 -0
- package/blocks/org/blockml/bml/compiler/runtime/RuntimeType.bml +36 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/CompileBomOptions.bml +46 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/CompileInput.bml +43 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/CompileOptions.bml +44 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/CompileRequest.bml +42 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/CompileScope.bml +45 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/CompileScopeKind.bml +44 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/CompilerResult.bml +43 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/RenderContext.bml +43 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/RenderOutput.bml +43 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/RenderOutputFile.bml +42 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/RenderSession.bml +49 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/RenderTarget.bml +44 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/ResolvedScope.bml +44 -0
- package/blocks/org/blockml/bml/compiler/runtime/api/ScopeConfigHints.bml +43 -0
- package/blocks/org/blockml/bml/compiler/runtime/capability/BuildRenderSession.bml +49 -0
- package/blocks/org/blockml/bml/compiler/runtime/capability/ClearTargets.bml +41 -0
- package/blocks/org/blockml/bml/compiler/runtime/capability/CompileBmlToBom.bml +52 -0
- package/blocks/org/blockml/bml/compiler/runtime/capability/CompileBmlToOutput.bml +54 -0
- package/blocks/org/blockml/bml/compiler/runtime/capability/CompileBomToOutput.bml +60 -0
- package/blocks/org/blockml/bml/compiler/runtime/capability/CompileToOutput.bml +58 -0
- package/blocks/org/blockml/bml/compiler/runtime/capability/CreateRenderContext.bml +54 -0
- package/blocks/org/blockml/bml/compiler/runtime/capability/GetTarget.bml +48 -0
- package/blocks/org/blockml/bml/compiler/runtime/capability/RegisterTarget.bml +47 -0
- package/blocks/org/blockml/bml/compiler/runtime/capability/RegisteredTargetNames.bml +41 -0
- package/blocks/org/blockml/bml/compiler/runtime/capability/ResolveScope.bml +54 -0
- package/blocks/org/blockml/bml/compiler/runtime/capability/ScopeAccepts.bml +51 -0
- package/blocks/org/blockml/bml/compiler/runtime/capability/ValidateRegistryDocuments.bml +51 -0
- package/blocks/org/blockml/bml/compiler/runtime/config/RuntimeConstants.bml +43 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/ArchitectureOverview.bml +49 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/CompileIO.bml +44 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/CompileScopeRules.bml +46 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/DesignDecisions.bml +47 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/Diagnostics.bml +47 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/ExternalTargetContract.bml +63 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/Introduction.bml +49 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/LayerSeparation.bml +48 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/PackageOwnership.bml +46 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/PublicApi.bml +52 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/RenderContextRules.bml +47 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/ScopeExclusions.bml +43 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/TargetRegistry.bml +48 -0
- package/blocks/org/blockml/bml/compiler/runtime/documentation/V1Scope.bml +50 -0
- package/dist/compile-bml-to-bom.d.ts +6 -0
- package/dist/compile-bml-to-bom.d.ts.map +1 -0
- package/dist/compile-bml-to-bom.js +51 -0
- package/dist/compile-bml-to-bom.js.map +1 -0
- package/dist/compile-to-output.d.ts +6 -0
- package/dist/compile-to-output.d.ts.map +1 -0
- package/dist/compile-to-output.js +198 -0
- package/dist/compile-to-output.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/render-context.d.ts +12 -0
- package/dist/render-context.d.ts.map +1 -0
- package/dist/render-context.js +33 -0
- package/dist/render-context.js.map +1 -0
- package/dist/scope.d.ts +8 -0
- package/dist/scope.d.ts.map +1 -0
- package/dist/scope.js +71 -0
- package/dist/scope.js.map +1 -0
- package/dist/target-registry.d.ts +6 -0
- package/dist/target-registry.d.ts.map +1 -0
- package/dist/target-registry.js +41 -0
- package/dist/target-registry.js.map +1 -0
- package/dist/types.d.ts +83 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +43 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Compiler Runtime API — RenderOutputFile
|
|
3
|
+
FQN: org.blockml.bml.compiler.runtime.api.RenderOutputFile
|
|
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
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:cli="org.blockml.bml.cli"
|
|
16
|
+
xmlns:core="org.blockml.bml.core"
|
|
17
|
+
xmlns:def="org.blockml.bml.definition"
|
|
18
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
19
|
+
xmlns:parser="org.blockml.bml.compiler.parser"
|
|
20
|
+
xmlns:runtime="org.blockml.bml.compiler.runtime"
|
|
21
|
+
xmlns:runapi="org.blockml.bml.compiler.runtime.api"
|
|
22
|
+
xmlns:runcap="org.blockml.bml.compiler.runtime.capability"
|
|
23
|
+
xmlns:runconfig="org.blockml.bml.compiler.runtime.config"
|
|
24
|
+
xmlns:rundocumentation="org.blockml.bml.compiler.runtime.documentation"
|
|
25
|
+
xmlns:type="org.blockml.bml.type"
|
|
26
|
+
xmlns:validator="org.blockml.bml.compiler.validator">
|
|
27
|
+
|
|
28
|
+
<name>RenderOutputFile</name>
|
|
29
|
+
<type>runapi:RenderOutputFile</type>
|
|
30
|
+
<baseType>runtime:RuntimeType</baseType>
|
|
31
|
+
<is>Single path/content pair in RenderOutput</is>
|
|
32
|
+
|
|
33
|
+
<documentation>C4: targets emit zero or more files; host writes them.</documentation>
|
|
34
|
+
<references>
|
|
35
|
+
<see type="rundocumentation:PublicApi" relation="SeeAlso" />
|
|
36
|
+
</references>
|
|
37
|
+
<properties>
|
|
38
|
+
<path type="type:Text"><documentation>Relative output path. (required)</documentation></path>
|
|
39
|
+
<content type="type:Text"><documentation>File content. (required)</documentation></content>
|
|
40
|
+
</properties>
|
|
41
|
+
|
|
42
|
+
</block>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Compiler Runtime API — RenderSession
|
|
3
|
+
FQN: org.blockml.bml.compiler.runtime.api.RenderSession
|
|
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
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:cli="org.blockml.bml.cli"
|
|
16
|
+
xmlns:core="org.blockml.bml.core"
|
|
17
|
+
xmlns:def="org.blockml.bml.definition"
|
|
18
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
19
|
+
xmlns:parser="org.blockml.bml.compiler.parser"
|
|
20
|
+
xmlns:runtime="org.blockml.bml.compiler.runtime"
|
|
21
|
+
xmlns:runapi="org.blockml.bml.compiler.runtime.api"
|
|
22
|
+
xmlns:runcap="org.blockml.bml.compiler.runtime.capability"
|
|
23
|
+
xmlns:runconfig="org.blockml.bml.compiler.runtime.config"
|
|
24
|
+
xmlns:rundocumentation="org.blockml.bml.compiler.runtime.documentation"
|
|
25
|
+
xmlns:type="org.blockml.bml.type"
|
|
26
|
+
xmlns:validator="org.blockml.bml.compiler.validator">
|
|
27
|
+
|
|
28
|
+
<name>RenderSession</name>
|
|
29
|
+
<type>runapi:RenderSession</type>
|
|
30
|
+
<baseType>runtime:RuntimeType</baseType>
|
|
31
|
+
<is>Immutable per-compile session shared by RenderContext forks</is>
|
|
32
|
+
|
|
33
|
+
<documentation>C1: built by BuildRenderSession after scope bootstrap or BOM-first host registry.
|
|
34
|
+
Domain-agnostic — no MachineBlocks or product-profile fields.</documentation>
|
|
35
|
+
<references>
|
|
36
|
+
<see type="rundocumentation:PublicApi" relation="SeeAlso" />
|
|
37
|
+
<see type="rundocumentation:ExternalTargetContract" relation="SeeAlso" />
|
|
38
|
+
</references>
|
|
39
|
+
<properties>
|
|
40
|
+
<typeRegistry type="type:Text"><documentation>TypeRegistry for this compile. (required)</documentation></typeRegistry>
|
|
41
|
+
<sourceFilePath type="type:Text"><documentation>Document path or scope placeholder. (required)</documentation></sourceFilePath>
|
|
42
|
+
<outputBasePath type="type:Text"><documentation>Output base path. (required)</documentation></outputBasePath>
|
|
43
|
+
<targetName type="type:Text"><documentation>Registered target name. (required)</documentation></targetName>
|
|
44
|
+
<scopeKind type="type:Text"><documentation>Resolved kind without auto. (required)</documentation></scopeKind>
|
|
45
|
+
<libraryPaths type="type:Text"><documentation>When scope is library. (optional)</documentation></libraryPaths>
|
|
46
|
+
<corpusRoots type="type:Text"><documentation>When scope is corpus. (optional)</documentation></corpusRoots>
|
|
47
|
+
</properties>
|
|
48
|
+
|
|
49
|
+
</block>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Compiler Runtime API — RenderTarget
|
|
3
|
+
FQN: org.blockml.bml.compiler.runtime.api.RenderTarget
|
|
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
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:cli="org.blockml.bml.cli"
|
|
16
|
+
xmlns:core="org.blockml.bml.core"
|
|
17
|
+
xmlns:def="org.blockml.bml.definition"
|
|
18
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
19
|
+
xmlns:parser="org.blockml.bml.compiler.parser"
|
|
20
|
+
xmlns:runtime="org.blockml.bml.compiler.runtime"
|
|
21
|
+
xmlns:runapi="org.blockml.bml.compiler.runtime.api"
|
|
22
|
+
xmlns:runcap="org.blockml.bml.compiler.runtime.capability"
|
|
23
|
+
xmlns:runconfig="org.blockml.bml.compiler.runtime.config"
|
|
24
|
+
xmlns:rundocumentation="org.blockml.bml.compiler.runtime.documentation"
|
|
25
|
+
xmlns:type="org.blockml.bml.type"
|
|
26
|
+
xmlns:validator="org.blockml.bml.compiler.validator">
|
|
27
|
+
|
|
28
|
+
<name>RenderTarget</name>
|
|
29
|
+
<type>runapi:RenderTarget</type>
|
|
30
|
+
<baseType>runtime:RuntimeType</baseType>
|
|
31
|
+
<is>Registered Stage-3 render target contract</is>
|
|
32
|
+
|
|
33
|
+
<documentation>C3/C7: name, accepts[], optional validateRequest, render(request, ctx).</documentation>
|
|
34
|
+
<references>
|
|
35
|
+
<see type="rundocumentation:PublicApi" relation="SeeAlso" />
|
|
36
|
+
</references>
|
|
37
|
+
<properties>
|
|
38
|
+
<name type="type:Text"><documentation>Registry key / CLI target name. (required)</documentation></name>
|
|
39
|
+
<accepts type="type:Text"><documentation>CompileScopeKind values this target accepts. (required)</documentation></accepts>
|
|
40
|
+
<validateRequest type="type:Text"><documentation>Optional request validation returning diagnostics. (optional)</documentation></validateRequest>
|
|
41
|
+
<render type="type:Text"><documentation>Produce RenderOutput from request and context. (required)</documentation></render>
|
|
42
|
+
</properties>
|
|
43
|
+
|
|
44
|
+
</block>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Compiler Runtime API — ResolvedScope
|
|
3
|
+
FQN: org.blockml.bml.compiler.runtime.api.ResolvedScope
|
|
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
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:cli="org.blockml.bml.cli"
|
|
16
|
+
xmlns:core="org.blockml.bml.core"
|
|
17
|
+
xmlns:def="org.blockml.bml.definition"
|
|
18
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
19
|
+
xmlns:parser="org.blockml.bml.compiler.parser"
|
|
20
|
+
xmlns:runtime="org.blockml.bml.compiler.runtime"
|
|
21
|
+
xmlns:runapi="org.blockml.bml.compiler.runtime.api"
|
|
22
|
+
xmlns:runcap="org.blockml.bml.compiler.runtime.capability"
|
|
23
|
+
xmlns:runconfig="org.blockml.bml.compiler.runtime.config"
|
|
24
|
+
xmlns:rundocumentation="org.blockml.bml.compiler.runtime.documentation"
|
|
25
|
+
xmlns:type="org.blockml.bml.type"
|
|
26
|
+
xmlns:validator="org.blockml.bml.compiler.validator">
|
|
27
|
+
|
|
28
|
+
<name>ResolvedScope</name>
|
|
29
|
+
<type>runapi:ResolvedScope</type>
|
|
30
|
+
<baseType>runtime:RuntimeType</baseType>
|
|
31
|
+
<is>Concrete scope after ResolveScope (never auto)</is>
|
|
32
|
+
|
|
33
|
+
<documentation>kind is document | library | corpus with corresponding payload fields.</documentation>
|
|
34
|
+
<references>
|
|
35
|
+
<see type="rundocumentation:PublicApi" relation="SeeAlso" />
|
|
36
|
+
</references>
|
|
37
|
+
<properties>
|
|
38
|
+
<kind type="type:Text"><documentation>Resolved kind without auto. (required)</documentation></kind>
|
|
39
|
+
<document type="runapi:CompileInput"><documentation>When kind is document. (optional)</documentation></document>
|
|
40
|
+
<libraries type="type:Text"><documentation>When kind is library. (optional)</documentation></libraries>
|
|
41
|
+
<roots type="type:Text"><documentation>When kind is corpus. (optional)</documentation></roots>
|
|
42
|
+
</properties>
|
|
43
|
+
|
|
44
|
+
</block>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Compiler Runtime API — ScopeConfigHints
|
|
3
|
+
FQN: org.blockml.bml.compiler.runtime.api.ScopeConfigHints
|
|
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
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:cli="org.blockml.bml.cli"
|
|
16
|
+
xmlns:core="org.blockml.bml.core"
|
|
17
|
+
xmlns:def="org.blockml.bml.definition"
|
|
18
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
19
|
+
xmlns:parser="org.blockml.bml.compiler.parser"
|
|
20
|
+
xmlns:runtime="org.blockml.bml.compiler.runtime"
|
|
21
|
+
xmlns:runapi="org.blockml.bml.compiler.runtime.api"
|
|
22
|
+
xmlns:runcap="org.blockml.bml.compiler.runtime.capability"
|
|
23
|
+
xmlns:runconfig="org.blockml.bml.compiler.runtime.config"
|
|
24
|
+
xmlns:rundocumentation="org.blockml.bml.compiler.runtime.documentation"
|
|
25
|
+
xmlns:type="org.blockml.bml.type"
|
|
26
|
+
xmlns:validator="org.blockml.bml.compiler.validator">
|
|
27
|
+
|
|
28
|
+
<name>ScopeConfigHints</name>
|
|
29
|
+
<type>runapi:ScopeConfigHints</type>
|
|
30
|
+
<baseType>runtime:RuntimeType</baseType>
|
|
31
|
+
<is>Host hints merged into ResolveScope</is>
|
|
32
|
+
|
|
33
|
+
<documentation>CLI passes libraries/roots/rootDir from bom.config.json.</documentation>
|
|
34
|
+
<references>
|
|
35
|
+
<see type="rundocumentation:PublicApi" relation="SeeAlso" />
|
|
36
|
+
</references>
|
|
37
|
+
<properties>
|
|
38
|
+
<libraries type="type:Text"><documentation>Fallback Library.bml paths. (optional)</documentation></libraries>
|
|
39
|
+
<roots type="type:Text"><documentation>Fallback corpus roots. (optional)</documentation></roots>
|
|
40
|
+
<rootDir type="type:Text"><documentation>Root for empty-scope diagnostics. (optional)</documentation></rootDir>
|
|
41
|
+
</properties>
|
|
42
|
+
|
|
43
|
+
</block>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Compiler Runtime Capability — BuildRenderSession
|
|
3
|
+
FQN: org.blockml.bml.compiler.runtime.capability.BuildRenderSession
|
|
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
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:cli="org.blockml.bml.cli"
|
|
16
|
+
xmlns:core="org.blockml.bml.core"
|
|
17
|
+
xmlns:def="org.blockml.bml.definition"
|
|
18
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
19
|
+
xmlns:parser="org.blockml.bml.compiler.parser"
|
|
20
|
+
xmlns:runtime="org.blockml.bml.compiler.runtime"
|
|
21
|
+
xmlns:runapi="org.blockml.bml.compiler.runtime.api"
|
|
22
|
+
xmlns:runcap="org.blockml.bml.compiler.runtime.capability"
|
|
23
|
+
xmlns:runconfig="org.blockml.bml.compiler.runtime.config"
|
|
24
|
+
xmlns:rundocumentation="org.blockml.bml.compiler.runtime.documentation"
|
|
25
|
+
xmlns:type="org.blockml.bml.type"
|
|
26
|
+
xmlns:validator="org.blockml.bml.compiler.validator">
|
|
27
|
+
|
|
28
|
+
<name>BuildRenderSession</name>
|
|
29
|
+
<type>runcap:BuildRenderSession</type>
|
|
30
|
+
<baseType>core:Capability</baseType>
|
|
31
|
+
<is>Construct RenderSession from bootstrap or BOM-first results</is>
|
|
32
|
+
|
|
33
|
+
<documentation>C1: defaults sourceFilePath to the literal placeholder scope (angle brackets),
|
|
34
|
+
outputBasePath to dot. Session fields are domain-agnostic.</documentation>
|
|
35
|
+
|
|
36
|
+
<references>
|
|
37
|
+
<see type="rundocumentation:RenderContextRules" relation="SeeAlso" />
|
|
38
|
+
</references>
|
|
39
|
+
|
|
40
|
+
<properties>
|
|
41
|
+
<options type="type:Text">
|
|
42
|
+
<documentation>Session field bag including typeRegistry, targetName, scopeKind. (required)</documentation>
|
|
43
|
+
</options>
|
|
44
|
+
<result type="runapi:RenderSession">
|
|
45
|
+
<documentation>Immutable session. (required)</documentation>
|
|
46
|
+
</result>
|
|
47
|
+
</properties>
|
|
48
|
+
|
|
49
|
+
</block>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Compiler Runtime Capability — ClearTargets
|
|
3
|
+
FQN: org.blockml.bml.compiler.runtime.capability.ClearTargets
|
|
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
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:cli="org.blockml.bml.cli"
|
|
16
|
+
xmlns:core="org.blockml.bml.core"
|
|
17
|
+
xmlns:def="org.blockml.bml.definition"
|
|
18
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
19
|
+
xmlns:parser="org.blockml.bml.compiler.parser"
|
|
20
|
+
xmlns:runtime="org.blockml.bml.compiler.runtime"
|
|
21
|
+
xmlns:runapi="org.blockml.bml.compiler.runtime.api"
|
|
22
|
+
xmlns:runcap="org.blockml.bml.compiler.runtime.capability"
|
|
23
|
+
xmlns:runconfig="org.blockml.bml.compiler.runtime.config"
|
|
24
|
+
xmlns:rundocumentation="org.blockml.bml.compiler.runtime.documentation"
|
|
25
|
+
xmlns:type="org.blockml.bml.type"
|
|
26
|
+
xmlns:validator="org.blockml.bml.compiler.validator">
|
|
27
|
+
|
|
28
|
+
<name>ClearTargets</name>
|
|
29
|
+
<type>runcap:ClearTargets</type>
|
|
30
|
+
<baseType>core:Capability</baseType>
|
|
31
|
+
<is>Clear all registered targets</is>
|
|
32
|
+
|
|
33
|
+
<documentation>Used by tests and host re-bootstrap. C3: no default re-seed.</documentation>
|
|
34
|
+
|
|
35
|
+
<references>
|
|
36
|
+
<see type="rundocumentation:TargetRegistry" relation="SeeAlso" />
|
|
37
|
+
</references>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
</block>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Compiler Runtime Capability — CompileBmlToBom
|
|
3
|
+
FQN: org.blockml.bml.compiler.runtime.capability.CompileBmlToBom
|
|
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
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:cli="org.blockml.bml.cli"
|
|
16
|
+
xmlns:core="org.blockml.bml.core"
|
|
17
|
+
xmlns:def="org.blockml.bml.definition"
|
|
18
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
19
|
+
xmlns:parser="org.blockml.bml.compiler.parser"
|
|
20
|
+
xmlns:runtime="org.blockml.bml.compiler.runtime"
|
|
21
|
+
xmlns:runapi="org.blockml.bml.compiler.runtime.api"
|
|
22
|
+
xmlns:runcap="org.blockml.bml.compiler.runtime.capability"
|
|
23
|
+
xmlns:runconfig="org.blockml.bml.compiler.runtime.config"
|
|
24
|
+
xmlns:rundocumentation="org.blockml.bml.compiler.runtime.documentation"
|
|
25
|
+
xmlns:type="org.blockml.bml.type"
|
|
26
|
+
xmlns:validator="org.blockml.bml.compiler.validator">
|
|
27
|
+
|
|
28
|
+
<name>CompileBmlToBom</name>
|
|
29
|
+
<type>runcap:CompileBmlToBom</type>
|
|
30
|
+
<baseType>core:Capability</baseType>
|
|
31
|
+
<is>Parse then validate a single BML document to BomDocument</is>
|
|
32
|
+
|
|
33
|
+
<documentation>Orchestrates parser parse and validator validate; does not own mapping algorithms.</documentation>
|
|
34
|
+
|
|
35
|
+
<references>
|
|
36
|
+
<see type="parser:Library" relation="SeeAlso" />
|
|
37
|
+
<see type="validator:Library" relation="SeeAlso" />
|
|
38
|
+
</references>
|
|
39
|
+
|
|
40
|
+
<properties>
|
|
41
|
+
<input type="runapi:CompileInput">
|
|
42
|
+
<documentation>Source unit. (required)</documentation>
|
|
43
|
+
</input>
|
|
44
|
+
<options type="runapi:CompileOptions">
|
|
45
|
+
<documentation>May supply typeRegistry. (optional)</documentation>
|
|
46
|
+
</options>
|
|
47
|
+
<result type="runapi:CompilerResult">
|
|
48
|
+
<documentation>BomDocument envelope. (required)</documentation>
|
|
49
|
+
</result>
|
|
50
|
+
</properties>
|
|
51
|
+
|
|
52
|
+
</block>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Compiler Runtime Capability — CompileBmlToOutput
|
|
3
|
+
FQN: org.blockml.bml.compiler.runtime.capability.CompileBmlToOutput
|
|
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
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:cli="org.blockml.bml.cli"
|
|
16
|
+
xmlns:core="org.blockml.bml.core"
|
|
17
|
+
xmlns:def="org.blockml.bml.definition"
|
|
18
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
19
|
+
xmlns:parser="org.blockml.bml.compiler.parser"
|
|
20
|
+
xmlns:runtime="org.blockml.bml.compiler.runtime"
|
|
21
|
+
xmlns:runapi="org.blockml.bml.compiler.runtime.api"
|
|
22
|
+
xmlns:runcap="org.blockml.bml.compiler.runtime.capability"
|
|
23
|
+
xmlns:runconfig="org.blockml.bml.compiler.runtime.config"
|
|
24
|
+
xmlns:rundocumentation="org.blockml.bml.compiler.runtime.documentation"
|
|
25
|
+
xmlns:type="org.blockml.bml.type"
|
|
26
|
+
xmlns:validator="org.blockml.bml.compiler.validator">
|
|
27
|
+
|
|
28
|
+
<name>CompileBmlToOutput</name>
|
|
29
|
+
<type>runcap:CompileBmlToOutput</type>
|
|
30
|
+
<baseType>core:Capability</baseType>
|
|
31
|
+
<is>Document-scope sugar for CompileToOutput</is>
|
|
32
|
+
|
|
33
|
+
<documentation>Wraps CompileInput as scope kind document then calls CompileToOutput.</documentation>
|
|
34
|
+
|
|
35
|
+
<references>
|
|
36
|
+
<see type="runcap:CompileToOutput" relation="SeeAlso" />
|
|
37
|
+
</references>
|
|
38
|
+
|
|
39
|
+
<properties>
|
|
40
|
+
<input type="runapi:CompileInput">
|
|
41
|
+
<documentation>BML source unit. (required)</documentation>
|
|
42
|
+
</input>
|
|
43
|
+
<targetName type="type:Text">
|
|
44
|
+
<documentation>Registered target name. (required)</documentation>
|
|
45
|
+
</targetName>
|
|
46
|
+
<options type="runapi:CompileOptions">
|
|
47
|
+
<documentation>Host options. (optional)</documentation>
|
|
48
|
+
</options>
|
|
49
|
+
<result type="runapi:CompilerResult">
|
|
50
|
+
<documentation>RenderOutput envelope. (required)</documentation>
|
|
51
|
+
</result>
|
|
52
|
+
</properties>
|
|
53
|
+
|
|
54
|
+
</block>
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Compiler Runtime Capability — CompileBomToOutput
|
|
3
|
+
FQN: org.blockml.bml.compiler.runtime.capability.CompileBomToOutput
|
|
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
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:cli="org.blockml.bml.cli"
|
|
16
|
+
xmlns:core="org.blockml.bml.core"
|
|
17
|
+
xmlns:def="org.blockml.bml.definition"
|
|
18
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
19
|
+
xmlns:parser="org.blockml.bml.compiler.parser"
|
|
20
|
+
xmlns:runtime="org.blockml.bml.compiler.runtime"
|
|
21
|
+
xmlns:runapi="org.blockml.bml.compiler.runtime.api"
|
|
22
|
+
xmlns:runcap="org.blockml.bml.compiler.runtime.capability"
|
|
23
|
+
xmlns:runconfig="org.blockml.bml.compiler.runtime.config"
|
|
24
|
+
xmlns:rundocumentation="org.blockml.bml.compiler.runtime.documentation"
|
|
25
|
+
xmlns:type="org.blockml.bml.type"
|
|
26
|
+
xmlns:validator="org.blockml.bml.compiler.validator">
|
|
27
|
+
|
|
28
|
+
<name>CompileBomToOutput</name>
|
|
29
|
+
<type>runcap:CompileBomToOutput</type>
|
|
30
|
+
<baseType>core:Capability</baseType>
|
|
31
|
+
<is>BOM-first Stage-3 sugar with required TypeRegistry</is>
|
|
32
|
+
|
|
33
|
+
<documentation>Renders an existing BomDocument without re-parse or bootstrap.
|
|
34
|
+
Requires CompileBomOptions.typeRegistry (BML_MISSING_TYPE_REGISTRY when absent).
|
|
35
|
+
Document scope only — target.accepts must include document.
|
|
36
|
+
Registry is passed through unchanged; host owns registry contents.
|
|
37
|
+
Synthetic CompileRequest uses scope kind document and optional targetOptions.</documentation>
|
|
38
|
+
|
|
39
|
+
<references>
|
|
40
|
+
<see type="runcap:CompileToOutput" relation="SeeAlso" />
|
|
41
|
+
<see type="runapi:CompileBomOptions" relation="SeeAlso" />
|
|
42
|
+
<see type="rundocumentation:ExternalTargetContract" relation="SeeAlso" />
|
|
43
|
+
</references>
|
|
44
|
+
|
|
45
|
+
<properties>
|
|
46
|
+
<document type="type:Text">
|
|
47
|
+
<documentation>BomDocument to render. (required)</documentation>
|
|
48
|
+
</document>
|
|
49
|
+
<targetName type="type:Text">
|
|
50
|
+
<documentation>Registered target name. (required)</documentation>
|
|
51
|
+
</targetName>
|
|
52
|
+
<options type="runapi:CompileBomOptions">
|
|
53
|
+
<documentation>BOM-first options including required typeRegistry. (required)</documentation>
|
|
54
|
+
</options>
|
|
55
|
+
<result type="runapi:CompilerResult">
|
|
56
|
+
<documentation>RenderOutput envelope. (required)</documentation>
|
|
57
|
+
</result>
|
|
58
|
+
</properties>
|
|
59
|
+
|
|
60
|
+
</block>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Compiler Runtime Capability — CompileToOutput
|
|
3
|
+
FQN: org.blockml.bml.compiler.runtime.capability.CompileToOutput
|
|
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
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:cli="org.blockml.bml.cli"
|
|
16
|
+
xmlns:core="org.blockml.bml.core"
|
|
17
|
+
xmlns:def="org.blockml.bml.definition"
|
|
18
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
19
|
+
xmlns:parser="org.blockml.bml.compiler.parser"
|
|
20
|
+
xmlns:runtime="org.blockml.bml.compiler.runtime"
|
|
21
|
+
xmlns:runapi="org.blockml.bml.compiler.runtime.api"
|
|
22
|
+
xmlns:runcap="org.blockml.bml.compiler.runtime.capability"
|
|
23
|
+
xmlns:runconfig="org.blockml.bml.compiler.runtime.config"
|
|
24
|
+
xmlns:rundocumentation="org.blockml.bml.compiler.runtime.documentation"
|
|
25
|
+
xmlns:type="org.blockml.bml.type"
|
|
26
|
+
xmlns:validator="org.blockml.bml.compiler.validator">
|
|
27
|
+
|
|
28
|
+
<name>CompileToOutput</name>
|
|
29
|
+
<type>runcap:CompileToOutput</type>
|
|
30
|
+
<baseType>core:Capability</baseType>
|
|
31
|
+
<is>Normative Stage-3 facade: request plus target name to CompilerResult</is>
|
|
32
|
+
|
|
33
|
+
<documentation>C2: getTarget → optional validateRequest → ResolveScope → scopeAccepts → bootstrapForScope → (document: ValidateRegistryDocuments) → BuildRenderSession → CreateRenderContext → target.render. Emits BML_UNKNOWN_TARGET / BML_TARGET_SCOPE_MISMATCH.</documentation>
|
|
34
|
+
|
|
35
|
+
<references>
|
|
36
|
+
<see type="rundocumentation:PublicApi" relation="SeeAlso" />
|
|
37
|
+
<see type="rundocumentation:ArchitectureOverview" relation="SeeAlso" />
|
|
38
|
+
</references>
|
|
39
|
+
|
|
40
|
+
<properties>
|
|
41
|
+
<request type="runapi:CompileRequest">
|
|
42
|
+
<documentation>Compile request. (required)</documentation>
|
|
43
|
+
</request>
|
|
44
|
+
<targetName type="type:Text">
|
|
45
|
+
<documentation>Registered target name. (required)</documentation>
|
|
46
|
+
</targetName>
|
|
47
|
+
<options type="runapi:CompileOptions">
|
|
48
|
+
<documentation>Host compile options. (optional)</documentation>
|
|
49
|
+
</options>
|
|
50
|
+
<configHints type="runapi:ScopeConfigHints">
|
|
51
|
+
<documentation>Scope hints from host config. (optional)</documentation>
|
|
52
|
+
</configHints>
|
|
53
|
+
<result type="runapi:CompilerResult">
|
|
54
|
+
<documentation>RenderOutput envelope. (required)</documentation>
|
|
55
|
+
</result>
|
|
56
|
+
</properties>
|
|
57
|
+
|
|
58
|
+
</block>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Compiler Runtime Capability — CreateRenderContext
|
|
3
|
+
FQN: org.blockml.bml.compiler.runtime.capability.CreateRenderContext
|
|
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
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:cli="org.blockml.bml.cli"
|
|
16
|
+
xmlns:core="org.blockml.bml.core"
|
|
17
|
+
xmlns:def="org.blockml.bml.definition"
|
|
18
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
19
|
+
xmlns:parser="org.blockml.bml.compiler.parser"
|
|
20
|
+
xmlns:runtime="org.blockml.bml.compiler.runtime"
|
|
21
|
+
xmlns:runapi="org.blockml.bml.compiler.runtime.api"
|
|
22
|
+
xmlns:runcap="org.blockml.bml.compiler.runtime.capability"
|
|
23
|
+
xmlns:runconfig="org.blockml.bml.compiler.runtime.config"
|
|
24
|
+
xmlns:rundocumentation="org.blockml.bml.compiler.runtime.documentation"
|
|
25
|
+
xmlns:type="org.blockml.bml.type"
|
|
26
|
+
xmlns:validator="org.blockml.bml.compiler.validator">
|
|
27
|
+
|
|
28
|
+
<name>CreateRenderContext</name>
|
|
29
|
+
<type>runcap:CreateRenderContext</type>
|
|
30
|
+
<baseType>core:Capability</baseType>
|
|
31
|
+
<is>Create root RenderContext for a session</is>
|
|
32
|
+
|
|
33
|
+
<documentation>C1: optional blockFqn and outputRelativePath default empty; child forks overrides.</documentation>
|
|
34
|
+
|
|
35
|
+
<references>
|
|
36
|
+
<see type="rundocumentation:RenderContextRules" relation="SeeAlso" />
|
|
37
|
+
</references>
|
|
38
|
+
|
|
39
|
+
<properties>
|
|
40
|
+
<session type="runapi:RenderSession">
|
|
41
|
+
<documentation>Session. (required)</documentation>
|
|
42
|
+
</session>
|
|
43
|
+
<blockFqn type="type:Text">
|
|
44
|
+
<documentation>Initial block FQN. (optional)</documentation>
|
|
45
|
+
</blockFqn>
|
|
46
|
+
<outputRelativePath type="type:Text">
|
|
47
|
+
<documentation>Initial relative path. (optional)</documentation>
|
|
48
|
+
</outputRelativePath>
|
|
49
|
+
<result type="runapi:RenderContext">
|
|
50
|
+
<documentation>Root context. (required)</documentation>
|
|
51
|
+
</result>
|
|
52
|
+
</properties>
|
|
53
|
+
|
|
54
|
+
</block>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Compiler Runtime Capability — GetTarget
|
|
3
|
+
FQN: org.blockml.bml.compiler.runtime.capability.GetTarget
|
|
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
|
+
"
|
|
10
|
+
xmlns:blockml="org.blockml.bml"
|
|
11
|
+
xmlns:bom="org.blockml.bml.bom"
|
|
12
|
+
xmlns:bomapi="org.blockml.bml.bom.api"
|
|
13
|
+
xmlns:bomcommon="org.blockml.bml.bom.common"
|
|
14
|
+
xmlns:bomdoc="org.blockml.bml.bom.document"
|
|
15
|
+
xmlns:cli="org.blockml.bml.cli"
|
|
16
|
+
xmlns:core="org.blockml.bml.core"
|
|
17
|
+
xmlns:def="org.blockml.bml.definition"
|
|
18
|
+
xmlns:framework="org.blockml.bml.framework"
|
|
19
|
+
xmlns:parser="org.blockml.bml.compiler.parser"
|
|
20
|
+
xmlns:runtime="org.blockml.bml.compiler.runtime"
|
|
21
|
+
xmlns:runapi="org.blockml.bml.compiler.runtime.api"
|
|
22
|
+
xmlns:runcap="org.blockml.bml.compiler.runtime.capability"
|
|
23
|
+
xmlns:runconfig="org.blockml.bml.compiler.runtime.config"
|
|
24
|
+
xmlns:rundocumentation="org.blockml.bml.compiler.runtime.documentation"
|
|
25
|
+
xmlns:type="org.blockml.bml.type"
|
|
26
|
+
xmlns:validator="org.blockml.bml.compiler.validator">
|
|
27
|
+
|
|
28
|
+
<name>GetTarget</name>
|
|
29
|
+
<type>runcap:GetTarget</type>
|
|
30
|
+
<baseType>core:Capability</baseType>
|
|
31
|
+
<is>Look up a registered RenderTarget by name</is>
|
|
32
|
+
|
|
33
|
+
<documentation>Returns undefined when missing; CompileToOutput turns that into BML_UNKNOWN_TARGET.</documentation>
|
|
34
|
+
|
|
35
|
+
<references>
|
|
36
|
+
<see type="rundocumentation:TargetRegistry" relation="SeeAlso" />
|
|
37
|
+
</references>
|
|
38
|
+
|
|
39
|
+
<properties>
|
|
40
|
+
<name type="type:Text">
|
|
41
|
+
<documentation>Target name. (required)</documentation>
|
|
42
|
+
</name>
|
|
43
|
+
<result type="runapi:RenderTarget">
|
|
44
|
+
<documentation>Target or absent. (optional)</documentation>
|
|
45
|
+
</result>
|
|
46
|
+
</properties>
|
|
47
|
+
|
|
48
|
+
</block>
|