Skip to documentation
SLOP

tiny.css.Selector

Reference tiny.css Selector

Defined in tiny.css.

One compiled selector.

API (6)

Actions

Public operations.

Fields and members

Public fields and members.

No direct callersNo direct callstiny.cssSelector
Static calls · unresolved targets: unknown · external targets: unknown.

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

selector.Selector.

Audit

Definitions2
Public names4
Members5
Version26.7.0
Revisiondaab053ee433