@velarscript/compiler 0.10.4 → 0.11.0

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/dist/token.d.ts CHANGED
@@ -10,8 +10,8 @@ export interface Token {
10
10
  /**
11
11
  * Hard reserved words: spellings the lexer always turns into a keyword token,
12
12
  * so they can never name a binding. D30 item 16 softened the statement-head
13
- * words that JavaScript does not reserve — `type`, `match`, `case`, `from`,
14
- * `as` — into contextual keywords, which the lexer emits as ordinary
13
+ * words that JavaScript does not reserve — including `type`, `match`, `from`,
14
+ * `as`, and `json` — into contextual keywords, which the lexer emits as ordinary
15
15
  * identifiers and the parser recognizes by declaration shape. `enum` stays
16
16
  * here because JavaScript reserves it, and generated JavaScript must be legal.
17
17
  */
package/dist/token.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Hard reserved words: spellings the lexer always turns into a keyword token,
3
3
  * so they can never name a binding. D30 item 16 softened the statement-head
4
- * words that JavaScript does not reserve — `type`, `match`, `case`, `from`,
5
- * `as` — into contextual keywords, which the lexer emits as ordinary
4
+ * words that JavaScript does not reserve — including `type`, `match`, `from`,
5
+ * `as`, and `json` — into contextual keywords, which the lexer emits as ordinary
6
6
  * identifiers and the parser recognizes by declaration shape. `enum` stays
7
7
  * here because JavaScript reserves it, and generated JavaScript must be legal.
8
8
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velarscript/compiler",
3
- "version": "0.10.4",
3
+ "version": "0.11.0",
4
4
  "description": "The compiler and semantic authority for VelarScript Core and explicit compiler extensions.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",