Parsing topic
APIs that parse Sass or CSS source.
Classes
- ArgumentDeclaration AST Parsing
- An argument declaration, as for a function or mixin definition.
- ComplexSelector AST Parsing
- A complex selector.
- CompoundSelector AST Parsing
- A compound selector.
- Expression AST Parsing
- A SassScript expression in a Sass syntax tree.
- SelectorList AST Parsing
- A selector list.
- SimpleSelector AST Parsing
- An abstract superclass for simple selectors.
- Stylesheet AST Parsing
- 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 Parsing
- An exception thrown when Sass parsing has failed.