Skip to main content

Module codegen

Module codegen 

Source

Functions§

generate
generate_with_id
generate_with_imports
Generate code for a document with a specific component name. component_name is used for the render function name (derived from the file stem). If None, falls back to the root element name (backward compat). resolved_state_type overrides the document’s @state directive (used by semantic analysis).
generate_with_imports_and_route_params

Type Aliases§

ResolvedImport
Resolved import entry: (tag_name, render_fn_name)