Module parser

Module parser 

Source

Modules§

attribute_standard
Attribute standardization and validation for unified naming across widgets.
error
gradient
Gradient parsing utilities
lexer
style_parser
Style attribute parsing
theme_parser
Theme and style class parsing

Structs§

ValidationWarning
Warning about a widget requiring a higher schema version than declared.

Constants§

MAX_SUPPORTED_VERSION
Maximum schema version supported by this framework release.

Functions§

parse
Parse XML markup into a DampenDocument.
parse_comma_separated
Parse comma-separated list into Vec
parse_enum_value
Parse a simple enum value (case-insensitive) and return the matched variant
parse_version_string
Parse a version string in “major.minor” format into a SchemaVersion.
validate_no_circular_dependencies
Validates that there are no circular dependencies in UI file includes.
validate_version_supported
Validate that a parsed version is supported by this framework.
validate_widget_versions
Validate that all widgets in the document are compatible with the declared schema version.