selectors
Structs
TemplateNodeSelectorInfo
Selector identity persisted for one authored template node.
class_binding is the sole class representation: literal strings and lists
as well as PAXEL expressions all cross the manifest/runtime boundary here.
Properties
source_location
Type: Option<LocationInfo>
Source span of the authored node, when available.
id
Type: Option<Token>
The node's authored id selector.
class_binding
Type: Option<ValueDefinition>
The complete class attribute value. Literal and expression-backed classes share this
representation so runtime selector resolution has a single source of truth.
Implementations
literal_classes
pub fn literal_classes(&self) -> Vec<String>
Return class names that can be read without evaluating an expression.