@jesscss/scss-parser 2.0.0-alpha.11 → 2.0.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -9
- package/lib/chunks/parse-with.cjs +147 -0
- package/lib/chunks/parse-with.js +130 -0
- package/lib/chunks/trivia-labels.cjs +18 -0
- package/lib/chunks/trivia-labels.js +13 -0
- package/lib/cst/positions.cjs +24 -0
- package/lib/cst/positions.js +21 -0
- package/lib/cst.cjs +11 -4
- package/lib/cst.d.ts +8 -2
- package/lib/cst.js +10 -4
- package/lib/grammar/ast/positions.cjs +20127 -0
- package/lib/grammar/ast/positions.js +20126 -0
- package/lib/grammar/ast.cjs +20154 -0
- package/lib/grammar/ast.d.ts +11 -0
- package/lib/grammar/ast.js +20153 -0
- package/lib/grammar/cst/positions.cjs +20127 -0
- package/lib/grammar/cst/positions.js +20126 -0
- package/lib/grammar/cst.cjs +20154 -0
- package/lib/grammar/cst.d.ts +2 -0
- package/lib/grammar/cst.js +20153 -0
- package/lib/grammar-helpers.d.ts +234 -0
- package/lib/grammar.d.ts +6 -336
- package/lib/index.cjs +10 -103
- package/lib/index.d.ts +9 -9
- package/lib/index.js +9 -103
- package/lib/parse-error.d.ts +43 -0
- package/lib/parse-with.d.ts +5 -0
- package/lib/positions.cjs +12 -0
- package/lib/positions.js +9 -0
- package/lib/trivia-labels.d.ts +10 -0
- package/package.json +41 -11
- package/lib/ast/lower-user-function-calls.d.ts +0 -6
- package/lib/grammar.cjs +0 -99039
- package/lib/grammar.js +0 -99035
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build entry for the AST Scss grammar.
|
|
3
|
+
*
|
|
4
|
+
* Each variant is built on its own so importing one never loads the others:
|
|
5
|
+
* the compiled artifacts are multi-megabyte standalone tables and a single
|
|
6
|
+
* shared module would make every consumer ingest all four. `parseman`'s macro
|
|
7
|
+
* requires the `rules()` call to sit in the module that declares the factory,
|
|
8
|
+
* so the instances stay in `../grammar.ts` and each variant entry re-exports
|
|
9
|
+
* exactly one of them.
|
|
10
|
+
*/
|
|
11
|
+
export { scssGrammar } from '../grammar.js';
|