@lezer/sass
This is a Sass/SCSS grammar for the lezer parser system.
Parses SCSS syntax by default. Enable the "indented" dialect to support indented syntax.
The code is licensed under an MIT license.
Lezer-based Sass/SCSS grammar
Fix parsing of selectors in descendant positions.
Allow @ keywords to start with a dash, since prefixed ones exist.
Emit a node for class selector dots.
Allow values to be empty.
Follow the standard, allowing digits in unit identifiers.
Correctly parse properties with a space before the colon.
Add support for bracketed grid line names.
Make keyframe selector parsing more flexible to support timeline ranges.
Allow multiple comma-separated keyframe selectors per keyframe.
Add support for range queries.
@import
statements now support syntax.
Fix a bug that could cause the parser to get stuck, endlessly parsing empty statments, at the end of some types of inputs with unclosed blocks.
Properly parse placeholder selectors. Add map declarations to the grammar
Add support for parenthesized maps.
Add support for as
syntax in @forward
and @use
.
Tag comments and strings as isolating for the purpose of bidirectional text.
Properly parse suffixed nested selectors.
Allow the nesting &
selector to appear as a descendant selector.
Make the package work with new TS resolution styles.
Include type definitions.
First numbered release.