ComplexSelector.parse constructor
Parses a complex selector from contents
.
If passed, url
is the name of the file from which contents
comes.
allowParent
controls whether a ParentSelector is allowed in this
selector.
Throws a SassFormatException
if parsing fails.
Implementation
factory ComplexSelector.parse(String contents,
{Object? url, Logger? logger, bool allowParent = true}) =>
SelectorParser(contents,
url: url, logger: logger, allowParent: allowParent)
.parseComplexSelector();