tiny.css.parseDeclarationValue
Defined in sheet.
Splits an authored value into its body and its !important flag.
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
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |