Skip to main content

Module plugin

Module plugin 

Source
Expand description

Parser plugin trait and built-in plugin implementations.

The plugin system is framework-aware but phase-local — parser plugins classify framework-owned attributes, capture plugin-facing component templates, and emit per-element hydration metadata for the handler.

Re-exports§

pub use fast::v2 as fast_v2;
pub use fast::v3 as fast_v3;

Modules§

fast
FAST parser plugins and shared implementation.
webui
WebUI Framework parser plugin.

Structs§

AttributeContext
An attribute encountered on an opening tag.
ComponentBuildContext
A component template after the parser has resolved its build behavior.
ComponentProcessing
Static component-processing behavior for a parser plugin.
ComponentSource
Borrowed authored component source presented to a parser plugin before the component registry stores it.
ComponentTemplateArtifact
Client template payload generated by a parser plugin for one component.
ElementStartContext
An opening tag after all attributes have been processed.
FragmentContext
A fragment about to be parsed.
TransformedComponentSource
Owned replacement views produced by a plugin’s component-source transform.

Enums§

AttributeAction
Parser-owned decision about how an attribute should be handled.
ComponentStyleDelivery
Build-resolved CSS delivery for a component.
ParserPluginArtifacts
Build artifacts extracted from a parser plugin after parsing completes.
StateSurface
State surface a component consumes through one hydration channel.

Traits§

ParserPlugin
A parser plugin that can customize template parsing behavior.

Type Aliases§

ComponentSourceTransform
Stateless source transform installed into a ComponentRegistry.