Skip to documentation
SLOP

tiny.css.parseDeclarationValue

Reference tiny.css parseDeclarationValue

Defined in sheet.

Splits an authored value into its body and its !important flag.

Called byCallsNo direct callersprivate sourcelib.css.src.sheetcastprivate sourcelib.css.src.sheetimportantCutsheetparseDeclarationValue
Static calls · unresolved targets: 0 · external targets: 0.

Source

Source: lib/css/src/sheet.zig:769

zig
/// Splits an authored value into its body and its `!important` flag. The/// returned `property` is empty because the caller already holds the name.pub fn parseDeclarationValue(text: []const u8) Declaration {    std.debug.assert(text.len <= max_source_bytes);    const cut = importantCut(text, 0, cast(text.len));    return .{        .property = "",        .value = text[cut.start..cut.end],        .important = cut.important,    };}

Source: lib/css/src/root.zig:61

zig
pub const parseDeclarationValue = sheet.parseDeclarationValue;

Audit

Definitions1
Public names2
Members0
Version26.7.0
Revisiondaab053ee433