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§

plugin
Parser plugin trait and built-in plugin implementations.

Structs§

Component
Represents a web component in the registry.
ComponentRegistry
Registry of web components.
ConditionParser
Parser for WebUI condition expressions.
CssLinkHref
Resolved Link-mode CSS asset path data.
CssLinkOptions
Configures Link-mode CSS filenames and public hrefs.
CssParser
Parser for CSS files.
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
Strategy for how component DOM is structured.
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_CSS_FILE_NAME_TEMPLATE
Default Link-mode CSS filename template.

Type Aliases§

Result
Result type for WebUI parser operations.