tiny.css.Selector
Defined in tiny.css.
One compiled selector.
API (6)
Actions
Public operations.
rightmost: The compound a candidate node is tested against first.
Fields and members
Public fields and members.
Source
Source: lib/css/src/selector/grammar.zig:136
zig
/// One compiled selector. Slices borrow the placement arrays the sheet owns.pub const Selector = struct { raw: []const u8 = &.{}, compounds: []const Compound = &.{}, combinators: []const Combinator = &.{}, specificity: Specificity = .{}, bucket: BucketKey = .universal, /// The compound a candidate node is tested against first. pub fn rightmost(self: Selector) Compound { std.debug.assert(self.compounds.len > 0); return self.compounds[self.compounds.len - 1]; }};Source: lib/css/src/root.zig:54
zig
pub const Selector = selector.Selector;Also reachable as
Audit
| Definitions | 2 |
|---|---|
| Public names | 4 |
| Members | 5 |
| Version | 26.7.0 |
| Revision | daab053ee433 |