Skip to main content

Module ordinary_html_codegen

Module ordinary_html_codegen 

Source
Expand description

Compiler-owned J1-P materialization of ordinary template instance markers.

Structs§

StructuralConditionalHostFragments
Compiler-rendered branches for one compiler-addressed conditional host.
StructuralKeyedHostFragment
Compiler-rendered keyed item fragment for one exact component host scope.

Enums§

StructuralConditionalHostScope
The only host scopes the compiler currently renders exactly.

Functions§

generate_ordinary_instance_html
Render the planned initial component topology with compiler-precomputed ordinary instance and J10 resume markers.
generate_ordinary_instance_html_for_component
Renders only the planned ordinary instance tree rooted at one compiler selected component. Application publication uses this entry-scoped form so unrelated top-level components cannot leak into an entry page.
generate_structural_conditional_host_fragments
Render both branches for a compiler-issued conditional structural region.
generate_structural_keyed_host_fragments
Render keyed item templates with compiler-issued structural invocation anchors. The generic keyed tokens remain owned by html_codegen; this function only joins exact template nodes to planned component invocations.
generate_structural_template_instance_html
Renders one compiler-planned structural template with the same exact ordinary target and binding markers as an initial instance. The static template-instance prefix is replaced by an opaque runtime-occurrence token; only the later structural materializer may substitute that token.
structural_invocations_in_compiler_html