SassApiValue extension
Extension methods that are only visible through the sass_api
package.
These methods are considered less general-purpose and more liable to change than the main Value interface.
- on
Methods
-
assertComplexSelector(
{String? name, bool allowParent = false}) → ComplexSelector -
Parses
this
as a complex selector, in the same manner as theselector-parse()
function. -
assertCompoundSelector(
{String? name, bool allowParent = false}) → CompoundSelector -
Parses
this
as a compound selector, in the same manner as theselector-parse()
function. -
assertSelector(
{String? name, bool allowParent = false}) → SelectorList -
Parses
this
as a selector list, in the same manner as theselector-parse()
function. -
assertSimpleSelector(
{String? name, bool allowParent = false}) → SimpleSelector -
Parses
this
as a simple selector, in the same manner as theselector-parse()
function.