Hwaro::Assets::Sass::Value
Instance methods
Sass equality (==). Subclasses override; default is identity
on serialized text.
Round-trippable text for this value — the spelling that
Expr.coerce can parse back into an equal value. This is what
variable storage and meta.inspect need, and it is NOT the same
as to_css: CSS output drops nulls from lists and never
parenthesizes a sublist, both of which destroy structure.
Mirrors dart-sass's inspect vs toCssString split.
storage asks for the spelling variable storage needs on top of
that: numbers at full precision (see Number#inspect_css).
CSS text for this value when it lands inside #{...}. dart-sass
renders strings UNQUOTED at every nesting level there, so a list
of quoted strings interpolates as a, b — "a", "b" would ship
invalid CSS (content: ""a", "b""). Only Str and the
containers that hold values override this.