Parsing topic
APIs that parse Sass or CSS source.
Classes
- ArgumentDeclaration
- An argument declaration, as for a function or mixin definition.
- ComplexSelector
- A complex selector.
- CompoundSelector
- A compound selector.
- Expression
- A SassScript expression in a Sass syntax tree.
- SelectorList
- A selector list.
- SimpleSelector
- An abstract superclass for simple selectors.
- Stylesheet
- A Sass stylesheet.
Functions
-
isIdentifier(
String text) → bool Parsing -
Returns whether
text
is a valid CSS identifier. -
parseIdentifier(
String text) → String Parsing -
Parses
text
as a CSS identifier and returns the result.
Exceptions / Errors
- SassFormatException
- An exception thrown when Sass parsing has failed.