Skip to main content

Crate webui_parser

Crate webui_parser 

Source
Expand description

Directive parser for WebUI template directives.

This module handles parsing WebUI-specific directives like , , etc.

Modules§

codes
Stable, machine-readable diagnostic codes.
plugin
Parser plugin trait and built-in plugin implementations.

Structs§

AssetFileNameTemplate
Validated filename template for emitted build assets.
AssetFileNameTemplateError
Error returned when an asset filename template is invalid.
Component
Represents a web component in the registry.
ComponentRegistration
Inputs for registering a component from content strings.
ComponentRegistry
Registry of web components.
ConditionParser
Parser for WebUI condition expressions.
CssFallbackChain
A CSS var() fallback chain that needs theme or local CSS coverage.
CssLinkHref
Resolved Link-mode CSS asset path data.
CssLinkOptions
Configures Link-mode CSS filenames and public hrefs.
CssParser
Parser for CSS files.
CssTokenAnalysis
CSS token analysis produced from the parsed template/component graph.
Diagnostic
A build-time template-authoring diagnostic.
HandlebarsParser
Parser for handlebars-style template syntax.
HtmlParser
Parser for WebUI directives.
ParserOptions
Build/output options that affect parser-generated component templates.

Enums§

CssStrategy
Strategy for how component CSS is delivered in rendered output.
DomStrategy
Default DOM strategy for components without an authored declarative Shadow root.
LegalComments
Strategy for preserving legal comments in generated output.
ParserError
Error type for WebUI parser.
Plugin
Framework plugin to load for build-time and render-time processing.
Severity
Severity of a Diagnostic.

Constants§

DEFAULT_ASSET_FILE_NAME_TEMPLATE
Default build-asset filename template.
DEFAULT_CSS_FILE_NAME_TEMPLATE
Default Link-mode CSS filename template.

Type Aliases§

Result
Result type for WebUI parser operations.