Parsing Topic

APIs that parse Sass or CSS source.


ArgumentDeclaration AST Parsing
An argument declaration, as for a function or mixin definition.
Expression AST Parsing
A SassScript expression in a Sass syntax tree.
Stylesheet AST Parsing
A Sass stylesheet. [...]


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.