diff --git a/src/parser/expression.js b/src/parser/expression.js index be1252cbc9..2d9b0b1c7e 100644 --- a/src/parser/expression.js +++ b/src/parser/expression.js @@ -40,7 +40,7 @@ pp.checkPropClash = function (prop, propHash) { break; case "StringLiteral": - case "NumberLiteral": + case "NumericLiteral": name = String(key.value); break; @@ -417,13 +417,13 @@ pp.parseExprAtom = function (refShorthandDefaultPos) { case tt.regexp: let value = this.state.value; - node = this.parseLiteral(value.value, "RegexLiteral"); + node = this.parseLiteral(value.value, "RegExpLiteral"); node.pattern = value.pattern; node.flags = value.flags; return node; case tt.num: - return this.parseLiteral(this.state.value, "NumberLiteral"); + return this.parseLiteral(this.state.value, "NumericLiteral"); case tt.string: return this.parseLiteral(this.state.value, "StringLiteral"); diff --git a/src/plugins/flow.js b/src/plugins/flow.js index 994d744dfb..5022203f86 100644 --- a/src/plugins/flow.js +++ b/src/plugins/flow.js @@ -506,7 +506,7 @@ pp.flowParsePrimaryType = function () { this.addExtra(node, "rawValue", node.value); this.addExtra(node, "raw", this.input.slice(this.state.start, this.state.end)); this.next(); - return this.finishNode(node, "NumberLiteralTypeAnnotation"); + return this.finishNode(node, "NumericLiteralTypeAnnotation"); default: if (this.state.type.keyword === "typeof") { diff --git a/test/fixtures/comments/basic/surrounding-throw-comments/expected.json b/test/fixtures/comments/basic/surrounding-throw-comments/expected.json index 30e63041bc..5dcfd548ca 100755 --- a/test/fixtures/comments/basic/surrounding-throw-comments/expected.json +++ b/test/fixtures/comments/basic/surrounding-throw-comments/expected.json @@ -91,7 +91,7 @@ } }, "argument": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 42, "end": 44, "loc": { diff --git a/test/fixtures/comments/basic/switch-fallthrough-comment-in-function/expected.json b/test/fixtures/comments/basic/switch-fallthrough-comment-in-function/expected.json index 579ef06c90..4559db028e 100755 --- a/test/fixtures/comments/basic/switch-fallthrough-comment-in-function/expected.json +++ b/test/fixtures/comments/basic/switch-fallthrough-comment-in-function/expected.json @@ -140,7 +140,7 @@ }, "consequent": [], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 66, "end": 67, "loc": { @@ -261,7 +261,7 @@ } ], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 111, "end": 112, "loc": { diff --git a/test/fixtures/comments/basic/switch-fallthrough-comment/expected.json b/test/fixtures/comments/basic/switch-fallthrough-comment/expected.json index 444961e833..9246cd1331 100755 --- a/test/fixtures/comments/basic/switch-fallthrough-comment/expected.json +++ b/test/fixtures/comments/basic/switch-fallthrough-comment/expected.json @@ -75,7 +75,7 @@ }, "consequent": [], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 34, "end": 35, "loc": { @@ -196,7 +196,7 @@ } ], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 71, "end": 72, "loc": { diff --git a/test/fixtures/comments/basic/switch-no-default-comment-in-function/expected.json b/test/fixtures/comments/basic/switch-no-default-comment-in-function/expected.json index 09580d701c..aa28503c94 100755 --- a/test/fixtures/comments/basic/switch-no-default-comment-in-function/expected.json +++ b/test/fixtures/comments/basic/switch-no-default-comment-in-function/expected.json @@ -157,7 +157,7 @@ } ], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 48, "end": 49, "loc": { @@ -212,7 +212,7 @@ } ], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 83, "end": 84, "loc": { diff --git a/test/fixtures/comments/basic/switch-no-default-comment-in-nested-functions/expected.json b/test/fixtures/comments/basic/switch-no-default-comment-in-nested-functions/expected.json index 2b830fd901..cf0fbfd8f7 100755 --- a/test/fixtures/comments/basic/switch-no-default-comment-in-nested-functions/expected.json +++ b/test/fixtures/comments/basic/switch-no-default-comment-in-nested-functions/expected.json @@ -501,7 +501,7 @@ }, "operator": "-", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 215, "end": 216, "loc": { diff --git a/test/fixtures/comments/basic/switch-no-default-comment/expected.json b/test/fixtures/comments/basic/switch-no-default-comment/expected.json index 0a65969bf1..95efdd480c 100755 --- a/test/fixtures/comments/basic/switch-no-default-comment/expected.json +++ b/test/fixtures/comments/basic/switch-no-default-comment/expected.json @@ -94,7 +94,7 @@ } ], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 22, "end": 23, "loc": { diff --git a/test/fixtures/core/categorized/regex-after-block/expected.json b/test/fixtures/core/categorized/regex-after-block/expected.json index 545b21ce2e..85d527c7ab 100644 --- a/test/fixtures/core/categorized/regex-after-block/expected.json +++ b/test/fixtures/core/categorized/regex-after-block/expected.json @@ -92,7 +92,7 @@ } }, "expression": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 15, "end": 20, "loc": { diff --git a/test/fixtures/core/uncategorised/10/expected.json b/test/fixtures/core/uncategorised/10/expected.json index d10391f23b..0af5ba3e9c 100644 --- a/test/fixtures/core/uncategorised/10/expected.json +++ b/test/fixtures/core/uncategorised/10/expected.json @@ -89,7 +89,7 @@ }, "elements": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 8, "loc": { diff --git a/test/fixtures/core/uncategorised/102/expected.json b/test/fixtures/core/uncategorised/102/expected.json index 46f8894ef5..043e944588 100644 --- a/test/fixtures/core/uncategorised/102/expected.json +++ b/test/fixtures/core/uncategorised/102/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 8, "end": 16, "loc": { diff --git a/test/fixtures/core/uncategorised/103/expected.json b/test/fixtures/core/uncategorised/103/expected.json index c44951e7c8..7e44569209 100644 --- a/test/fixtures/core/uncategorised/103/expected.json +++ b/test/fixtures/core/uncategorised/103/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 8, "end": 16, "loc": { diff --git a/test/fixtures/core/uncategorised/104/expected.json b/test/fixtures/core/uncategorised/104/expected.json index 08a395e815..caa4a97a89 100644 --- a/test/fixtures/core/uncategorised/104/expected.json +++ b/test/fixtures/core/uncategorised/104/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 8, "end": 16, "loc": { diff --git a/test/fixtures/core/uncategorised/105/expected.json b/test/fixtures/core/uncategorised/105/expected.json index 45afd2c5db..a6c7677449 100644 --- a/test/fixtures/core/uncategorised/105/expected.json +++ b/test/fixtures/core/uncategorised/105/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 8, "end": 17, "loc": { diff --git a/test/fixtures/core/uncategorised/106/expected.json b/test/fixtures/core/uncategorised/106/expected.json index 80c40e93c1..d0ccbfb250 100644 --- a/test/fixtures/core/uncategorised/106/expected.json +++ b/test/fixtures/core/uncategorised/106/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 8, "end": 18, "loc": { diff --git a/test/fixtures/core/uncategorised/107/expected.json b/test/fixtures/core/uncategorised/107/expected.json index c2c4cdcbb1..5eafc662cb 100644 --- a/test/fixtures/core/uncategorised/107/expected.json +++ b/test/fixtures/core/uncategorised/107/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 8, "end": 21, "loc": { diff --git a/test/fixtures/core/uncategorised/108/expected.json b/test/fixtures/core/uncategorised/108/expected.json index 726e72aa5b..a8e37406e8 100644 --- a/test/fixtures/core/uncategorised/108/expected.json +++ b/test/fixtures/core/uncategorised/108/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 8, "end": 22, "loc": { diff --git a/test/fixtures/core/uncategorised/11/expected.json b/test/fixtures/core/uncategorised/11/expected.json index 4c7a7a3493..6cb8b01d29 100644 --- a/test/fixtures/core/uncategorised/11/expected.json +++ b/test/fixtures/core/uncategorised/11/expected.json @@ -91,7 +91,7 @@ null, null, { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 11, "loc": { diff --git a/test/fixtures/core/uncategorised/12/expected.json b/test/fixtures/core/uncategorised/12/expected.json index 5405d8164c..5e38d61c9f 100644 --- a/test/fixtures/core/uncategorised/12/expected.json +++ b/test/fixtures/core/uncategorised/12/expected.json @@ -89,7 +89,7 @@ }, "elements": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 7, "loc": { @@ -109,7 +109,7 @@ "value": 1 }, { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 10, "loc": { @@ -129,7 +129,7 @@ "value": 2 }, { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { diff --git a/test/fixtures/core/uncategorised/124/expected.json b/test/fixtures/core/uncategorised/124/expected.json index ec68a20ef6..ff93859240 100644 --- a/test/fixtures/core/uncategorised/124/expected.json +++ b/test/fixtures/core/uncategorised/124/expected.json @@ -87,7 +87,7 @@ "name": "universe" }, "property": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 11, "loc": { diff --git a/test/fixtures/core/uncategorised/125/expected.json b/test/fixtures/core/uncategorised/125/expected.json index a7a9ccf384..a12ebbfc91 100644 --- a/test/fixtures/core/uncategorised/125/expected.json +++ b/test/fixtures/core/uncategorised/125/expected.json @@ -88,7 +88,7 @@ }, "arguments": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 11, "loc": { diff --git a/test/fixtures/core/uncategorised/126/expected.json b/test/fixtures/core/uncategorised/126/expected.json index c94c04107e..a8ceaa9228 100644 --- a/test/fixtures/core/uncategorised/126/expected.json +++ b/test/fixtures/core/uncategorised/126/expected.json @@ -116,7 +116,7 @@ }, "arguments": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 11, "loc": { @@ -157,7 +157,7 @@ }, "arguments": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 22, "end": 24, "loc": { @@ -177,7 +177,7 @@ "value": 14 }, { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 26, "end": 27, "loc": { @@ -197,7 +197,7 @@ "value": 3 }, { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 29, "end": 31, "loc": { diff --git a/test/fixtures/core/uncategorised/127/expected.json b/test/fixtures/core/uncategorised/127/expected.json index b7649d92f8..0286b0ea65 100644 --- a/test/fixtures/core/uncategorised/127/expected.json +++ b/test/fixtures/core/uncategorised/127/expected.json @@ -170,7 +170,7 @@ }, "arguments": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 40, "end": 44, "loc": { diff --git a/test/fixtures/core/uncategorised/13/expected.json b/test/fixtures/core/uncategorised/13/expected.json index f8e8558451..838c80a0b4 100644 --- a/test/fixtures/core/uncategorised/13/expected.json +++ b/test/fixtures/core/uncategorised/13/expected.json @@ -89,7 +89,7 @@ }, "elements": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 7, "loc": { @@ -109,7 +109,7 @@ "value": 1 }, { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 10, "loc": { @@ -130,7 +130,7 @@ }, null, { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 13, "end": 14, "loc": { diff --git a/test/fixtures/core/uncategorised/197/expected.json b/test/fixtures/core/uncategorised/197/expected.json index 0ae6562f5f..11b669b4ea 100644 --- a/test/fixtures/core/uncategorised/197/expected.json +++ b/test/fixtures/core/uncategorised/197/expected.json @@ -73,7 +73,7 @@ "name": "y" }, "consequent": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 4, "end": 5, "loc": { @@ -93,7 +93,7 @@ "value": 1 }, "alternate": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 9, "loc": { diff --git a/test/fixtures/core/uncategorised/198/expected.json b/test/fixtures/core/uncategorised/198/expected.json index 5f5e161e69..32682fb46d 100644 --- a/test/fixtures/core/uncategorised/198/expected.json +++ b/test/fixtures/core/uncategorised/198/expected.json @@ -105,7 +105,7 @@ } }, "consequent": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 10, "loc": { @@ -125,7 +125,7 @@ "value": 1 }, "alternate": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 13, "end": 14, "loc": { diff --git a/test/fixtures/core/uncategorised/199/expected.json b/test/fixtures/core/uncategorised/199/expected.json index c55cb13771..712d4fd6c1 100644 --- a/test/fixtures/core/uncategorised/199/expected.json +++ b/test/fixtures/core/uncategorised/199/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 4, "end": 6, "loc": { diff --git a/test/fixtures/core/uncategorised/200/expected.json b/test/fixtures/core/uncategorised/200/expected.json index ccef73317a..01bf6f0d71 100644 --- a/test/fixtures/core/uncategorised/200/expected.json +++ b/test/fixtures/core/uncategorised/200/expected.json @@ -74,7 +74,7 @@ "name": "eval" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 9, "loc": { diff --git a/test/fixtures/core/uncategorised/201/expected.json b/test/fixtures/core/uncategorised/201/expected.json index 90279da775..691796ca2f 100644 --- a/test/fixtures/core/uncategorised/201/expected.json +++ b/test/fixtures/core/uncategorised/201/expected.json @@ -74,7 +74,7 @@ "name": "arguments" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 14, "loc": { diff --git a/test/fixtures/core/uncategorised/202/expected.json b/test/fixtures/core/uncategorised/202/expected.json index 8c50cdf2f0..4a01dfd629 100644 --- a/test/fixtures/core/uncategorised/202/expected.json +++ b/test/fixtures/core/uncategorised/202/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/core/uncategorised/203/expected.json b/test/fixtures/core/uncategorised/203/expected.json index 6c210fd1b6..1382a9b238 100644 --- a/test/fixtures/core/uncategorised/203/expected.json +++ b/test/fixtures/core/uncategorised/203/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/core/uncategorised/204/expected.json b/test/fixtures/core/uncategorised/204/expected.json index 2c333b70e1..e2a6524e00 100644 --- a/test/fixtures/core/uncategorised/204/expected.json +++ b/test/fixtures/core/uncategorised/204/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/core/uncategorised/205/expected.json b/test/fixtures/core/uncategorised/205/expected.json index 53c21fe4d6..3fb8e6a109 100644 --- a/test/fixtures/core/uncategorised/205/expected.json +++ b/test/fixtures/core/uncategorised/205/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/core/uncategorised/206/expected.json b/test/fixtures/core/uncategorised/206/expected.json index abc4cb0406..8b681331b0 100644 --- a/test/fixtures/core/uncategorised/206/expected.json +++ b/test/fixtures/core/uncategorised/206/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/core/uncategorised/207/expected.json b/test/fixtures/core/uncategorised/207/expected.json index 3c8c2893e8..827b99dbe0 100644 --- a/test/fixtures/core/uncategorised/207/expected.json +++ b/test/fixtures/core/uncategorised/207/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 8, "loc": { diff --git a/test/fixtures/core/uncategorised/208/expected.json b/test/fixtures/core/uncategorised/208/expected.json index cfa8f98dfa..d27aeea8cc 100644 --- a/test/fixtures/core/uncategorised/208/expected.json +++ b/test/fixtures/core/uncategorised/208/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 8, "loc": { diff --git a/test/fixtures/core/uncategorised/209/expected.json b/test/fixtures/core/uncategorised/209/expected.json index ff6f9db71d..ea2c4e00ff 100644 --- a/test/fixtures/core/uncategorised/209/expected.json +++ b/test/fixtures/core/uncategorised/209/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 9, "loc": { diff --git a/test/fixtures/core/uncategorised/210/expected.json b/test/fixtures/core/uncategorised/210/expected.json index 3719a7fafe..12db3bd78f 100644 --- a/test/fixtures/core/uncategorised/210/expected.json +++ b/test/fixtures/core/uncategorised/210/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/core/uncategorised/211/expected.json b/test/fixtures/core/uncategorised/211/expected.json index 84a3e7d56e..2b34e74553 100644 --- a/test/fixtures/core/uncategorised/211/expected.json +++ b/test/fixtures/core/uncategorised/211/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/core/uncategorised/212/expected.json b/test/fixtures/core/uncategorised/212/expected.json index 456765cc37..ef886d2c97 100644 --- a/test/fixtures/core/uncategorised/212/expected.json +++ b/test/fixtures/core/uncategorised/212/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/core/uncategorised/218/expected.json b/test/fixtures/core/uncategorised/218/expected.json index 1050401744..fceb7088d9 100644 --- a/test/fixtures/core/uncategorised/218/expected.json +++ b/test/fixtures/core/uncategorised/218/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { diff --git a/test/fixtures/core/uncategorised/219/expected.json b/test/fixtures/core/uncategorised/219/expected.json index a1ed3e4b37..0937c1b68d 100644 --- a/test/fixtures/core/uncategorised/219/expected.json +++ b/test/fixtures/core/uncategorised/219/expected.json @@ -74,7 +74,7 @@ "name": "eval" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 13, "loc": { @@ -125,7 +125,7 @@ "name": "arguments" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 27, "end": 29, "loc": { diff --git a/test/fixtures/core/uncategorised/22/expected.json b/test/fixtures/core/uncategorised/22/expected.json index f0a884e6c3..87f4913585 100644 --- a/test/fixtures/core/uncategorised/22/expected.json +++ b/test/fixtures/core/uncategorised/22/expected.json @@ -122,7 +122,7 @@ "name": "answer" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 16, "loc": { diff --git a/test/fixtures/core/uncategorised/220/expected.json b/test/fixtures/core/uncategorised/220/expected.json index db6e0fba4c..4c14f501ea 100644 --- a/test/fixtures/core/uncategorised/220/expected.json +++ b/test/fixtures/core/uncategorised/220/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { @@ -125,7 +125,7 @@ "name": "y" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 16, "end": 17, "loc": { @@ -176,7 +176,7 @@ "name": "z" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 27, "loc": { diff --git a/test/fixtures/core/uncategorised/23/expected.json b/test/fixtures/core/uncategorised/23/expected.json index dd3a42f49d..fa3c158b8a 100644 --- a/test/fixtures/core/uncategorised/23/expected.json +++ b/test/fixtures/core/uncategorised/23/expected.json @@ -122,7 +122,7 @@ "name": "if" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 12, "loc": { diff --git a/test/fixtures/core/uncategorised/230/expected.json b/test/fixtures/core/uncategorised/230/expected.json index 02fd006838..bf2044c42a 100644 --- a/test/fixtures/core/uncategorised/230/expected.json +++ b/test/fixtures/core/uncategorised/230/expected.json @@ -104,7 +104,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 21, "end": 22, "loc": { diff --git a/test/fixtures/core/uncategorised/234/expected.json b/test/fixtures/core/uncategorised/234/expected.json index 8e9ac0c09e..9814bc6039 100644 --- a/test/fixtures/core/uncategorised/234/expected.json +++ b/test/fixtures/core/uncategorised/234/expected.json @@ -188,7 +188,7 @@ }, "operator": "<", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 28, "end": 30, "loc": { diff --git a/test/fixtures/core/uncategorised/237/expected.json b/test/fixtures/core/uncategorised/237/expected.json index 0ca7f0f400..8ca1322823 100644 --- a/test/fixtures/core/uncategorised/237/expected.json +++ b/test/fixtures/core/uncategorised/237/expected.json @@ -74,7 +74,7 @@ }, "operator": "<", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 13, "loc": { diff --git a/test/fixtures/core/uncategorised/24/expected.json b/test/fixtures/core/uncategorised/24/expected.json index cbc5697de4..e332b892cc 100644 --- a/test/fixtures/core/uncategorised/24/expected.json +++ b/test/fixtures/core/uncategorised/24/expected.json @@ -122,7 +122,7 @@ "name": "true" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 14, "loc": { diff --git a/test/fixtures/core/uncategorised/240/expected.json b/test/fixtures/core/uncategorised/240/expected.json index 3b790cdecf..96e6163073 100644 --- a/test/fixtures/core/uncategorised/240/expected.json +++ b/test/fixtures/core/uncategorised/240/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 9, "loc": { diff --git a/test/fixtures/core/uncategorised/241/expected.json b/test/fixtures/core/uncategorised/241/expected.json index e7c1db4ec7..06e23e5726 100644 --- a/test/fixtures/core/uncategorised/241/expected.json +++ b/test/fixtures/core/uncategorised/241/expected.json @@ -88,7 +88,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { diff --git a/test/fixtures/core/uncategorised/242/expected.json b/test/fixtures/core/uncategorised/242/expected.json index eacbe24384..9703da41dc 100644 --- a/test/fixtures/core/uncategorised/242/expected.json +++ b/test/fixtures/core/uncategorised/242/expected.json @@ -88,7 +88,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { @@ -139,7 +139,7 @@ "name": "y" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 19, "end": 20, "loc": { diff --git a/test/fixtures/core/uncategorised/243/expected.json b/test/fixtures/core/uncategorised/243/expected.json index 7f485aaf19..799bca6bd8 100644 --- a/test/fixtures/core/uncategorised/243/expected.json +++ b/test/fixtures/core/uncategorised/243/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 9, "loc": { @@ -126,7 +126,7 @@ }, "operator": "<", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 17, "loc": { diff --git a/test/fixtures/core/uncategorised/244/expected.json b/test/fixtures/core/uncategorised/244/expected.json index 0c6bf2a092..bab630bd14 100644 --- a/test/fixtures/core/uncategorised/244/expected.json +++ b/test/fixtures/core/uncategorised/244/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 9, "loc": { @@ -126,7 +126,7 @@ }, "operator": "<", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 17, "loc": { diff --git a/test/fixtures/core/uncategorised/245/expected.json b/test/fixtures/core/uncategorised/245/expected.json index 586cbf67f5..88e0fa1c9f 100644 --- a/test/fixtures/core/uncategorised/245/expected.json +++ b/test/fixtures/core/uncategorised/245/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 9, "loc": { @@ -126,7 +126,7 @@ }, "operator": "<", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 17, "loc": { diff --git a/test/fixtures/core/uncategorised/25/expected.json b/test/fixtures/core/uncategorised/25/expected.json index bff1f7f9e9..dbe5f3ef0b 100644 --- a/test/fixtures/core/uncategorised/25/expected.json +++ b/test/fixtures/core/uncategorised/25/expected.json @@ -122,7 +122,7 @@ "name": "false" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 13, "end": 15, "loc": { diff --git a/test/fixtures/core/uncategorised/26/expected.json b/test/fixtures/core/uncategorised/26/expected.json index ced9c6f1e5..88e109fbf9 100644 --- a/test/fixtures/core/uncategorised/26/expected.json +++ b/test/fixtures/core/uncategorised/26/expected.json @@ -122,7 +122,7 @@ "name": "null" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 14, "loc": { diff --git a/test/fixtures/core/uncategorised/269/expected.json b/test/fixtures/core/uncategorised/269/expected.json index 6251d143ae..54b7c12792 100644 --- a/test/fixtures/core/uncategorised/269/expected.json +++ b/test/fixtures/core/uncategorised/269/expected.json @@ -139,7 +139,7 @@ } ], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 25, "loc": { diff --git a/test/fixtures/core/uncategorised/27/expected.json b/test/fixtures/core/uncategorised/27/expected.json index 6cfa1d9324..b292e26154 100644 --- a/test/fixtures/core/uncategorised/27/expected.json +++ b/test/fixtures/core/uncategorised/27/expected.json @@ -126,7 +126,7 @@ "value": "answer" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 16, "end": 18, "loc": { diff --git a/test/fixtures/core/uncategorised/270/expected.json b/test/fixtures/core/uncategorised/270/expected.json index 96908f65a6..ce967090f0 100644 --- a/test/fixtures/core/uncategorised/270/expected.json +++ b/test/fixtures/core/uncategorised/270/expected.json @@ -139,7 +139,7 @@ } ], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 25, "loc": { diff --git a/test/fixtures/core/uncategorised/28/expected.json b/test/fixtures/core/uncategorised/28/expected.json index 0f013c127d..a2566571e4 100644 --- a/test/fixtures/core/uncategorised/28/expected.json +++ b/test/fixtures/core/uncategorised/28/expected.json @@ -122,7 +122,7 @@ "name": "x" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 10, "loc": { @@ -176,7 +176,7 @@ "name": "x" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 16, "loc": { diff --git a/test/fixtures/core/uncategorised/3/expected.json b/test/fixtures/core/uncategorised/3/expected.json index 1c7de0b706..a8539b3e57 100644 --- a/test/fixtures/core/uncategorised/3/expected.json +++ b/test/fixtures/core/uncategorised/3/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/core/uncategorised/303/expected.json b/test/fixtures/core/uncategorised/303/expected.json index 607612e873..0c955c4730 100644 --- a/test/fixtures/core/uncategorised/303/expected.json +++ b/test/fixtures/core/uncategorised/303/expected.json @@ -89,7 +89,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 12, "loc": { @@ -140,7 +140,7 @@ "name": "y" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 18, "end": 19, "loc": { diff --git a/test/fixtures/core/uncategorised/319/expected.json b/test/fixtures/core/uncategorised/319/expected.json index 61133f8ac6..9cb04403f1 100644 --- a/test/fixtures/core/uncategorised/319/expected.json +++ b/test/fixtures/core/uncategorised/319/expected.json @@ -71,7 +71,7 @@ } }, "object": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 4, "loc": { @@ -110,7 +110,7 @@ }, "arguments": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 16, "loc": { diff --git a/test/fixtures/core/uncategorised/320/expected.json b/test/fixtures/core/uncategorised/320/expected.json index da052c6d87..5308b0f80a 100644 --- a/test/fixtures/core/uncategorised/320/expected.json +++ b/test/fixtures/core/uncategorised/320/expected.json @@ -57,7 +57,7 @@ } }, "left": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 4, "loc": { @@ -78,7 +78,7 @@ }, "operator": "+", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 6, "loc": { diff --git a/test/fixtures/core/uncategorised/323/expected.json b/test/fixtures/core/uncategorised/323/expected.json index 583c34687b..662a04aa6e 100644 --- a/test/fixtures/core/uncategorised/323/expected.json +++ b/test/fixtures/core/uncategorised/323/expected.json @@ -57,7 +57,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { @@ -123,7 +123,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 16, "loc": { diff --git a/test/fixtures/core/uncategorised/324/expected.json b/test/fixtures/core/uncategorised/324/expected.json index 41b1dcbac8..7e1d47b810 100644 --- a/test/fixtures/core/uncategorised/324/expected.json +++ b/test/fixtures/core/uncategorised/324/expected.json @@ -43,7 +43,7 @@ } }, "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 3, "end": 4, "loc": { @@ -77,7 +77,7 @@ } }, "expression": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 5, "end": 12, "loc": { diff --git a/test/fixtures/core/uncategorised/341/expected.json b/test/fixtures/core/uncategorised/341/expected.json index 487553a051..6ddddf5180 100644 --- a/test/fixtures/core/uncategorised/341/expected.json +++ b/test/fixtures/core/uncategorised/341/expected.json @@ -60,7 +60,7 @@ } }, "expression": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 2, "end": 5, "loc": { diff --git a/test/fixtures/core/uncategorised/343/expected.json b/test/fixtures/core/uncategorised/343/expected.json index d2ed65cb86..e3a56910e4 100644 --- a/test/fixtures/core/uncategorised/343/expected.json +++ b/test/fixtures/core/uncategorised/343/expected.json @@ -122,7 +122,7 @@ }, "operator": ">", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { diff --git a/test/fixtures/core/uncategorised/36/expected.json b/test/fixtures/core/uncategorised/36/expected.json index 7ff1fbb46b..80eca1b9e4 100644 --- a/test/fixtures/core/uncategorised/36/expected.json +++ b/test/fixtures/core/uncategorised/36/expected.json @@ -106,7 +106,7 @@ "shorthand": false, "computed": false, "key": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 12, "loc": { diff --git a/test/fixtures/core/uncategorised/4/expected.json b/test/fixtures/core/uncategorised/4/expected.json index 850ccec0d7..5e816a0764 100644 --- a/test/fixtures/core/uncategorised/4/expected.json +++ b/test/fixtures/core/uncategorised/4/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 0, "end": 8, "loc": { diff --git a/test/fixtures/core/uncategorised/43/expected.json b/test/fixtures/core/uncategorised/43/expected.json index 7a72b8763e..b2b46810dc 100644 --- a/test/fixtures/core/uncategorised/43/expected.json +++ b/test/fixtures/core/uncategorised/43/expected.json @@ -106,7 +106,7 @@ "shorthand": false, "computed": false, "key": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 12, "loc": { diff --git a/test/fixtures/core/uncategorised/44/expected.json b/test/fixtures/core/uncategorised/44/expected.json index b1dc510c8b..33f2638826 100644 --- a/test/fixtures/core/uncategorised/44/expected.json +++ b/test/fixtures/core/uncategorised/44/expected.json @@ -122,7 +122,7 @@ "name": "get" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 13, "loc": { diff --git a/test/fixtures/core/uncategorised/45/expected.json b/test/fixtures/core/uncategorised/45/expected.json index e7eb6404f5..bb724805ea 100644 --- a/test/fixtures/core/uncategorised/45/expected.json +++ b/test/fixtures/core/uncategorised/45/expected.json @@ -122,7 +122,7 @@ "name": "set" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 13, "loc": { diff --git a/test/fixtures/core/uncategorised/46/expected.json b/test/fixtures/core/uncategorised/46/expected.json index 777ab9a74e..066268b734 100644 --- a/test/fixtures/core/uncategorised/46/expected.json +++ b/test/fixtures/core/uncategorised/46/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 20, "end": 22, "loc": { diff --git a/test/fixtures/core/uncategorised/468/expected.json b/test/fixtures/core/uncategorised/468/expected.json index c791058a75..7616b5c4d0 100644 --- a/test/fixtures/core/uncategorised/468/expected.json +++ b/test/fixtures/core/uncategorised/468/expected.json @@ -122,7 +122,7 @@ "name": "eval" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 43, "end": 45, "loc": { diff --git a/test/fixtures/core/uncategorised/469/expected.json b/test/fixtures/core/uncategorised/469/expected.json index d516032ff0..7c7fe68ad2 100644 --- a/test/fixtures/core/uncategorised/469/expected.json +++ b/test/fixtures/core/uncategorised/469/expected.json @@ -122,7 +122,7 @@ "name": "arguments" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 48, "end": 50, "loc": { diff --git a/test/fixtures/core/uncategorised/47/expected.json b/test/fixtures/core/uncategorised/47/expected.json index 0955aa94d2..c4b3d4e650 100644 --- a/test/fixtures/core/uncategorised/47/expected.json +++ b/test/fixtures/core/uncategorised/47/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 2, "loc": { diff --git a/test/fixtures/core/uncategorised/472/expected.json b/test/fixtures/core/uncategorised/472/expected.json index 5df2fc7306..5096320c21 100644 --- a/test/fixtures/core/uncategorised/472/expected.json +++ b/test/fixtures/core/uncategorised/472/expected.json @@ -122,7 +122,7 @@ "name": "eval" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 39, "end": 41, "loc": { diff --git a/test/fixtures/core/uncategorised/473/expected.json b/test/fixtures/core/uncategorised/473/expected.json index 936555ec42..6b52d892dd 100644 --- a/test/fixtures/core/uncategorised/473/expected.json +++ b/test/fixtures/core/uncategorised/473/expected.json @@ -122,7 +122,7 @@ "name": "arguments" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 44, "end": 46, "loc": { diff --git a/test/fixtures/core/uncategorised/48/expected.json b/test/fixtures/core/uncategorised/48/expected.json index df6c839351..b4f2a6c022 100644 --- a/test/fixtures/core/uncategorised/48/expected.json +++ b/test/fixtures/core/uncategorised/48/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 2, "loc": { diff --git a/test/fixtures/core/uncategorised/49/expected.json b/test/fixtures/core/uncategorised/49/expected.json index e9267064e8..b305381271 100644 --- a/test/fixtures/core/uncategorised/49/expected.json +++ b/test/fixtures/core/uncategorised/49/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 42, "end": 44, "loc": { diff --git a/test/fixtures/core/uncategorised/492/expected.json b/test/fixtures/core/uncategorised/492/expected.json index c888aaf947..9abf715af6 100644 --- a/test/fixtures/core/uncategorised/492/expected.json +++ b/test/fixtures/core/uncategorised/492/expected.json @@ -139,7 +139,7 @@ "name": "i" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 38, "end": 40, "loc": { diff --git a/test/fixtures/core/uncategorised/5/expected.json b/test/fixtures/core/uncategorised/5/expected.json index 9311593726..9632d36045 100644 --- a/test/fixtures/core/uncategorised/5/expected.json +++ b/test/fixtures/core/uncategorised/5/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 0, "end": 8, "loc": { diff --git a/test/fixtures/core/uncategorised/50/expected.json b/test/fixtures/core/uncategorised/50/expected.json index 1bead36e26..b9ae8a60ef 100644 --- a/test/fixtures/core/uncategorised/50/expected.json +++ b/test/fixtures/core/uncategorised/50/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { diff --git a/test/fixtures/core/uncategorised/500/expected.json b/test/fixtures/core/uncategorised/500/expected.json index 29875fff43..d23924aa07 100644 --- a/test/fixtures/core/uncategorised/500/expected.json +++ b/test/fixtures/core/uncategorised/500/expected.json @@ -91,7 +91,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 33, "end": 36, "loc": { diff --git a/test/fixtures/core/uncategorised/501/expected.json b/test/fixtures/core/uncategorised/501/expected.json index 4e77a05f78..0f7be5add6 100644 --- a/test/fixtures/core/uncategorised/501/expected.json +++ b/test/fixtures/core/uncategorised/501/expected.json @@ -141,7 +141,7 @@ "raw": "\"\\1\"" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 42, "end": 44, "loc": { diff --git a/test/fixtures/core/uncategorised/502/expected.json b/test/fixtures/core/uncategorised/502/expected.json index 346e059e5f..8bd74936f0 100644 --- a/test/fixtures/core/uncategorised/502/expected.json +++ b/test/fixtures/core/uncategorised/502/expected.json @@ -123,7 +123,7 @@ "shorthand": false, "computed": false, "key": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 36, "end": 39, "loc": { @@ -141,7 +141,7 @@ "raw": "021" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 41, "end": 43, "loc": { diff --git a/test/fixtures/core/uncategorised/51/expected.json b/test/fixtures/core/uncategorised/51/expected.json index 4ea801a13a..f0020ece82 100644 --- a/test/fixtures/core/uncategorised/51/expected.json +++ b/test/fixtures/core/uncategorised/51/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { diff --git a/test/fixtures/core/uncategorised/52/expected.json b/test/fixtures/core/uncategorised/52/expected.json index 1bead36e26..b9ae8a60ef 100644 --- a/test/fixtures/core/uncategorised/52/expected.json +++ b/test/fixtures/core/uncategorised/52/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { diff --git a/test/fixtures/core/uncategorised/522/expected.json b/test/fixtures/core/uncategorised/522/expected.json index 45739cd1a5..f4c5357419 100644 --- a/test/fixtures/core/uncategorised/522/expected.json +++ b/test/fixtures/core/uncategorised/522/expected.json @@ -206,7 +206,7 @@ "name": "v" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 65, "end": 68, "loc": { diff --git a/test/fixtures/core/uncategorised/527/expected.json b/test/fixtures/core/uncategorised/527/expected.json index 719450f6db..8db391b3af 100644 --- a/test/fixtures/core/uncategorised/527/expected.json +++ b/test/fixtures/core/uncategorised/527/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { diff --git a/test/fixtures/core/uncategorised/528/expected.json b/test/fixtures/core/uncategorised/528/expected.json index d67d0ff9c0..ebe4c4d182 100644 --- a/test/fixtures/core/uncategorised/528/expected.json +++ b/test/fixtures/core/uncategorised/528/expected.json @@ -74,7 +74,7 @@ "name": "eval" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 13, "loc": { @@ -125,7 +125,7 @@ "name": "arguments" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 27, "end": 29, "loc": { diff --git a/test/fixtures/core/uncategorised/529/expected.json b/test/fixtures/core/uncategorised/529/expected.json index 97407a93a7..e883fbe4f2 100644 --- a/test/fixtures/core/uncategorised/529/expected.json +++ b/test/fixtures/core/uncategorised/529/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { @@ -125,7 +125,7 @@ "name": "y" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 16, "end": 17, "loc": { @@ -176,7 +176,7 @@ "name": "z" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 27, "loc": { diff --git a/test/fixtures/core/uncategorised/53/expected.json b/test/fixtures/core/uncategorised/53/expected.json index 5ae353a2f6..8d036e8eec 100644 --- a/test/fixtures/core/uncategorised/53/expected.json +++ b/test/fixtures/core/uncategorised/53/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { diff --git a/test/fixtures/core/uncategorised/530/expected.json b/test/fixtures/core/uncategorised/530/expected.json index c6da62d7c5..ced9b7da30 100644 --- a/test/fixtures/core/uncategorised/530/expected.json +++ b/test/fixtures/core/uncategorised/530/expected.json @@ -88,7 +88,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { diff --git a/test/fixtures/core/uncategorised/531/expected.json b/test/fixtures/core/uncategorised/531/expected.json index 161b25fb1e..a40116c512 100644 --- a/test/fixtures/core/uncategorised/531/expected.json +++ b/test/fixtures/core/uncategorised/531/expected.json @@ -88,7 +88,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { @@ -139,7 +139,7 @@ "name": "y" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 19, "end": 20, "loc": { diff --git a/test/fixtures/core/uncategorised/533/expected.json b/test/fixtures/core/uncategorised/533/expected.json index 4069780390..e194cd4fc2 100644 --- a/test/fixtures/core/uncategorised/533/expected.json +++ b/test/fixtures/core/uncategorised/533/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 12, "loc": { diff --git a/test/fixtures/core/uncategorised/534/expected.json b/test/fixtures/core/uncategorised/534/expected.json index a000184562..ee0b458ad8 100644 --- a/test/fixtures/core/uncategorised/534/expected.json +++ b/test/fixtures/core/uncategorised/534/expected.json @@ -74,7 +74,7 @@ "name": "eval" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 13, "end": 15, "loc": { @@ -125,7 +125,7 @@ "name": "arguments" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 29, "end": 31, "loc": { diff --git a/test/fixtures/core/uncategorised/535/expected.json b/test/fixtures/core/uncategorised/535/expected.json index a40092b09d..446cd2cbed 100644 --- a/test/fixtures/core/uncategorised/535/expected.json +++ b/test/fixtures/core/uncategorised/535/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 12, "loc": { @@ -125,7 +125,7 @@ "name": "y" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 18, "end": 19, "loc": { @@ -176,7 +176,7 @@ "name": "z" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 25, "end": 29, "loc": { diff --git a/test/fixtures/core/uncategorised/537/expected.json b/test/fixtures/core/uncategorised/537/expected.json index 7ffb7b7416..0ad053b30e 100644 --- a/test/fixtures/core/uncategorised/537/expected.json +++ b/test/fixtures/core/uncategorised/537/expected.json @@ -88,7 +88,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 15, "loc": { diff --git a/test/fixtures/core/uncategorised/54/expected.json b/test/fixtures/core/uncategorised/54/expected.json index b94af6a6f3..9155b188e0 100644 --- a/test/fixtures/core/uncategorised/54/expected.json +++ b/test/fixtures/core/uncategorised/54/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 16, "end": 18, "loc": { diff --git a/test/fixtures/core/uncategorised/540/expected.json b/test/fixtures/core/uncategorised/540/expected.json index 5b46bc550d..ffbcf34606 100644 --- a/test/fixtures/core/uncategorised/540/expected.json +++ b/test/fixtures/core/uncategorised/540/expected.json @@ -94,7 +94,7 @@ }, "operator": "/", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 18, "end": 19, "loc": { diff --git a/test/fixtures/core/uncategorised/541/expected.json b/test/fixtures/core/uncategorised/541/expected.json index f73e4e6988..c9f5c36ac7 100644 --- a/test/fixtures/core/uncategorised/541/expected.json +++ b/test/fixtures/core/uncategorised/541/expected.json @@ -94,7 +94,7 @@ } }, "expression": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 16, "end": 21, "loc": { diff --git a/test/fixtures/core/uncategorised/55/expected.json b/test/fixtures/core/uncategorised/55/expected.json index e8663de8a9..e063174f83 100644 --- a/test/fixtures/core/uncategorised/55/expected.json +++ b/test/fixtures/core/uncategorised/55/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 2, "loc": { diff --git a/test/fixtures/core/uncategorised/56/expected.json b/test/fixtures/core/uncategorised/56/expected.json index 8ba4e0ec1b..8b4ec7b146 100644 --- a/test/fixtures/core/uncategorised/56/expected.json +++ b/test/fixtures/core/uncategorised/56/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 17, "end": 19, "loc": { diff --git a/test/fixtures/core/uncategorised/59/expected.json b/test/fixtures/core/uncategorised/59/expected.json index 87f7fb03ef..e5abba24ef 100644 --- a/test/fixtures/core/uncategorised/59/expected.json +++ b/test/fixtures/core/uncategorised/59/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 3, "end": 5, "loc": { diff --git a/test/fixtures/core/uncategorised/6/expected.json b/test/fixtures/core/uncategorised/6/expected.json index 44268abd43..33043e035c 100644 --- a/test/fixtures/core/uncategorised/6/expected.json +++ b/test/fixtures/core/uncategorised/6/expected.json @@ -71,7 +71,7 @@ } }, "left": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 1, "end": 2, "loc": { @@ -92,7 +92,7 @@ }, "operator": "+", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 6, "loc": { @@ -117,7 +117,7 @@ }, "operator": "*", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 12, "loc": { diff --git a/test/fixtures/core/uncategorised/62/expected.json b/test/fixtures/core/uncategorised/62/expected.json index 2cf6359c5d..535a920ab7 100644 --- a/test/fixtures/core/uncategorised/62/expected.json +++ b/test/fixtures/core/uncategorised/62/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 4, "end": 6, "loc": { diff --git a/test/fixtures/core/uncategorised/63/expected.json b/test/fixtures/core/uncategorised/63/expected.json index ddafd34d4b..d2e809466f 100644 --- a/test/fixtures/core/uncategorised/63/expected.json +++ b/test/fixtures/core/uncategorised/63/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 37, "end": 39, "loc": { diff --git a/test/fixtures/core/uncategorised/65/expected.json b/test/fixtures/core/uncategorised/65/expected.json index 346b21d465..7a17ba3527 100644 --- a/test/fixtures/core/uncategorised/65/expected.json +++ b/test/fixtures/core/uncategorised/65/expected.json @@ -143,7 +143,7 @@ } ], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 25, "loc": { diff --git a/test/fixtures/core/uncategorised/66/expected.json b/test/fixtures/core/uncategorised/66/expected.json index d50639ea1d..ad0d458c07 100644 --- a/test/fixtures/core/uncategorised/66/expected.json +++ b/test/fixtures/core/uncategorised/66/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 1, "loc": { diff --git a/test/fixtures/core/uncategorised/67/expected.json b/test/fixtures/core/uncategorised/67/expected.json index 7bbd5d6e04..2cea1d3220 100644 --- a/test/fixtures/core/uncategorised/67/expected.json +++ b/test/fixtures/core/uncategorised/67/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 1, "loc": { diff --git a/test/fixtures/core/uncategorised/68/expected.json b/test/fixtures/core/uncategorised/68/expected.json index 31f49f4d54..3f550d5108 100644 --- a/test/fixtures/core/uncategorised/68/expected.json +++ b/test/fixtures/core/uncategorised/68/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 1, "loc": { diff --git a/test/fixtures/core/uncategorised/69/expected.json b/test/fixtures/core/uncategorised/69/expected.json index d507dabac4..a48872469f 100644 --- a/test/fixtures/core/uncategorised/69/expected.json +++ b/test/fixtures/core/uncategorised/69/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 2, "loc": { diff --git a/test/fixtures/core/uncategorised/70/expected.json b/test/fixtures/core/uncategorised/70/expected.json index bc9495e7c4..c917238dc6 100644 --- a/test/fixtures/core/uncategorised/70/expected.json +++ b/test/fixtures/core/uncategorised/70/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/core/uncategorised/71/expected.json b/test/fixtures/core/uncategorised/71/expected.json index f0d5e69680..887d899e10 100644 --- a/test/fixtures/core/uncategorised/71/expected.json +++ b/test/fixtures/core/uncategorised/71/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 7, "loc": { diff --git a/test/fixtures/core/uncategorised/72/expected.json b/test/fixtures/core/uncategorised/72/expected.json index c60b1b41f8..28bdb13384 100644 --- a/test/fixtures/core/uncategorised/72/expected.json +++ b/test/fixtures/core/uncategorised/72/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 14, "loc": { diff --git a/test/fixtures/core/uncategorised/73/expected.json b/test/fixtures/core/uncategorised/73/expected.json index 3c13fede57..30c86157ec 100644 --- a/test/fixtures/core/uncategorised/73/expected.json +++ b/test/fixtures/core/uncategorised/73/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 15, "loc": { diff --git a/test/fixtures/core/uncategorised/74/expected.json b/test/fixtures/core/uncategorised/74/expected.json index 89c0277df0..b67bf7729a 100644 --- a/test/fixtures/core/uncategorised/74/expected.json +++ b/test/fixtures/core/uncategorised/74/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/core/uncategorised/75/expected.json b/test/fixtures/core/uncategorised/75/expected.json index ff1823f7ed..fbd7c84772 100644 --- a/test/fixtures/core/uncategorised/75/expected.json +++ b/test/fixtures/core/uncategorised/75/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 6, "loc": { diff --git a/test/fixtures/core/uncategorised/76/expected.json b/test/fixtures/core/uncategorised/76/expected.json index 6c610fe45d..cd680a2265 100644 --- a/test/fixtures/core/uncategorised/76/expected.json +++ b/test/fixtures/core/uncategorised/76/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 5, "loc": { diff --git a/test/fixtures/core/uncategorised/77/expected.json b/test/fixtures/core/uncategorised/77/expected.json index 925c9bd4b5..192427664a 100644 --- a/test/fixtures/core/uncategorised/77/expected.json +++ b/test/fixtures/core/uncategorised/77/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 5, "loc": { diff --git a/test/fixtures/core/uncategorised/78/expected.json b/test/fixtures/core/uncategorised/78/expected.json index b22782d94a..4441f183fb 100644 --- a/test/fixtures/core/uncategorised/78/expected.json +++ b/test/fixtures/core/uncategorised/78/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 4, "loc": { diff --git a/test/fixtures/core/uncategorised/79/expected.json b/test/fixtures/core/uncategorised/79/expected.json index f5b4ed8462..4dafd033b7 100644 --- a/test/fixtures/core/uncategorised/79/expected.json +++ b/test/fixtures/core/uncategorised/79/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 4, "loc": { diff --git a/test/fixtures/core/uncategorised/80/expected.json b/test/fixtures/core/uncategorised/80/expected.json index f677a72fed..8c03d68d53 100644 --- a/test/fixtures/core/uncategorised/80/expected.json +++ b/test/fixtures/core/uncategorised/80/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 5, "loc": { diff --git a/test/fixtures/core/uncategorised/81/expected.json b/test/fixtures/core/uncategorised/81/expected.json index 0ad2ff57eb..6546d8c87d 100644 --- a/test/fixtures/core/uncategorised/81/expected.json +++ b/test/fixtures/core/uncategorised/81/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 4, "loc": { diff --git a/test/fixtures/core/uncategorised/82/expected.json b/test/fixtures/core/uncategorised/82/expected.json index eb09e24858..5714a368bf 100644 --- a/test/fixtures/core/uncategorised/82/expected.json +++ b/test/fixtures/core/uncategorised/82/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 2, "loc": { diff --git a/test/fixtures/core/uncategorised/83/expected.json b/test/fixtures/core/uncategorised/83/expected.json index 00009bf130..61695cc2b7 100644 --- a/test/fixtures/core/uncategorised/83/expected.json +++ b/test/fixtures/core/uncategorised/83/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/core/uncategorised/84/expected.json b/test/fixtures/core/uncategorised/84/expected.json index febf934ba3..6f74c8d888 100644 --- a/test/fixtures/core/uncategorised/84/expected.json +++ b/test/fixtures/core/uncategorised/84/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 4, "loc": { diff --git a/test/fixtures/core/uncategorised/9/expected.json b/test/fixtures/core/uncategorised/9/expected.json index be72c57c4e..13c08de8ec 100644 --- a/test/fixtures/core/uncategorised/9/expected.json +++ b/test/fixtures/core/uncategorised/9/expected.json @@ -89,7 +89,7 @@ }, "elements": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 8, "loc": { diff --git a/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0003/expected.json b/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0003/expected.json index 607612e873..0c955c4730 100644 --- a/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0003/expected.json +++ b/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0003/expected.json @@ -89,7 +89,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 12, "loc": { @@ -140,7 +140,7 @@ "name": "y" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 18, "end": 19, "loc": { diff --git a/test/fixtures/esprima/declaration-const/migrated_0000/expected.json b/test/fixtures/esprima/declaration-const/migrated_0000/expected.json index 4069780390..e194cd4fc2 100644 --- a/test/fixtures/esprima/declaration-const/migrated_0000/expected.json +++ b/test/fixtures/esprima/declaration-const/migrated_0000/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 12, "loc": { diff --git a/test/fixtures/esprima/declaration-const/migrated_0001/expected.json b/test/fixtures/esprima/declaration-const/migrated_0001/expected.json index b6f5990bca..a68a9f9594 100644 --- a/test/fixtures/esprima/declaration-const/migrated_0001/expected.json +++ b/test/fixtures/esprima/declaration-const/migrated_0001/expected.json @@ -89,7 +89,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 14, "loc": { diff --git a/test/fixtures/esprima/declaration-const/migrated_0002/expected.json b/test/fixtures/esprima/declaration-const/migrated_0002/expected.json index 4618734fda..3df4bb7dd4 100644 --- a/test/fixtures/esprima/declaration-const/migrated_0002/expected.json +++ b/test/fixtures/esprima/declaration-const/migrated_0002/expected.json @@ -89,7 +89,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 14, "loc": { @@ -140,7 +140,7 @@ "name": "y" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 20, "end": 21, "loc": { @@ -191,7 +191,7 @@ "name": "z" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 27, "end": 31, "loc": { diff --git a/test/fixtures/esprima/declaration-function/migrated_0014/expected.json b/test/fixtures/esprima/declaration-function/migrated_0014/expected.json index b4d8d83676..cc976d4819 100644 --- a/test/fixtures/esprima/declaration-function/migrated_0014/expected.json +++ b/test/fixtures/esprima/declaration-function/migrated_0014/expected.json @@ -126,7 +126,7 @@ }, "operator": "+", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 33, "end": 35, "loc": { diff --git a/test/fixtures/esprima/declaration-let/migrated_0002/expected.json b/test/fixtures/esprima/declaration-let/migrated_0002/expected.json index 8e0f3eda0b..e34ed2023b 100644 --- a/test/fixtures/esprima/declaration-let/migrated_0002/expected.json +++ b/test/fixtures/esprima/declaration-let/migrated_0002/expected.json @@ -89,7 +89,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 12, "loc": { diff --git a/test/fixtures/esprima/declaration-let/migrated_0003/expected.json b/test/fixtures/esprima/declaration-let/migrated_0003/expected.json index a64ced02ce..6cf98a59bd 100644 --- a/test/fixtures/esprima/declaration-let/migrated_0003/expected.json +++ b/test/fixtures/esprima/declaration-let/migrated_0003/expected.json @@ -89,7 +89,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 12, "loc": { @@ -140,7 +140,7 @@ "name": "y" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 18, "end": 19, "loc": { @@ -191,7 +191,7 @@ "name": "z" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 25, "end": 29, "loc": { diff --git a/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-01/expected.json b/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-01/expected.json index 55e7cb964b..24fe25f6c7 100644 --- a/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-01/expected.json +++ b/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-01/expected.json @@ -110,7 +110,7 @@ }, "elements": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 11, "loc": { diff --git a/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-02/expected.json b/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-02/expected.json index 1162212f88..38ef2920e8 100644 --- a/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-02/expected.json +++ b/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-02/expected.json @@ -111,7 +111,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 10, "loc": { diff --git a/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-03/expected.json b/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-03/expected.json index c7416244d2..74654fe30a 100644 --- a/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-03/expected.json +++ b/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-03/expected.json @@ -126,7 +126,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { diff --git a/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-empty/expected.json b/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-empty/expected.json index bd5854bcd0..fe13d83e4a 100644 --- a/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-empty/expected.json +++ b/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-empty/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 7, "loc": { diff --git a/test/fixtures/esprima/es2015-array-binding-pattern/elision/expected.json b/test/fixtures/esprima/es2015-array-binding-pattern/elision/expected.json index 6eba052f46..293ba53fee 100644 --- a/test/fixtures/esprima/es2015-array-binding-pattern/elision/expected.json +++ b/test/fixtures/esprima/es2015-array-binding-pattern/elision/expected.json @@ -81,7 +81,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 9, "loc": { diff --git a/test/fixtures/esprima/es2015-array-pattern/elision/expected.json b/test/fixtures/esprima/es2015-array-pattern/elision/expected.json index f426e72528..33b9e60b18 100644 --- a/test/fixtures/esprima/es2015-array-pattern/elision/expected.json +++ b/test/fixtures/esprima/es2015-array-pattern/elision/expected.json @@ -91,7 +91,7 @@ ] }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 12, "loc": { diff --git a/test/fixtures/esprima/es2015-array-pattern/empty-pattern-var/expected.json b/test/fixtures/esprima/es2015-array-pattern/empty-pattern-var/expected.json index 821296cbdb..fea948a3b4 100644 --- a/test/fixtures/esprima/es2015-array-pattern/empty-pattern-var/expected.json +++ b/test/fixtures/esprima/es2015-array-pattern/empty-pattern-var/expected.json @@ -74,7 +74,7 @@ "elements": [] }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 10, "loc": { diff --git a/test/fixtures/esprima/es2015-array-pattern/hole/expected.json b/test/fixtures/esprima/es2015-array-pattern/hole/expected.json index e267a31f66..af02d62272 100644 --- a/test/fixtures/esprima/es2015-array-pattern/hole/expected.json +++ b/test/fixtures/esprima/es2015-array-pattern/hole/expected.json @@ -108,7 +108,7 @@ ] }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 12, "loc": { diff --git a/test/fixtures/esprima/es2015-array-pattern/nested-pattern/expected.json b/test/fixtures/esprima/es2015-array-pattern/nested-pattern/expected.json index 59b556c0f5..037be7f874 100644 --- a/test/fixtures/esprima/es2015-array-pattern/nested-pattern/expected.json +++ b/test/fixtures/esprima/es2015-array-pattern/nested-pattern/expected.json @@ -91,7 +91,7 @@ ] }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 10, "loc": { diff --git a/test/fixtures/esprima/es2015-array-pattern/patterned-catch/expected.json b/test/fixtures/esprima/es2015-array-pattern/patterned-catch/expected.json index a0efeec910..aa2233a73e 100644 --- a/test/fixtures/esprima/es2015-array-pattern/patterned-catch/expected.json +++ b/test/fixtures/esprima/es2015-array-pattern/patterned-catch/expected.json @@ -249,7 +249,7 @@ "name": "e" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 28, "end": 29, "loc": { @@ -334,7 +334,7 @@ "name": "g" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 37, "end": 38, "loc": { diff --git a/test/fixtures/esprima/es2015-array-pattern/rest/expected.json b/test/fixtures/esprima/es2015-array-pattern/rest/expected.json index 18936fbfdf..2c0a36d06f 100644 --- a/test/fixtures/esprima/es2015-array-pattern/rest/expected.json +++ b/test/fixtures/esprima/es2015-array-pattern/rest/expected.json @@ -106,7 +106,7 @@ ] }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 13, "end": 14, "loc": { diff --git a/test/fixtures/esprima/es2015-array-pattern/tailing-hold/expected.json b/test/fixtures/esprima/es2015-array-pattern/tailing-hold/expected.json index ef275391a1..6cd7a04e5a 100644 --- a/test/fixtures/esprima/es2015-array-pattern/tailing-hold/expected.json +++ b/test/fixtures/esprima/es2015-array-pattern/tailing-hold/expected.json @@ -92,7 +92,7 @@ ] }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 11, "loc": { diff --git a/test/fixtures/esprima/es2015-array-pattern/with-default-catch-param/expected.json b/test/fixtures/esprima/es2015-array-pattern/with-default-catch-param/expected.json index acbfab9cf7..8d669b0c72 100644 --- a/test/fixtures/esprima/es2015-array-pattern/with-default-catch-param/expected.json +++ b/test/fixtures/esprima/es2015-array-pattern/with-default-catch-param/expected.json @@ -119,7 +119,7 @@ "name": "a" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 20, "end": 21, "loc": { diff --git a/test/fixtures/esprima/es2015-array-pattern/with-default-fn/expected.json b/test/fixtures/esprima/es2015-array-pattern/with-default-fn/expected.json index 75d5b40cd2..0e0ab6da3b 100644 --- a/test/fixtures/esprima/es2015-array-pattern/with-default-fn/expected.json +++ b/test/fixtures/esprima/es2015-array-pattern/with-default-fn/expected.json @@ -107,7 +107,7 @@ "name": "a" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 15, "loc": { diff --git a/test/fixtures/esprima/es2015-array-pattern/with-object-pattern/expected.json b/test/fixtures/esprima/es2015-array-pattern/with-object-pattern/expected.json index 1c46501964..5e393f5bf2 100644 --- a/test/fixtures/esprima/es2015-array-pattern/with-object-pattern/expected.json +++ b/test/fixtures/esprima/es2015-array-pattern/with-object-pattern/expected.json @@ -142,7 +142,7 @@ ] }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/arrow-with-multiple-arg-and-rest/expected.json b/test/fixtures/esprima/es2015-arrow-function/arrow-with-multiple-arg-and-rest/expected.json index 64ca19741f..8a16817fc6 100644 --- a/test/fixtures/esprima/es2015-arrow-function/arrow-with-multiple-arg-and-rest/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/arrow-with-multiple-arg-and-rest/expected.json @@ -125,7 +125,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 15, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/arrow-with-only-rest/expected.json b/test/fixtures/esprima/es2015-arrow-function/arrow-with-only-rest/expected.json index fa50513676..30aa46f59e 100644 --- a/test/fixtures/esprima/es2015-arrow-function/arrow-with-only-rest/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/arrow-with-only-rest/expected.json @@ -93,7 +93,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 11, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/migrated_0004/expected.json b/test/fixtures/esprima/es2015-arrow-function/migrated_0004/expected.json index a6acfabee4..5644e19a05 100644 --- a/test/fixtures/esprima/es2015-arrow-function/migrated_0004/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/migrated_0004/expected.json @@ -107,7 +107,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 9, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/migrated_0005/expected.json b/test/fixtures/esprima/es2015-arrow-function/migrated_0005/expected.json index 8025e7a342..d79ff6492c 100644 --- a/test/fixtures/esprima/es2015-arrow-function/migrated_0005/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/migrated_0005/expected.json @@ -126,7 +126,7 @@ "name": "property" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 18, "end": 20, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/migrated_0006/expected.json b/test/fixtures/esprima/es2015-arrow-function/migrated_0006/expected.json index fe17cfad68..a7d846ffb6 100644 --- a/test/fixtures/esprima/es2015-arrow-function/migrated_0006/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/migrated_0006/expected.json @@ -121,7 +121,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 16, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/migrated_0007/expected.json b/test/fixtures/esprima/es2015-arrow-function/migrated_0007/expected.json index 59f0dbf100..8eea5108a9 100644 --- a/test/fixtures/esprima/es2015-arrow-function/migrated_0007/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/migrated_0007/expected.json @@ -123,7 +123,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 14, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/migrated_0008/expected.json b/test/fixtures/esprima/es2015-arrow-function/migrated_0008/expected.json index 1d3eb7338f..d3ed02a634 100644 --- a/test/fixtures/esprima/es2015-arrow-function/migrated_0008/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/migrated_0008/expected.json @@ -91,7 +91,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 3, "end": 4, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/migrated_0009/expected.json b/test/fixtures/esprima/es2015-arrow-function/migrated_0009/expected.json index b4e861da61..6e5b95dce8 100644 --- a/test/fixtures/esprima/es2015-arrow-function/migrated_0009/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/migrated_0009/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/migrated_0010/expected.json b/test/fixtures/esprima/es2015-arrow-function/migrated_0010/expected.json index f3bbc75306..556e95a3ac 100644 --- a/test/fixtures/esprima/es2015-arrow-function/migrated_0010/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/migrated_0010/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 13, "end": 15, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/migrated_0011/expected.json b/test/fixtures/esprima/es2015-arrow-function/migrated_0011/expected.json index 98652468ab..6ba8419a8b 100644 --- a/test/fixtures/esprima/es2015-arrow-function/migrated_0011/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/migrated_0011/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 9, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/migrated_0012/expected.json b/test/fixtures/esprima/es2015-arrow-function/migrated_0012/expected.json index d4be8b7577..6e06ca49e2 100644 --- a/test/fixtures/esprima/es2015-arrow-function/migrated_0012/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/migrated_0012/expected.json @@ -94,7 +94,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 13, "end": 15, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/migrated_0013/expected.json b/test/fixtures/esprima/es2015-arrow-function/migrated_0013/expected.json index 8a08def13e..f280cb57bf 100644 --- a/test/fixtures/esprima/es2015-arrow-function/migrated_0013/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/migrated_0013/expected.json @@ -91,7 +91,7 @@ "name": "eval" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { @@ -113,7 +113,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 17, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/migrated_0014/expected.json b/test/fixtures/esprima/es2015-arrow-function/migrated_0014/expected.json index b782563eff..43ee9f5e11 100644 --- a/test/fixtures/esprima/es2015-arrow-function/migrated_0014/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/migrated_0014/expected.json @@ -107,7 +107,7 @@ "name": "a" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 13, "loc": { @@ -129,7 +129,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 18, "end": 20, "loc": { diff --git a/test/fixtures/esprima/es2015-arrow-function/migrated_0016/expected.json b/test/fixtures/esprima/es2015-arrow-function/migrated_0016/expected.json index 3fc7b625b7..03125c85dd 100644 --- a/test/fixtures/esprima/es2015-arrow-function/migrated_0016/expected.json +++ b/test/fixtures/esprima/es2015-arrow-function/migrated_0016/expected.json @@ -113,7 +113,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 12, "loc": { diff --git a/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0000/expected.json b/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0000/expected.json index 8e5a64d7e3..a7a02b8cb3 100644 --- a/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0000/expected.json +++ b/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0000/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0001/expected.json b/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0001/expected.json index 869a4573f6..62104f0d78 100644 --- a/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0001/expected.json +++ b/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0001/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0002/expected.json b/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0002/expected.json index 946f9be4db..30bc725719 100644 --- a/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0002/expected.json +++ b/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0002/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 4, "loc": { diff --git a/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0003/expected.json b/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0003/expected.json index 50c71c2d94..b9f971dc40 100644 --- a/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0003/expected.json +++ b/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0003/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0004/expected.json b/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0004/expected.json index 94253b3ff7..0f164601cf 100644 --- a/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0004/expected.json +++ b/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0004/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0005/expected.json b/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0005/expected.json index 5a539443cf..ce00cd0583 100644 --- a/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0005/expected.json +++ b/test/fixtures/esprima/es2015-binary-integer-literal/migrated_0005/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 4, "loc": { diff --git a/test/fixtures/esprima/es2015-class/migrated_0001/expected.json b/test/fixtures/esprima/es2015-class/migrated_0001/expected.json index de6307983c..0884478b03 100644 --- a/test/fixtures/esprima/es2015-class/migrated_0001/expected.json +++ b/test/fixtures/esprima/es2015-class/migrated_0001/expected.json @@ -59,7 +59,7 @@ "name": "A" }, "superClass": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 16, "end": 17, "loc": { diff --git a/test/fixtures/esprima/es2015-class/migrated_0016/expected.json b/test/fixtures/esprima/es2015-class/migrated_0016/expected.json index 0ba4da86df..376ca238f8 100644 --- a/test/fixtures/esprima/es2015-class/migrated_0016/expected.json +++ b/test/fixtures/esprima/es2015-class/migrated_0016/expected.json @@ -104,7 +104,7 @@ "name": "A" }, "superClass": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 24, "end": 25, "loc": { diff --git a/test/fixtures/esprima/es2015-class/migrated_0024/expected.json b/test/fixtures/esprima/es2015-class/migrated_0024/expected.json index e85fb517b8..79fb874e63 100644 --- a/test/fixtures/esprima/es2015-class/migrated_0024/expected.json +++ b/test/fixtures/esprima/es2015-class/migrated_0024/expected.json @@ -58,7 +58,7 @@ }, "id": null, "superClass": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 16, "loc": { diff --git a/test/fixtures/esprima/es2015-class/migrated_0025/expected.json b/test/fixtures/esprima/es2015-class/migrated_0025/expected.json index cf178864e7..0e93246761 100644 --- a/test/fixtures/esprima/es2015-class/migrated_0025/expected.json +++ b/test/fixtures/esprima/es2015-class/migrated_0025/expected.json @@ -73,7 +73,7 @@ "name": "A" }, "superClass": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 17, "end": 18, "loc": { diff --git a/test/fixtures/esprima/es2015-default-parameter-value/migrated_0000/expected.json b/test/fixtures/esprima/es2015-default-parameter-value/migrated_0000/expected.json index 3799c4ee35..62a790d784 100644 --- a/test/fixtures/esprima/es2015-default-parameter-value/migrated_0000/expected.json +++ b/test/fixtures/esprima/es2015-default-parameter-value/migrated_0000/expected.json @@ -122,7 +122,7 @@ "name": "y" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 17, "end": 18, "loc": { diff --git a/test/fixtures/esprima/es2015-default-parameter-value/migrated_0001/expected.json b/test/fixtures/esprima/es2015-default-parameter-value/migrated_0001/expected.json index b922dc9f54..b6a422f551 100644 --- a/test/fixtures/esprima/es2015-default-parameter-value/migrated_0001/expected.json +++ b/test/fixtures/esprima/es2015-default-parameter-value/migrated_0001/expected.json @@ -92,7 +92,7 @@ "name": "a" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 16, "loc": { diff --git a/test/fixtures/esprima/es2015-default-parameter-value/migrated_0002/expected.json b/test/fixtures/esprima/es2015-default-parameter-value/migrated_0002/expected.json index 64c3b49fae..71590f27e6 100644 --- a/test/fixtures/esprima/es2015-default-parameter-value/migrated_0002/expected.json +++ b/test/fixtures/esprima/es2015-default-parameter-value/migrated_0002/expected.json @@ -170,7 +170,7 @@ "name": "a" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 20, "end": 21, "loc": { diff --git a/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/dup-assignment/expected.json b/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/dup-assignment/expected.json index 6079a74348..21bd961454 100644 --- a/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/dup-assignment/expected.json +++ b/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/dup-assignment/expected.json @@ -139,7 +139,7 @@ ] }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { diff --git a/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/elision/expected.json b/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/elision/expected.json index b4dad85bbf..49745365d4 100644 --- a/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/elision/expected.json +++ b/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/elision/expected.json @@ -77,7 +77,7 @@ ] }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 6, "loc": { diff --git a/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/member-expr-in-rest/expected.json b/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/member-expr-in-rest/expected.json index 95e743cb0f..bdac56e368 100644 --- a/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/member-expr-in-rest/expected.json +++ b/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/member-expr-in-rest/expected.json @@ -117,7 +117,7 @@ "name": "a" }, "property": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 7, "loc": { @@ -142,7 +142,7 @@ ] }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { diff --git a/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/nested-assignment/expected.json b/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/nested-assignment/expected.json index a3b62d0ec1..c7ff8b5b5c 100644 --- a/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/nested-assignment/expected.json +++ b/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/nested-assignment/expected.json @@ -119,7 +119,7 @@ "name": "b" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 6, "loc": { @@ -229,7 +229,7 @@ "name": "a" }, "property": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 16, "loc": { @@ -273,7 +273,7 @@ ] }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 24, "loc": { diff --git a/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/nested-cover-grammar/expected.json b/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/nested-cover-grammar/expected.json index 9c12c4fa9c..8420dbe0e7 100644 --- a/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/nested-cover-grammar/expected.json +++ b/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/nested-cover-grammar/expected.json @@ -171,7 +171,7 @@ ] }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 8, "loc": { diff --git a/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/simple-assignment/expected.json b/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/simple-assignment/expected.json index 5d3cc3bc51..a27719de05 100644 --- a/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/simple-assignment/expected.json +++ b/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/simple-assignment/expected.json @@ -91,7 +91,7 @@ ] }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 7, "loc": { diff --git a/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/empty-object-pattern-assignment/expected.json b/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/empty-object-pattern-assignment/expected.json index 0b11316d47..96aef38f6b 100644 --- a/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/empty-object-pattern-assignment/expected.json +++ b/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/empty-object-pattern-assignment/expected.json @@ -74,7 +74,7 @@ "properties": [] }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 7, "loc": { diff --git a/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/nested-cover-grammar/expected.json b/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/nested-cover-grammar/expected.json index 559a8db8fc..4bc7411940 100644 --- a/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/nested-cover-grammar/expected.json +++ b/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/nested-cover-grammar/expected.json @@ -466,7 +466,7 @@ "name": "b" }, "property": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 25, "end": 26, "loc": { @@ -532,7 +532,7 @@ ] }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 49, "end": 50, "loc": { diff --git a/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/object-pattern-assignment/expected.json b/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/object-pattern-assignment/expected.json index aab8a1a69e..8e0054a6b2 100644 --- a/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/object-pattern-assignment/expected.json +++ b/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/object-pattern-assignment/expected.json @@ -536,7 +536,7 @@ ] }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 82, "end": 83, "loc": { diff --git a/test/fixtures/esprima/es2015-export-declaration/export-const-number/expected.json b/test/fixtures/esprima/es2015-export-declaration/export-const-number/expected.json index 4449de5650..388b1fb864 100644 --- a/test/fixtures/esprima/es2015-export-declaration/export-const-number/expected.json +++ b/test/fixtures/esprima/es2015-export-declaration/export-const-number/expected.json @@ -90,7 +90,7 @@ "name": "foo" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 19, "end": 20, "loc": { diff --git a/test/fixtures/esprima/es2015-export-declaration/export-default-expression/expected.json b/test/fixtures/esprima/es2015-export-declaration/export-default-expression/expected.json index e881a423f0..abeb127a32 100644 --- a/test/fixtures/esprima/es2015-export-declaration/export-default-expression/expected.json +++ b/test/fixtures/esprima/es2015-export-declaration/export-default-expression/expected.json @@ -57,7 +57,7 @@ } }, "left": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 16, "end": 17, "loc": { @@ -78,7 +78,7 @@ }, "operator": "+", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 20, "end": 21, "loc": { diff --git a/test/fixtures/esprima/es2015-export-declaration/export-default-number/expected.json b/test/fixtures/esprima/es2015-export-declaration/export-default-number/expected.json index 4758b655ec..22f894952d 100644 --- a/test/fixtures/esprima/es2015-export-declaration/export-default-number/expected.json +++ b/test/fixtures/esprima/es2015-export-declaration/export-default-number/expected.json @@ -43,7 +43,7 @@ } }, "declaration": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 17, "loc": { diff --git a/test/fixtures/esprima/es2015-export-declaration/export-default-object/expected.json b/test/fixtures/esprima/es2015-export-declaration/export-default-object/expected.json index ae7eefb6d2..dc93997faf 100644 --- a/test/fixtures/esprima/es2015-export-declaration/export-default-object/expected.json +++ b/test/fixtures/esprima/es2015-export-declaration/export-default-object/expected.json @@ -91,7 +91,7 @@ "name": "foo" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 22, "end": 23, "loc": { diff --git a/test/fixtures/esprima/es2015-export-declaration/export-let-number/expected.json b/test/fixtures/esprima/es2015-export-declaration/export-let-number/expected.json index b4302c2d1b..a70b2d4788 100644 --- a/test/fixtures/esprima/es2015-export-declaration/export-let-number/expected.json +++ b/test/fixtures/esprima/es2015-export-declaration/export-let-number/expected.json @@ -90,7 +90,7 @@ "name": "foo" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 17, "end": 18, "loc": { diff --git a/test/fixtures/esprima/es2015-export-declaration/export-var-number/expected.json b/test/fixtures/esprima/es2015-export-declaration/export-var-number/expected.json index bca842d905..7290654ceb 100644 --- a/test/fixtures/esprima/es2015-export-declaration/export-var-number/expected.json +++ b/test/fixtures/esprima/es2015-export-declaration/export-var-number/expected.json @@ -90,7 +90,7 @@ "name": "foo" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 17, "end": 18, "loc": { diff --git a/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield-delegate/expected.json b/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield-delegate/expected.json index b1904263e7..12653936f3 100644 --- a/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield-delegate/expected.json +++ b/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield-delegate/expected.json @@ -106,7 +106,7 @@ }, "delegate": true, "argument": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 25, "end": 26, "loc": { diff --git a/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield/expected.json b/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield/expected.json index 586f8e1856..ca953c366a 100644 --- a/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield/expected.json +++ b/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield/expected.json @@ -106,7 +106,7 @@ }, "delegate": false, "argument": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 24, "end": 25, "loc": { diff --git a/test/fixtures/esprima/es2015-generator/generator-expression-with-yield/expected.json b/test/fixtures/esprima/es2015-generator/generator-expression-with-yield/expected.json index 6bc100acb2..8a6fe27484 100644 --- a/test/fixtures/esprima/es2015-generator/generator-expression-with-yield/expected.json +++ b/test/fixtures/esprima/es2015-generator/generator-expression-with-yield/expected.json @@ -105,7 +105,7 @@ }, "delegate": false, "argument": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 21, "end": 22, "loc": { diff --git a/test/fixtures/esprima/es2015-generator/generator-method-with-yield-delegate/expected.json b/test/fixtures/esprima/es2015-generator/generator-method-with-yield-delegate/expected.json index a261ce50a1..419afbd644 100644 --- a/test/fixtures/esprima/es2015-generator/generator-method-with-yield-delegate/expected.json +++ b/test/fixtures/esprima/es2015-generator/generator-method-with-yield-delegate/expected.json @@ -140,7 +140,7 @@ }, "delegate": true, "argument": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 19, "end": 20, "loc": { diff --git a/test/fixtures/esprima/es2015-generator/generator-method-with-yield-expression/expected.json b/test/fixtures/esprima/es2015-generator/generator-method-with-yield-expression/expected.json index d43ba66132..e9df81eaa9 100644 --- a/test/fixtures/esprima/es2015-generator/generator-method-with-yield-expression/expected.json +++ b/test/fixtures/esprima/es2015-generator/generator-method-with-yield-expression/expected.json @@ -140,7 +140,7 @@ }, "delegate": false, "argument": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 18, "end": 19, "loc": { diff --git a/test/fixtures/esprima/es2015-generator/generator-method-with-yield-line-terminator/expected.json b/test/fixtures/esprima/es2015-generator/generator-method-with-yield-line-terminator/expected.json index addacb6d05..2b1db06974 100644 --- a/test/fixtures/esprima/es2015-generator/generator-method-with-yield-line-terminator/expected.json +++ b/test/fixtures/esprima/es2015-generator/generator-method-with-yield-line-terminator/expected.json @@ -157,7 +157,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 24, "loc": { diff --git a/test/fixtures/esprima/es2015-identifier/module_await/expected.json b/test/fixtures/esprima/es2015-identifier/module_await/expected.json index 73b2c92bcd..33d6f24353 100644 --- a/test/fixtures/esprima/es2015-identifier/module_await/expected.json +++ b/test/fixtures/esprima/es2015-identifier/module_await/expected.json @@ -74,7 +74,7 @@ "name": "await" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 9, "loc": { diff --git a/test/fixtures/esprima/es2015-lexical-declaration/migrated_0000/expected.json b/test/fixtures/esprima/es2015-lexical-declaration/migrated_0000/expected.json index 2d90f27140..929eaa9eab 100644 --- a/test/fixtures/esprima/es2015-lexical-declaration/migrated_0000/expected.json +++ b/test/fixtures/esprima/es2015-lexical-declaration/migrated_0000/expected.json @@ -120,7 +120,7 @@ "name": "t" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 35, "end": 37, "loc": { @@ -161,7 +161,7 @@ } ], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 25, "loc": { diff --git a/test/fixtures/esprima/es2015-object-pattern/elision/expected.json b/test/fixtures/esprima/es2015-object-pattern/elision/expected.json index 7c4ad06015..5aa022ac3f 100644 --- a/test/fixtures/esprima/es2015-object-pattern/elision/expected.json +++ b/test/fixtures/esprima/es2015-object-pattern/elision/expected.json @@ -125,7 +125,7 @@ ] }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 12, "loc": { diff --git a/test/fixtures/esprima/es2015-object-pattern/empty-for-lex/expected.json b/test/fixtures/esprima/es2015-object-pattern/empty-for-lex/expected.json index 25c24eb32b..85430cc73f 100644 --- a/test/fixtures/esprima/es2015-object-pattern/empty-for-lex/expected.json +++ b/test/fixtures/esprima/es2015-object-pattern/empty-for-lex/expected.json @@ -93,7 +93,7 @@ "kind": "let" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 16, "loc": { diff --git a/test/fixtures/esprima/es2015-object-pattern/empty-lexical/expected.json b/test/fixtures/esprima/es2015-object-pattern/empty-lexical/expected.json index 82ed2b843a..8bcc519637 100644 --- a/test/fixtures/esprima/es2015-object-pattern/empty-lexical/expected.json +++ b/test/fixtures/esprima/es2015-object-pattern/empty-lexical/expected.json @@ -74,7 +74,7 @@ "properties": [] }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 10, "loc": { diff --git a/test/fixtures/esprima/es2015-object-pattern/empty-var/expected.json b/test/fixtures/esprima/es2015-object-pattern/empty-var/expected.json index c910a2d773..e5ae1a64d3 100644 --- a/test/fixtures/esprima/es2015-object-pattern/empty-var/expected.json +++ b/test/fixtures/esprima/es2015-object-pattern/empty-var/expected.json @@ -74,7 +74,7 @@ "properties": [] }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 10, "loc": { diff --git a/test/fixtures/esprima/es2015-object-pattern/nested/expected.json b/test/fixtures/esprima/es2015-object-pattern/nested/expected.json index 91ef151596..2b66d83815 100644 --- a/test/fixtures/esprima/es2015-object-pattern/nested/expected.json +++ b/test/fixtures/esprima/es2015-object-pattern/nested/expected.json @@ -125,7 +125,7 @@ ] }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 13, "end": 14, "loc": { diff --git a/test/fixtures/esprima/es2015-object-pattern/properties/expected.json b/test/fixtures/esprima/es2015-object-pattern/properties/expected.json index 385e1d7b27..45e9261374 100644 --- a/test/fixtures/esprima/es2015-object-pattern/properties/expected.json +++ b/test/fixtures/esprima/es2015-object-pattern/properties/expected.json @@ -186,7 +186,7 @@ "name": "b" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 10, "loc": { @@ -321,7 +321,7 @@ "name": "f" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 19, "end": 20, "loc": { @@ -412,7 +412,7 @@ ] }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 30, "end": 31, "loc": { diff --git a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0000/expected.json b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0000/expected.json index bcf619d9dd..6c84b265b0 100644 --- a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0000/expected.json +++ b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0000/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 2, "loc": { diff --git a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0001/expected.json b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0001/expected.json index 8a021344bb..c711d94e62 100644 --- a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0001/expected.json +++ b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0001/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0002/expected.json b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0002/expected.json index aa7e6a2f80..f95c3acfdb 100644 --- a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0002/expected.json +++ b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0002/expected.json @@ -91,7 +91,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 31, "end": 34, "loc": { diff --git a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0003/expected.json b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0003/expected.json index 118b2f32c6..427dd542bd 100644 --- a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0003/expected.json +++ b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0003/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0004/expected.json b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0004/expected.json index 5636575a62..c5b3e36143 100644 --- a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0004/expected.json +++ b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0004/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 4, "loc": { diff --git a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0005/expected.json b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0005/expected.json index 7c2c994467..ac5af77227 100644 --- a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0005/expected.json +++ b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0005/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0006/expected.json b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0006/expected.json index 306190058c..8fe8a8579a 100644 --- a/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0006/expected.json +++ b/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0006/expected.json @@ -91,7 +91,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 31, "end": 34, "loc": { diff --git a/test/fixtures/esprima/es2015-spread-element/call-spread-number/expected.json b/test/fixtures/esprima/es2015-spread-element/call-spread-number/expected.json index 0ec4f48337..bd72b46cfa 100644 --- a/test/fixtures/esprima/es2015-spread-element/call-spread-number/expected.json +++ b/test/fixtures/esprima/es2015-spread-element/call-spread-number/expected.json @@ -88,7 +88,7 @@ } }, "argument": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/esprima/es2015-spread-element/new-spread-number/expected.json b/test/fixtures/esprima/es2015-spread-element/new-spread-number/expected.json index 5022e9d8b6..0b6b85b9b7 100644 --- a/test/fixtures/esprima/es2015-spread-element/new-spread-number/expected.json +++ b/test/fixtures/esprima/es2015-spread-element/new-spread-number/expected.json @@ -88,7 +88,7 @@ } }, "argument": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 11, "loc": { diff --git a/test/fixtures/esprima/es2015-super-property/super_computed/expected.json b/test/fixtures/esprima/es2015-super-property/super_computed/expected.json index 0187540a76..5e81ff357e 100644 --- a/test/fixtures/esprima/es2015-super-property/super_computed/expected.json +++ b/test/fixtures/esprima/es2015-super-property/super_computed/expected.json @@ -185,7 +185,7 @@ } }, "property": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 51, "end": 52, "loc": { diff --git a/test/fixtures/esprima/es2015-yield/.invalid-yield-strict-arrow-parameter-name/expected.json b/test/fixtures/esprima/es2015-yield/.invalid-yield-strict-arrow-parameter-name/expected.json index 3a47f7de3a..ce0cbfa1fb 100644 --- a/test/fixtures/esprima/es2015-yield/.invalid-yield-strict-arrow-parameter-name/expected.json +++ b/test/fixtures/esprima/es2015-yield/.invalid-yield-strict-arrow-parameter-name/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 25, "end": 27, "loc": { diff --git a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-lexical-declaration/expected.json b/test/fixtures/esprima/es2015-yield/invalid-yield-strict-lexical-declaration/expected.json index 9d4ab39950..966737277b 100644 --- a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-lexical-declaration/expected.json +++ b/test/fixtures/esprima/es2015-yield/invalid-yield-strict-lexical-declaration/expected.json @@ -74,7 +74,7 @@ "name": "yield" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 26, "end": 28, "loc": { diff --git a/test/fixtures/esprima/es2015-yield/yield-arrow-parameter-name/expected.json b/test/fixtures/esprima/es2015-yield/yield-arrow-parameter-name/expected.json index 9c2f1fefbe..ac4ee8bf0c 100644 --- a/test/fixtures/esprima/es2015-yield/yield-arrow-parameter-name/expected.json +++ b/test/fixtures/esprima/es2015-yield/yield-arrow-parameter-name/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 13, "loc": { diff --git a/test/fixtures/esprima/es2015-yield/yield-lexical-declaration/expected.json b/test/fixtures/esprima/es2015-yield/yield-lexical-declaration/expected.json index 1b530aaaf0..ecbe7ba7c5 100644 --- a/test/fixtures/esprima/es2015-yield/yield-lexical-declaration/expected.json +++ b/test/fixtures/esprima/es2015-yield/yield-lexical-declaration/expected.json @@ -74,7 +74,7 @@ "name": "yield" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 14, "loc": { diff --git a/test/fixtures/esprima/expression-additive/migrated_0002/expected.json b/test/fixtures/esprima/expression-additive/migrated_0002/expected.json index e1846ee7d4..685668cc71 100644 --- a/test/fixtures/esprima/expression-additive/migrated_0002/expected.json +++ b/test/fixtures/esprima/expression-additive/migrated_0002/expected.json @@ -78,7 +78,7 @@ }, "operator": "+", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 17, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0000/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0000/expected.json index c55cb13771..712d4fd6c1 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0000/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0000/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 4, "end": 6, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0001/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0001/expected.json index ccef73317a..01bf6f0d71 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0001/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0001/expected.json @@ -74,7 +74,7 @@ "name": "eval" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 9, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0002/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0002/expected.json index 90279da775..691796ca2f 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0002/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0002/expected.json @@ -74,7 +74,7 @@ "name": "arguments" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 14, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0003/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0003/expected.json index 8c50cdf2f0..4a01dfd629 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0003/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0003/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0004/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0004/expected.json index 6c210fd1b6..1382a9b238 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0004/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0004/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0005/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0005/expected.json index 2c333b70e1..e2a6524e00 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0005/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0005/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0006/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0006/expected.json index 53c21fe4d6..3fb8e6a109 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0006/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0006/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0007/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0007/expected.json index abc4cb0406..8b681331b0 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0007/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0007/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0008/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0008/expected.json index 3c8c2893e8..827b99dbe0 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0008/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0008/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 8, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0009/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0009/expected.json index cfa8f98dfa..d27aeea8cc 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0009/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0009/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 8, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0010/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0010/expected.json index ff6f9db71d..ea2c4e00ff 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0010/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0010/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 9, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0011/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0011/expected.json index 3719a7fafe..12db3bd78f 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0011/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0011/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0012/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0012/expected.json index 84a3e7d56e..2b34e74553 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0012/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0012/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/esprima/expression-assignment/migrated_0013/expected.json b/test/fixtures/esprima/expression-assignment/migrated_0013/expected.json index 456765cc37..ef886d2c97 100644 --- a/test/fixtures/esprima/expression-assignment/migrated_0013/expected.json +++ b/test/fixtures/esprima/expression-assignment/migrated_0013/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 7, "loc": { diff --git a/test/fixtures/esprima/expression-conditional/migrated_0000/expected.json b/test/fixtures/esprima/expression-conditional/migrated_0000/expected.json index 0ae6562f5f..11b669b4ea 100644 --- a/test/fixtures/esprima/expression-conditional/migrated_0000/expected.json +++ b/test/fixtures/esprima/expression-conditional/migrated_0000/expected.json @@ -73,7 +73,7 @@ "name": "y" }, "consequent": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 4, "end": 5, "loc": { @@ -93,7 +93,7 @@ "value": 1 }, "alternate": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 9, "loc": { diff --git a/test/fixtures/esprima/expression-conditional/migrated_0001/expected.json b/test/fixtures/esprima/expression-conditional/migrated_0001/expected.json index 5f5e161e69..32682fb46d 100644 --- a/test/fixtures/esprima/expression-conditional/migrated_0001/expected.json +++ b/test/fixtures/esprima/expression-conditional/migrated_0001/expected.json @@ -105,7 +105,7 @@ } }, "consequent": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 10, "loc": { @@ -125,7 +125,7 @@ "value": 1 }, "alternate": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 13, "end": 14, "loc": { diff --git a/test/fixtures/esprima/expression-conditional/migrated_0002/expected.json b/test/fixtures/esprima/expression-conditional/migrated_0002/expected.json index bee8292533..0cbf738808 100644 --- a/test/fixtures/esprima/expression-conditional/migrated_0002/expected.json +++ b/test/fixtures/esprima/expression-conditional/migrated_0002/expected.json @@ -88,7 +88,7 @@ } }, "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 6, "loc": { @@ -109,7 +109,7 @@ "value": 0 }, "consequent": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 11, "loc": { @@ -129,7 +129,7 @@ "value": 1 }, "alternate": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 15, "loc": { diff --git a/test/fixtures/esprima/expression-grouping/migrated_0000/expected.json b/test/fixtures/esprima/expression-grouping/migrated_0000/expected.json index 030722007d..6971eb4e8a 100644 --- a/test/fixtures/esprima/expression-grouping/migrated_0000/expected.json +++ b/test/fixtures/esprima/expression-grouping/migrated_0000/expected.json @@ -71,7 +71,7 @@ } }, "left": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 1, "end": 2, "loc": { @@ -93,7 +93,7 @@ }, "operator": "+", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 8, "loc": { @@ -116,7 +116,7 @@ }, "operator": "+", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 15, "loc": { diff --git a/test/fixtures/esprima/expression-grouping/migrated_0001/expected.json b/test/fixtures/esprima/expression-grouping/migrated_0001/expected.json index dfcea13c9a..8e7823f478 100644 --- a/test/fixtures/esprima/expression-grouping/migrated_0001/expected.json +++ b/test/fixtures/esprima/expression-grouping/migrated_0001/expected.json @@ -71,7 +71,7 @@ } }, "left": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 1, "loc": { @@ -92,7 +92,7 @@ }, "operator": "+", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 4, "end": 5, "loc": { @@ -114,7 +114,7 @@ }, "operator": "<<", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 11, "loc": { diff --git a/test/fixtures/esprima/expression-left-hand-side/migrated_0015/expected.json b/test/fixtures/esprima/expression-left-hand-side/migrated_0015/expected.json index ec68a20ef6..ff93859240 100644 --- a/test/fixtures/esprima/expression-left-hand-side/migrated_0015/expected.json +++ b/test/fixtures/esprima/expression-left-hand-side/migrated_0015/expected.json @@ -87,7 +87,7 @@ "name": "universe" }, "property": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 11, "loc": { diff --git a/test/fixtures/esprima/expression-left-hand-side/migrated_0016/expected.json b/test/fixtures/esprima/expression-left-hand-side/migrated_0016/expected.json index a7a9ccf384..a12ebbfc91 100644 --- a/test/fixtures/esprima/expression-left-hand-side/migrated_0016/expected.json +++ b/test/fixtures/esprima/expression-left-hand-side/migrated_0016/expected.json @@ -88,7 +88,7 @@ }, "arguments": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 11, "loc": { diff --git a/test/fixtures/esprima/expression-left-hand-side/migrated_0017/expected.json b/test/fixtures/esprima/expression-left-hand-side/migrated_0017/expected.json index c94c04107e..a8ceaa9228 100644 --- a/test/fixtures/esprima/expression-left-hand-side/migrated_0017/expected.json +++ b/test/fixtures/esprima/expression-left-hand-side/migrated_0017/expected.json @@ -116,7 +116,7 @@ }, "arguments": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 9, "end": 11, "loc": { @@ -157,7 +157,7 @@ }, "arguments": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 22, "end": 24, "loc": { @@ -177,7 +177,7 @@ "value": 14 }, { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 26, "end": 27, "loc": { @@ -197,7 +197,7 @@ "value": 3 }, { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 29, "end": 31, "loc": { diff --git a/test/fixtures/esprima/expression-left-hand-side/migrated_0018/expected.json b/test/fixtures/esprima/expression-left-hand-side/migrated_0018/expected.json index b7649d92f8..0286b0ea65 100644 --- a/test/fixtures/esprima/expression-left-hand-side/migrated_0018/expected.json +++ b/test/fixtures/esprima/expression-left-hand-side/migrated_0018/expected.json @@ -170,7 +170,7 @@ }, "arguments": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 40, "end": 44, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/.migrated_0250/expected.json b/test/fixtures/esprima/invalid-syntax/.migrated_0250/expected.json index d6b7e5702f..bf9a01a59f 100644 --- a/test/fixtures/esprima/invalid-syntax/.migrated_0250/expected.json +++ b/test/fixtures/esprima/invalid-syntax/.migrated_0250/expected.json @@ -122,7 +122,7 @@ "name": "__proto__" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 17, "end": 19, "loc": { @@ -176,7 +176,7 @@ "name": "__proto__" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 32, "end": 34, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0087/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0087/expected.json index 49f6398459..4d59caecab 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0087/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0087/expected.json @@ -91,7 +91,7 @@ "name": "eval" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 22, "end": 24, "loc": { @@ -111,7 +111,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 29, "end": 31, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0088/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0088/expected.json index 56900a141d..19770d930b 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0088/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0088/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 22, "end": 24, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0089/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0089/expected.json index 3382211829..419236f394 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0089/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0089/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 27, "end": 29, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0090/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0090/expected.json index c06f39c9f0..799a255d29 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0090/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0090/expected.json @@ -94,7 +94,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 27, "end": 29, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0091/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0091/expected.json index 39df05159f..99a2be70b2 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0091/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0091/expected.json @@ -94,7 +94,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 32, "end": 34, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0094/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0094/expected.json index 154fb56eab..46e767a89a 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0094/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0094/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 21, "end": 23, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0100/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0100/expected.json index c444d65091..4846928444 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0100/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0100/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 24, "end": 26, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0185/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0185/expected.json index c791058a75..7616b5c4d0 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0185/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0185/expected.json @@ -122,7 +122,7 @@ "name": "eval" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 43, "end": 45, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0186/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0186/expected.json index d516032ff0..7c7fe68ad2 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0186/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0186/expected.json @@ -122,7 +122,7 @@ "name": "arguments" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 48, "end": 50, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0189/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0189/expected.json index 5df2fc7306..5096320c21 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0189/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0189/expected.json @@ -122,7 +122,7 @@ "name": "eval" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 39, "end": 41, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0190/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0190/expected.json index 936555ec42..6b52d892dd 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0190/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0190/expected.json @@ -122,7 +122,7 @@ "name": "arguments" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 44, "end": 46, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0209/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0209/expected.json index c888aaf947..9abf715af6 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0209/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0209/expected.json @@ -139,7 +139,7 @@ "name": "i" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 38, "end": 40, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0218/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0218/expected.json index 29875fff43..d23924aa07 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0218/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0218/expected.json @@ -91,7 +91,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 33, "end": 36, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0219/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0219/expected.json index 4e77a05f78..0f7be5add6 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0219/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0219/expected.json @@ -141,7 +141,7 @@ "raw": "\"\\1\"" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 42, "end": 44, "loc": { diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0220/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0220/expected.json index 346e059e5f..8bd74936f0 100644 --- a/test/fixtures/esprima/invalid-syntax/migrated_0220/expected.json +++ b/test/fixtures/esprima/invalid-syntax/migrated_0220/expected.json @@ -123,7 +123,7 @@ "shorthand": false, "computed": false, "key": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 36, "end": 39, "loc": { @@ -141,7 +141,7 @@ "raw": "021" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 41, "end": 43, "loc": { diff --git a/test/fixtures/esprima/statement-if/migrated_0002/expected.json b/test/fixtures/esprima/statement-if/migrated_0002/expected.json index 02fd006838..bf2044c42a 100644 --- a/test/fixtures/esprima/statement-if/migrated_0002/expected.json +++ b/test/fixtures/esprima/statement-if/migrated_0002/expected.json @@ -104,7 +104,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 21, "end": 22, "loc": { diff --git a/test/fixtures/esprima/statement-iteration/migrated_0002/expected.json b/test/fixtures/esprima/statement-iteration/migrated_0002/expected.json index 8e9ac0c09e..9814bc6039 100644 --- a/test/fixtures/esprima/statement-iteration/migrated_0002/expected.json +++ b/test/fixtures/esprima/statement-iteration/migrated_0002/expected.json @@ -188,7 +188,7 @@ }, "operator": "<", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 28, "end": 30, "loc": { diff --git a/test/fixtures/esprima/statement-iteration/migrated_0007/expected.json b/test/fixtures/esprima/statement-iteration/migrated_0007/expected.json index 0ca7f0f400..8ca1322823 100644 --- a/test/fixtures/esprima/statement-iteration/migrated_0007/expected.json +++ b/test/fixtures/esprima/statement-iteration/migrated_0007/expected.json @@ -74,7 +74,7 @@ }, "operator": "<", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 13, "loc": { diff --git a/test/fixtures/esprima/statement-iteration/migrated_0010/expected.json b/test/fixtures/esprima/statement-iteration/migrated_0010/expected.json index 3b790cdecf..96e6163073 100644 --- a/test/fixtures/esprima/statement-iteration/migrated_0010/expected.json +++ b/test/fixtures/esprima/statement-iteration/migrated_0010/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 9, "loc": { diff --git a/test/fixtures/esprima/statement-iteration/migrated_0011/expected.json b/test/fixtures/esprima/statement-iteration/migrated_0011/expected.json index e7c1db4ec7..06e23e5726 100644 --- a/test/fixtures/esprima/statement-iteration/migrated_0011/expected.json +++ b/test/fixtures/esprima/statement-iteration/migrated_0011/expected.json @@ -88,7 +88,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { diff --git a/test/fixtures/esprima/statement-iteration/migrated_0012/expected.json b/test/fixtures/esprima/statement-iteration/migrated_0012/expected.json index c6da62d7c5..ced9b7da30 100644 --- a/test/fixtures/esprima/statement-iteration/migrated_0012/expected.json +++ b/test/fixtures/esprima/statement-iteration/migrated_0012/expected.json @@ -88,7 +88,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { diff --git a/test/fixtures/esprima/statement-iteration/migrated_0013/expected.json b/test/fixtures/esprima/statement-iteration/migrated_0013/expected.json index eacbe24384..9703da41dc 100644 --- a/test/fixtures/esprima/statement-iteration/migrated_0013/expected.json +++ b/test/fixtures/esprima/statement-iteration/migrated_0013/expected.json @@ -88,7 +88,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { @@ -139,7 +139,7 @@ "name": "y" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 19, "end": 20, "loc": { diff --git a/test/fixtures/esprima/statement-iteration/migrated_0014/expected.json b/test/fixtures/esprima/statement-iteration/migrated_0014/expected.json index 7f485aaf19..799bca6bd8 100644 --- a/test/fixtures/esprima/statement-iteration/migrated_0014/expected.json +++ b/test/fixtures/esprima/statement-iteration/migrated_0014/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 9, "loc": { @@ -126,7 +126,7 @@ }, "operator": "<", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 17, "loc": { diff --git a/test/fixtures/esprima/statement-iteration/migrated_0015/expected.json b/test/fixtures/esprima/statement-iteration/migrated_0015/expected.json index 0c6bf2a092..bab630bd14 100644 --- a/test/fixtures/esprima/statement-iteration/migrated_0015/expected.json +++ b/test/fixtures/esprima/statement-iteration/migrated_0015/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 9, "loc": { @@ -126,7 +126,7 @@ }, "operator": "<", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 17, "loc": { diff --git a/test/fixtures/esprima/statement-iteration/migrated_0016/expected.json b/test/fixtures/esprima/statement-iteration/migrated_0016/expected.json index 586cbf67f5..88e0fa1c9f 100644 --- a/test/fixtures/esprima/statement-iteration/migrated_0016/expected.json +++ b/test/fixtures/esprima/statement-iteration/migrated_0016/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 9, "loc": { @@ -126,7 +126,7 @@ }, "operator": "<", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 17, "loc": { diff --git a/test/fixtures/esprima/statement-iteration/migrated_0025/expected.json b/test/fixtures/esprima/statement-iteration/migrated_0025/expected.json index 1f99f8deed..c0f69f2729 100644 --- a/test/fixtures/esprima/statement-iteration/migrated_0025/expected.json +++ b/test/fixtures/esprima/statement-iteration/migrated_0025/expected.json @@ -138,7 +138,7 @@ ] }, "property": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 16, "loc": { diff --git a/test/fixtures/esprima/statement-switch/migrated_0001/expected.json b/test/fixtures/esprima/statement-switch/migrated_0001/expected.json index 6251d143ae..54b7c12792 100644 --- a/test/fixtures/esprima/statement-switch/migrated_0001/expected.json +++ b/test/fixtures/esprima/statement-switch/migrated_0001/expected.json @@ -139,7 +139,7 @@ } ], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 25, "loc": { diff --git a/test/fixtures/esprima/statement-switch/migrated_0002/expected.json b/test/fixtures/esprima/statement-switch/migrated_0002/expected.json index 96908f65a6..ce967090f0 100644 --- a/test/fixtures/esprima/statement-switch/migrated_0002/expected.json +++ b/test/fixtures/esprima/statement-switch/migrated_0002/expected.json @@ -139,7 +139,7 @@ } ], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 25, "loc": { diff --git a/test/fixtures/esprima/statement-variable/migrated_0002/expected.json b/test/fixtures/esprima/statement-variable/migrated_0002/expected.json index 1050401744..fceb7088d9 100644 --- a/test/fixtures/esprima/statement-variable/migrated_0002/expected.json +++ b/test/fixtures/esprima/statement-variable/migrated_0002/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { diff --git a/test/fixtures/esprima/statement-variable/migrated_0003/expected.json b/test/fixtures/esprima/statement-variable/migrated_0003/expected.json index a1ed3e4b37..0937c1b68d 100644 --- a/test/fixtures/esprima/statement-variable/migrated_0003/expected.json +++ b/test/fixtures/esprima/statement-variable/migrated_0003/expected.json @@ -74,7 +74,7 @@ "name": "eval" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 13, "loc": { @@ -125,7 +125,7 @@ "name": "arguments" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 27, "end": 29, "loc": { diff --git a/test/fixtures/esprima/statement-variable/migrated_0004/expected.json b/test/fixtures/esprima/statement-variable/migrated_0004/expected.json index db6e0fba4c..4c14f501ea 100644 --- a/test/fixtures/esprima/statement-variable/migrated_0004/expected.json +++ b/test/fixtures/esprima/statement-variable/migrated_0004/expected.json @@ -74,7 +74,7 @@ "name": "x" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { @@ -125,7 +125,7 @@ "name": "y" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 16, "end": 17, "loc": { @@ -176,7 +176,7 @@ "name": "z" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 27, "loc": { diff --git a/test/fixtures/experimental/uncategorised/21/expected.json b/test/fixtures/experimental/uncategorised/21/expected.json index 05a0c068cb..1319a5f9a5 100644 --- a/test/fixtures/experimental/uncategorised/21/expected.json +++ b/test/fixtures/experimental/uncategorised/21/expected.json @@ -122,7 +122,7 @@ "name": "a" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 13, "end": 14, "loc": { diff --git a/test/fixtures/experimental/uncategorised/26/expected.json b/test/fixtures/experimental/uncategorised/26/expected.json index c39596f9e3..f427340e7c 100644 --- a/test/fixtures/experimental/uncategorised/26/expected.json +++ b/test/fixtures/experimental/uncategorised/26/expected.json @@ -121,7 +121,7 @@ }, "arguments": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 12, "loc": { @@ -141,7 +141,7 @@ "value": 1 }, { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 15, "loc": { diff --git a/test/fixtures/experimental/uncategorised/28/expected.json b/test/fixtures/experimental/uncategorised/28/expected.json index 19adb39a8e..8c6bec9861 100644 --- a/test/fixtures/experimental/uncategorised/28/expected.json +++ b/test/fixtures/experimental/uncategorised/28/expected.json @@ -171,7 +171,7 @@ "name": "async" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 33, "end": 35, "loc": { diff --git a/test/fixtures/experimental/uncategorised/3/expected.json b/test/fixtures/experimental/uncategorised/3/expected.json index d6362bdbed..b5656e2456 100644 --- a/test/fixtures/experimental/uncategorised/3/expected.json +++ b/test/fixtures/experimental/uncategorised/3/expected.json @@ -74,7 +74,7 @@ "name": "a" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 7, "loc": { diff --git a/test/fixtures/experimental/uncategorised/4/expected.json b/test/fixtures/experimental/uncategorised/4/expected.json index 43b7675cb2..0df9404a78 100644 --- a/test/fixtures/experimental/uncategorised/4/expected.json +++ b/test/fixtures/experimental/uncategorised/4/expected.json @@ -88,7 +88,7 @@ } }, "left": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 15, "loc": { @@ -109,7 +109,7 @@ }, "operator": "**", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 19, "end": 20, "loc": { diff --git a/test/fixtures/experimental/uncategorised/5/expected.json b/test/fixtures/experimental/uncategorised/5/expected.json index a90eceb9de..e8ad51d1b7 100644 --- a/test/fixtures/experimental/uncategorised/5/expected.json +++ b/test/fixtures/experimental/uncategorised/5/expected.json @@ -57,7 +57,7 @@ } }, "left": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 1, "loc": { @@ -92,7 +92,7 @@ } }, "left": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 7, "loc": { @@ -113,7 +113,7 @@ }, "operator": "**", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 12, "loc": { diff --git a/test/fixtures/experimental/uncategorised/55/expected.json b/test/fixtures/experimental/uncategorised/55/expected.json index 1616be3690..e4e327f6b7 100644 --- a/test/fixtures/experimental/uncategorised/55/expected.json +++ b/test/fixtures/experimental/uncategorised/55/expected.json @@ -110,7 +110,7 @@ "value": "=" }, { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { diff --git a/test/fixtures/experimental/uncategorised/58/expected.json b/test/fixtures/experimental/uncategorised/58/expected.json index e6a73fb255..74c2247c3f 100644 --- a/test/fixtures/experimental/uncategorised/58/expected.json +++ b/test/fixtures/experimental/uncategorised/58/expected.json @@ -94,7 +94,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { diff --git a/test/fixtures/experimental/uncategorised/6/expected.json b/test/fixtures/experimental/uncategorised/6/expected.json index 755abf8daa..41b3bf8171 100644 --- a/test/fixtures/experimental/uncategorised/6/expected.json +++ b/test/fixtures/experimental/uncategorised/6/expected.json @@ -57,7 +57,7 @@ } }, "left": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 1, "loc": { @@ -92,7 +92,7 @@ } }, "left": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 5, "end": 6, "loc": { @@ -113,7 +113,7 @@ }, "operator": "**", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 11, "loc": { diff --git a/test/fixtures/experimental/uncategorised/7/expected.json b/test/fixtures/experimental/uncategorised/7/expected.json index b07c383c1c..f61979779e 100644 --- a/test/fixtures/experimental/uncategorised/7/expected.json +++ b/test/fixtures/experimental/uncategorised/7/expected.json @@ -71,7 +71,7 @@ } }, "left": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 1, "end": 2, "loc": { @@ -108,7 +108,7 @@ "operator": "-", "prefix": true, "argument": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 8, "loc": { @@ -134,7 +134,7 @@ }, "operator": "*", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { diff --git a/test/fixtures/experimental/uncategorised/8/expected.json b/test/fixtures/experimental/uncategorised/8/expected.json index 71d29e12cf..154543b04b 100644 --- a/test/fixtures/experimental/uncategorised/8/expected.json +++ b/test/fixtures/experimental/uncategorised/8/expected.json @@ -71,7 +71,7 @@ } }, "left": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 1, "loc": { @@ -108,7 +108,7 @@ "operator": "-", "prefix": true, "argument": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 7, "loc": { @@ -131,7 +131,7 @@ }, "operator": "*", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 11, "loc": { diff --git a/test/fixtures/flow/literal-types/number-binary/expected.json b/test/fixtures/flow/literal-types/number-binary/expected.json index 2f0fde7e23..44d455a56d 100644 --- a/test/fixtures/flow/literal-types/number-binary/expected.json +++ b/test/fixtures/flow/literal-types/number-binary/expected.json @@ -87,7 +87,7 @@ } }, "typeAnnotation": { - "type": "NumberLiteralTypeAnnotation", + "type": "NumericLiteralTypeAnnotation", "start": 7, "end": 16, "loc": { diff --git a/test/fixtures/flow/literal-types/number-float/expected.json b/test/fixtures/flow/literal-types/number-float/expected.json index 3b07b2d152..4cdb637a55 100644 --- a/test/fixtures/flow/literal-types/number-float/expected.json +++ b/test/fixtures/flow/literal-types/number-float/expected.json @@ -87,7 +87,7 @@ } }, "typeAnnotation": { - "type": "NumberLiteralTypeAnnotation", + "type": "NumericLiteralTypeAnnotation", "start": 7, "end": 12, "loc": { diff --git a/test/fixtures/flow/literal-types/number-integer/expected.json b/test/fixtures/flow/literal-types/number-integer/expected.json index dd2263c75e..9b9a6da608 100644 --- a/test/fixtures/flow/literal-types/number-integer/expected.json +++ b/test/fixtures/flow/literal-types/number-integer/expected.json @@ -87,7 +87,7 @@ } }, "typeAnnotation": { - "type": "NumberLiteralTypeAnnotation", + "type": "NumericLiteralTypeAnnotation", "start": 7, "end": 10, "loc": { diff --git a/test/fixtures/flow/literal-types/number-octal-2/expected.json b/test/fixtures/flow/literal-types/number-octal-2/expected.json index f57f036c6e..7c7b41adc3 100644 --- a/test/fixtures/flow/literal-types/number-octal-2/expected.json +++ b/test/fixtures/flow/literal-types/number-octal-2/expected.json @@ -87,7 +87,7 @@ } }, "typeAnnotation": { - "type": "NumberLiteralTypeAnnotation", + "type": "NumericLiteralTypeAnnotation", "start": 7, "end": 12, "loc": { diff --git a/test/fixtures/flow/literal-types/number-octal/expected.json b/test/fixtures/flow/literal-types/number-octal/expected.json index bd69b4d140..608b0731b2 100644 --- a/test/fixtures/flow/literal-types/number-octal/expected.json +++ b/test/fixtures/flow/literal-types/number-octal/expected.json @@ -87,7 +87,7 @@ } }, "typeAnnotation": { - "type": "NumberLiteralTypeAnnotation", + "type": "NumericLiteralTypeAnnotation", "start": 7, "end": 11, "loc": { diff --git a/test/fixtures/flow/regression/issue-2083/expected.json b/test/fixtures/flow/regression/issue-2083/expected.json index 9fc301b2fd..9b59a8861e 100644 --- a/test/fixtures/flow/regression/issue-2083/expected.json +++ b/test/fixtures/flow/regression/issue-2083/expected.json @@ -142,7 +142,7 @@ } }, "discriminant": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 34, "end": 35, "loc": { @@ -412,7 +412,7 @@ }, "operator": "<<", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 144, "end": 145, "loc": { diff --git a/test/fixtures/flow/tuples/3/expected.json b/test/fixtures/flow/tuples/3/expected.json index 0febab6ded..175fca2fdf 100644 --- a/test/fixtures/flow/tuples/3/expected.json +++ b/test/fixtures/flow/tuples/3/expected.json @@ -136,7 +136,7 @@ }, "elements": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 21, "end": 24, "loc": { diff --git a/test/fixtures/flow/tuples/4/expected.json b/test/fixtures/flow/tuples/4/expected.json index 4834619f1a..5a29b26f34 100644 --- a/test/fixtures/flow/tuples/4/expected.json +++ b/test/fixtures/flow/tuples/4/expected.json @@ -151,7 +151,7 @@ }, "elements": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 28, "end": 31, "loc": { diff --git a/test/fixtures/flow/type-annotations/26/expected.json b/test/fixtures/flow/type-annotations/26/expected.json index 32323b6fb7..56e3d8cf10 100644 --- a/test/fixtures/flow/type-annotations/26/expected.json +++ b/test/fixtures/flow/type-annotations/26/expected.json @@ -106,7 +106,7 @@ "shorthand": false, "computed": false, "key": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 3, "end": 6, "loc": { diff --git a/test/fixtures/flow/type-annotations/44/expected.json b/test/fixtures/flow/type-annotations/44/expected.json index ef5ec6c1fb..fe5e161b5b 100644 --- a/test/fixtures/flow/type-annotations/44/expected.json +++ b/test/fixtures/flow/type-annotations/44/expected.json @@ -167,7 +167,7 @@ }, "elements": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 24, "loc": { @@ -187,7 +187,7 @@ "value": 1 }, { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 26, "end": 27, "loc": { @@ -207,7 +207,7 @@ "value": 2 }, { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 29, "end": 30, "loc": { diff --git a/test/fixtures/flow/type-annotations/50/expected.json b/test/fixtures/flow/type-annotations/50/expected.json index 836b93e825..29a8594bc5 100644 --- a/test/fixtures/flow/type-annotations/50/expected.json +++ b/test/fixtures/flow/type-annotations/50/expected.json @@ -238,7 +238,7 @@ } }, "argument": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 40, "end": 42, "loc": { diff --git a/test/fixtures/flow/type-annotations/55/expected.json b/test/fixtures/flow/type-annotations/55/expected.json index 739d25f879..5bc636b4dc 100644 --- a/test/fixtures/flow/type-annotations/55/expected.json +++ b/test/fixtures/flow/type-annotations/55/expected.json @@ -136,7 +136,7 @@ } }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 26, "end": 27, "loc": { diff --git a/test/fixtures/flow/typecasts/2/expected.json b/test/fixtures/flow/typecasts/2/expected.json index 79b652ae59..e460111773 100644 --- a/test/fixtures/flow/typecasts/2/expected.json +++ b/test/fixtures/flow/typecasts/2/expected.json @@ -105,7 +105,7 @@ "name": "xxx" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 8, "loc": { diff --git a/test/fixtures/flow/typecasts/3/expected.json b/test/fixtures/flow/typecasts/3/expected.json index 13303dc1d3..ff1d6fa436 100644 --- a/test/fixtures/flow/typecasts/3/expected.json +++ b/test/fixtures/flow/typecasts/3/expected.json @@ -123,7 +123,7 @@ }, "operator": "+", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 16, "end": 17, "loc": { diff --git a/test/fixtures/harmony/uncategorised/.348/expected.json b/test/fixtures/harmony/uncategorised/.348/expected.json index a90d6d7108..13c61354ae 100644 --- a/test/fixtures/harmony/uncategorised/.348/expected.json +++ b/test/fixtures/harmony/uncategorised/.348/expected.json @@ -91,7 +91,7 @@ "name": "__proto__" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 15, "loc": { @@ -145,7 +145,7 @@ "name": "__proto__" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 28, "end": 29, "loc": { diff --git a/test/fixtures/harmony/uncategorised/.349/expected.json b/test/fixtures/harmony/uncategorised/.349/expected.json index 0ea21db861..dab5700b94 100644 --- a/test/fixtures/harmony/uncategorised/.349/expected.json +++ b/test/fixtures/harmony/uncategorised/.349/expected.json @@ -93,7 +93,7 @@ "raw": "'__proto__'" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 16, "end": 17, "loc": { @@ -146,7 +146,7 @@ "name": "__proto__" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 30, "end": 31, "loc": { diff --git a/test/fixtures/harmony/uncategorised/10/expected.json b/test/fixtures/harmony/uncategorised/10/expected.json index 742740cf25..cf4bc20a79 100644 --- a/test/fixtures/harmony/uncategorised/10/expected.json +++ b/test/fixtures/harmony/uncategorised/10/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/harmony/uncategorised/106/expected.json b/test/fixtures/harmony/uncategorised/106/expected.json index f5ac697314..375a738193 100644 --- a/test/fixtures/harmony/uncategorised/106/expected.json +++ b/test/fixtures/harmony/uncategorised/106/expected.json @@ -120,7 +120,7 @@ }, "delegate": false, "argument": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 28, "end": 30, "loc": { diff --git a/test/fixtures/harmony/uncategorised/11/expected.json b/test/fixtures/harmony/uncategorised/11/expected.json index 360fcb62c6..0ea86158f3 100644 --- a/test/fixtures/harmony/uncategorised/11/expected.json +++ b/test/fixtures/harmony/uncategorised/11/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 4, "loc": { diff --git a/test/fixtures/harmony/uncategorised/12/expected.json b/test/fixtures/harmony/uncategorised/12/expected.json index 8e5a64d7e3..a7a02b8cb3 100644 --- a/test/fixtures/harmony/uncategorised/12/expected.json +++ b/test/fixtures/harmony/uncategorised/12/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/harmony/uncategorised/13/expected.json b/test/fixtures/harmony/uncategorised/13/expected.json index 869a4573f6..62104f0d78 100644 --- a/test/fixtures/harmony/uncategorised/13/expected.json +++ b/test/fixtures/harmony/uncategorised/13/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/harmony/uncategorised/14/expected.json b/test/fixtures/harmony/uncategorised/14/expected.json index 946f9be4db..30bc725719 100644 --- a/test/fixtures/harmony/uncategorised/14/expected.json +++ b/test/fixtures/harmony/uncategorised/14/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 4, "loc": { diff --git a/test/fixtures/harmony/uncategorised/141/expected.json b/test/fixtures/harmony/uncategorised/141/expected.json index fe8be3d209..d5c3f29651 100644 --- a/test/fixtures/harmony/uncategorised/141/expected.json +++ b/test/fixtures/harmony/uncategorised/141/expected.json @@ -91,7 +91,7 @@ "name": "x" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 9, "loc": { diff --git a/test/fixtures/harmony/uncategorised/142/expected.json b/test/fixtures/harmony/uncategorised/142/expected.json index 83f683e3eb..f32ac33468 100644 --- a/test/fixtures/harmony/uncategorised/142/expected.json +++ b/test/fixtures/harmony/uncategorised/142/expected.json @@ -131,7 +131,7 @@ } }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 17, "loc": { diff --git a/test/fixtures/harmony/uncategorised/144/expected.json b/test/fixtures/harmony/uncategorised/144/expected.json index c054f5cc59..50af14c530 100644 --- a/test/fixtures/harmony/uncategorised/144/expected.json +++ b/test/fixtures/harmony/uncategorised/144/expected.json @@ -91,7 +91,7 @@ "name": "x" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 9, "loc": { @@ -145,7 +145,7 @@ "name": "y" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 16, "loc": { diff --git a/test/fixtures/harmony/uncategorised/15/expected.json b/test/fixtures/harmony/uncategorised/15/expected.json index 50c71c2d94..b9f971dc40 100644 --- a/test/fixtures/harmony/uncategorised/15/expected.json +++ b/test/fixtures/harmony/uncategorised/15/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/harmony/uncategorised/152/expected.json b/test/fixtures/harmony/uncategorised/152/expected.json index 0a09df6992..19aeb74f7d 100644 --- a/test/fixtures/harmony/uncategorised/152/expected.json +++ b/test/fixtures/harmony/uncategorised/152/expected.json @@ -124,7 +124,7 @@ }, "elements": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 18, "end": 19, "loc": { diff --git a/test/fixtures/harmony/uncategorised/153/expected.json b/test/fixtures/harmony/uncategorised/153/expected.json index 898db20cdc..2d01d0b275 100644 --- a/test/fixtures/harmony/uncategorised/153/expected.json +++ b/test/fixtures/harmony/uncategorised/153/expected.json @@ -191,7 +191,7 @@ "name": "x" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 21, "end": 23, "loc": { diff --git a/test/fixtures/harmony/uncategorised/154/expected.json b/test/fixtures/harmony/uncategorised/154/expected.json index 00d6e9bd9a..371e5cb174 100644 --- a/test/fixtures/harmony/uncategorised/154/expected.json +++ b/test/fixtures/harmony/uncategorised/154/expected.json @@ -221,7 +221,7 @@ "name": "x" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 25, "loc": { diff --git a/test/fixtures/harmony/uncategorised/155/expected.json b/test/fixtures/harmony/uncategorised/155/expected.json index 648cc628d4..8ba65a825d 100644 --- a/test/fixtures/harmony/uncategorised/155/expected.json +++ b/test/fixtures/harmony/uncategorised/155/expected.json @@ -238,7 +238,7 @@ "name": "x" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 24, "end": 26, "loc": { diff --git a/test/fixtures/harmony/uncategorised/156/expected.json b/test/fixtures/harmony/uncategorised/156/expected.json index ff433a7001..44938263b8 100644 --- a/test/fixtures/harmony/uncategorised/156/expected.json +++ b/test/fixtures/harmony/uncategorised/156/expected.json @@ -225,7 +225,7 @@ "name": "x" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 16, "loc": { diff --git a/test/fixtures/harmony/uncategorised/157/expected.json b/test/fixtures/harmony/uncategorised/157/expected.json index 16c419f612..247de16217 100644 --- a/test/fixtures/harmony/uncategorised/157/expected.json +++ b/test/fixtures/harmony/uncategorised/157/expected.json @@ -240,7 +240,7 @@ "name": "x" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 20, "end": 22, "loc": { diff --git a/test/fixtures/harmony/uncategorised/158/expected.json b/test/fixtures/harmony/uncategorised/158/expected.json index f37f65a5de..f5d344c43a 100644 --- a/test/fixtures/harmony/uncategorised/158/expected.json +++ b/test/fixtures/harmony/uncategorised/158/expected.json @@ -190,7 +190,7 @@ "name": "x" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 14, "loc": { diff --git a/test/fixtures/harmony/uncategorised/159/expected.json b/test/fixtures/harmony/uncategorised/159/expected.json index 3799c4ee35..62a790d784 100644 --- a/test/fixtures/harmony/uncategorised/159/expected.json +++ b/test/fixtures/harmony/uncategorised/159/expected.json @@ -122,7 +122,7 @@ "name": "y" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 17, "end": 18, "loc": { diff --git a/test/fixtures/harmony/uncategorised/16/expected.json b/test/fixtures/harmony/uncategorised/16/expected.json index 94253b3ff7..0f164601cf 100644 --- a/test/fixtures/harmony/uncategorised/16/expected.json +++ b/test/fixtures/harmony/uncategorised/16/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/harmony/uncategorised/160/expected.json b/test/fixtures/harmony/uncategorised/160/expected.json index b922dc9f54..b6a422f551 100644 --- a/test/fixtures/harmony/uncategorised/160/expected.json +++ b/test/fixtures/harmony/uncategorised/160/expected.json @@ -92,7 +92,7 @@ "name": "a" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 16, "loc": { diff --git a/test/fixtures/harmony/uncategorised/161/expected.json b/test/fixtures/harmony/uncategorised/161/expected.json index 64c3b49fae..71590f27e6 100644 --- a/test/fixtures/harmony/uncategorised/161/expected.json +++ b/test/fixtures/harmony/uncategorised/161/expected.json @@ -170,7 +170,7 @@ "name": "a" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 20, "end": 21, "loc": { diff --git a/test/fixtures/harmony/uncategorised/162/expected.json b/test/fixtures/harmony/uncategorised/162/expected.json index 324d763163..a1ce797365 100644 --- a/test/fixtures/harmony/uncategorised/162/expected.json +++ b/test/fixtures/harmony/uncategorised/162/expected.json @@ -157,7 +157,7 @@ "name": "a" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 11, "loc": { diff --git a/test/fixtures/harmony/uncategorised/17/expected.json b/test/fixtures/harmony/uncategorised/17/expected.json index 5a539443cf..ce00cd0583 100644 --- a/test/fixtures/harmony/uncategorised/17/expected.json +++ b/test/fixtures/harmony/uncategorised/17/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 4, "loc": { diff --git a/test/fixtures/harmony/uncategorised/195/expected.json b/test/fixtures/harmony/uncategorised/195/expected.json index 908ecf8753..3665749fef 100644 --- a/test/fixtures/harmony/uncategorised/195/expected.json +++ b/test/fixtures/harmony/uncategorised/195/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 0, "end": 8, "loc": { diff --git a/test/fixtures/harmony/uncategorised/196/expected.json b/test/fixtures/harmony/uncategorised/196/expected.json index 04066b5458..382d60aae7 100644 --- a/test/fixtures/harmony/uncategorised/196/expected.json +++ b/test/fixtures/harmony/uncategorised/196/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 0, "end": 33, "loc": { diff --git a/test/fixtures/harmony/uncategorised/227/expected.json b/test/fixtures/harmony/uncategorised/227/expected.json index df800e90dc..a1b9463810 100644 --- a/test/fixtures/harmony/uncategorised/227/expected.json +++ b/test/fixtures/harmony/uncategorised/227/expected.json @@ -139,7 +139,7 @@ "name": "i" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 38, "end": 40, "loc": { diff --git a/test/fixtures/harmony/uncategorised/242/expected.json b/test/fixtures/harmony/uncategorised/242/expected.json index 49f6398459..4d59caecab 100644 --- a/test/fixtures/harmony/uncategorised/242/expected.json +++ b/test/fixtures/harmony/uncategorised/242/expected.json @@ -91,7 +91,7 @@ "name": "eval" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 22, "end": 24, "loc": { @@ -111,7 +111,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 29, "end": 31, "loc": { diff --git a/test/fixtures/harmony/uncategorised/243/expected.json b/test/fixtures/harmony/uncategorised/243/expected.json index 56900a141d..19770d930b 100644 --- a/test/fixtures/harmony/uncategorised/243/expected.json +++ b/test/fixtures/harmony/uncategorised/243/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 22, "end": 24, "loc": { diff --git a/test/fixtures/harmony/uncategorised/244/expected.json b/test/fixtures/harmony/uncategorised/244/expected.json index 3382211829..419236f394 100644 --- a/test/fixtures/harmony/uncategorised/244/expected.json +++ b/test/fixtures/harmony/uncategorised/244/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 27, "end": 29, "loc": { diff --git a/test/fixtures/harmony/uncategorised/245/expected.json b/test/fixtures/harmony/uncategorised/245/expected.json index c06f39c9f0..799a255d29 100644 --- a/test/fixtures/harmony/uncategorised/245/expected.json +++ b/test/fixtures/harmony/uncategorised/245/expected.json @@ -94,7 +94,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 27, "end": 29, "loc": { diff --git a/test/fixtures/harmony/uncategorised/246/expected.json b/test/fixtures/harmony/uncategorised/246/expected.json index 39df05159f..99a2be70b2 100644 --- a/test/fixtures/harmony/uncategorised/246/expected.json +++ b/test/fixtures/harmony/uncategorised/246/expected.json @@ -94,7 +94,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 32, "end": 34, "loc": { diff --git a/test/fixtures/harmony/uncategorised/247/expected.json b/test/fixtures/harmony/uncategorised/247/expected.json index ab7e964fd0..96a6db7cc4 100644 --- a/test/fixtures/harmony/uncategorised/247/expected.json +++ b/test/fixtures/harmony/uncategorised/247/expected.json @@ -107,7 +107,7 @@ "name": "a" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 25, "end": 27, "loc": { @@ -127,7 +127,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 32, "end": 34, "loc": { diff --git a/test/fixtures/harmony/uncategorised/249/expected.json b/test/fixtures/harmony/uncategorised/249/expected.json index 154fb56eab..46e767a89a 100644 --- a/test/fixtures/harmony/uncategorised/249/expected.json +++ b/test/fixtures/harmony/uncategorised/249/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 21, "end": 23, "loc": { diff --git a/test/fixtures/harmony/uncategorised/256/expected.json b/test/fixtures/harmony/uncategorised/256/expected.json index 04ca39f3c8..2420931359 100644 --- a/test/fixtures/harmony/uncategorised/256/expected.json +++ b/test/fixtures/harmony/uncategorised/256/expected.json @@ -74,7 +74,7 @@ }, "operator": "*", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 9, "loc": { diff --git a/test/fixtures/harmony/uncategorised/257/expected.json b/test/fixtures/harmony/uncategorised/257/expected.json index e424fec694..86d0362c7a 100644 --- a/test/fixtures/harmony/uncategorised/257/expected.json +++ b/test/fixtures/harmony/uncategorised/257/expected.json @@ -109,7 +109,7 @@ }, "operator": "*", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 14, "loc": { diff --git a/test/fixtures/harmony/uncategorised/259/expected.json b/test/fixtures/harmony/uncategorised/259/expected.json index 8dbb933a6c..4984077118 100644 --- a/test/fixtures/harmony/uncategorised/259/expected.json +++ b/test/fixtures/harmony/uncategorised/259/expected.json @@ -121,7 +121,7 @@ }, "operator": "*", "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 22, "end": 24, "loc": { diff --git a/test/fixtures/harmony/uncategorised/26/expected.json b/test/fixtures/harmony/uncategorised/26/expected.json index c14ff21a76..bf79d99f09 100644 --- a/test/fixtures/harmony/uncategorised/26/expected.json +++ b/test/fixtures/harmony/uncategorised/26/expected.json @@ -154,7 +154,7 @@ "name": "y" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 16, "end": 18, "loc": { @@ -242,7 +242,7 @@ } }, "argument": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 53, "end": 54, "loc": { diff --git a/test/fixtures/harmony/uncategorised/27/expected.json b/test/fixtures/harmony/uncategorised/27/expected.json index 2d90f27140..929eaa9eab 100644 --- a/test/fixtures/harmony/uncategorised/27/expected.json +++ b/test/fixtures/harmony/uncategorised/27/expected.json @@ -120,7 +120,7 @@ "name": "t" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 35, "end": 37, "loc": { @@ -161,7 +161,7 @@ } ], "test": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 25, "loc": { diff --git a/test/fixtures/harmony/uncategorised/296/expected.json b/test/fixtures/harmony/uncategorised/296/expected.json index c444d65091..4846928444 100644 --- a/test/fixtures/harmony/uncategorised/296/expected.json +++ b/test/fixtures/harmony/uncategorised/296/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 24, "end": 26, "loc": { diff --git a/test/fixtures/harmony/uncategorised/3/expected.json b/test/fixtures/harmony/uncategorised/3/expected.json index bcf619d9dd..6c84b265b0 100644 --- a/test/fixtures/harmony/uncategorised/3/expected.json +++ b/test/fixtures/harmony/uncategorised/3/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 2, "loc": { diff --git a/test/fixtures/harmony/uncategorised/300/expected.json b/test/fixtures/harmony/uncategorised/300/expected.json index 5cdf1b449d..928d53b6a0 100644 --- a/test/fixtures/harmony/uncategorised/300/expected.json +++ b/test/fixtures/harmony/uncategorised/300/expected.json @@ -108,7 +108,7 @@ "name": "y" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 23, "end": 25, "loc": { diff --git a/test/fixtures/harmony/uncategorised/307/expected.json b/test/fixtures/harmony/uncategorised/307/expected.json index 66529d6cc5..17da2fe775 100644 --- a/test/fixtures/harmony/uncategorised/307/expected.json +++ b/test/fixtures/harmony/uncategorised/307/expected.json @@ -136,7 +136,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 7, "loc": { diff --git a/test/fixtures/harmony/uncategorised/308/expected.json b/test/fixtures/harmony/uncategorised/308/expected.json index 0b996626b8..1b90586b94 100644 --- a/test/fixtures/harmony/uncategorised/308/expected.json +++ b/test/fixtures/harmony/uncategorised/308/expected.json @@ -139,7 +139,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 6, "end": 7, "loc": { diff --git a/test/fixtures/harmony/uncategorised/309/expected.json b/test/fixtures/harmony/uncategorised/309/expected.json index a5c0d5db68..fa310c051a 100644 --- a/test/fixtures/harmony/uncategorised/309/expected.json +++ b/test/fixtures/harmony/uncategorised/309/expected.json @@ -215,7 +215,7 @@ "name": "c" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 13, "end": 14, "loc": { diff --git a/test/fixtures/harmony/uncategorised/310/expected.json b/test/fixtures/harmony/uncategorised/310/expected.json index d58ddf8b31..3c759ccbfc 100644 --- a/test/fixtures/harmony/uncategorised/310/expected.json +++ b/test/fixtures/harmony/uncategorised/310/expected.json @@ -121,7 +121,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 11, "loc": { diff --git a/test/fixtures/harmony/uncategorised/317/expected.json b/test/fixtures/harmony/uncategorised/317/expected.json index 69257a35a5..96d4c0c179 100644 --- a/test/fixtures/harmony/uncategorised/317/expected.json +++ b/test/fixtures/harmony/uncategorised/317/expected.json @@ -100,7 +100,7 @@ } }, "object": { - "type": "RegexLiteral", + "type": "RegExpLiteral", "start": 3, "end": 7, "loc": { @@ -161,7 +161,7 @@ ] }, "property": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 18, "end": 19, "loc": { diff --git a/test/fixtures/harmony/uncategorised/318/expected.json b/test/fixtures/harmony/uncategorised/318/expected.json index becd7dd80d..7120ba7201 100644 --- a/test/fixtures/harmony/uncategorised/318/expected.json +++ b/test/fixtures/harmony/uncategorised/318/expected.json @@ -74,7 +74,7 @@ "name": "_𐒦" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 12, "loc": { diff --git a/test/fixtures/harmony/uncategorised/319/expected.json b/test/fixtures/harmony/uncategorised/319/expected.json index 63f3b5c58b..8c74c8dbfb 100644 --- a/test/fixtures/harmony/uncategorised/319/expected.json +++ b/test/fixtures/harmony/uncategorised/319/expected.json @@ -74,7 +74,7 @@ "name": "_𐒦" }, "init": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 17, "end": 19, "loc": { diff --git a/test/fixtures/harmony/uncategorised/32/expected.json b/test/fixtures/harmony/uncategorised/32/expected.json index a6acfabee4..5644e19a05 100644 --- a/test/fixtures/harmony/uncategorised/32/expected.json +++ b/test/fixtures/harmony/uncategorised/32/expected.json @@ -107,7 +107,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 9, "loc": { diff --git a/test/fixtures/harmony/uncategorised/320/expected.json b/test/fixtures/harmony/uncategorised/320/expected.json index 95f406a78c..e314fc139a 100644 --- a/test/fixtures/harmony/uncategorised/320/expected.json +++ b/test/fixtures/harmony/uncategorised/320/expected.json @@ -106,7 +106,7 @@ }, "elements": [ { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 13, "loc": { diff --git a/test/fixtures/harmony/uncategorised/322/expected.json b/test/fixtures/harmony/uncategorised/322/expected.json index c3bfc6c465..c8d11ad5e5 100644 --- a/test/fixtures/harmony/uncategorised/322/expected.json +++ b/test/fixtures/harmony/uncategorised/322/expected.json @@ -92,7 +92,7 @@ ] }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 9, "loc": { diff --git a/test/fixtures/harmony/uncategorised/33/expected.json b/test/fixtures/harmony/uncategorised/33/expected.json index 8025e7a342..d79ff6492c 100644 --- a/test/fixtures/harmony/uncategorised/33/expected.json +++ b/test/fixtures/harmony/uncategorised/33/expected.json @@ -126,7 +126,7 @@ "name": "property" }, "value": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 18, "end": 20, "loc": { diff --git a/test/fixtures/harmony/uncategorised/34/expected.json b/test/fixtures/harmony/uncategorised/34/expected.json index fe17cfad68..a7d846ffb6 100644 --- a/test/fixtures/harmony/uncategorised/34/expected.json +++ b/test/fixtures/harmony/uncategorised/34/expected.json @@ -121,7 +121,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 16, "loc": { diff --git a/test/fixtures/harmony/uncategorised/35/expected.json b/test/fixtures/harmony/uncategorised/35/expected.json index 59f0dbf100..8eea5108a9 100644 --- a/test/fixtures/harmony/uncategorised/35/expected.json +++ b/test/fixtures/harmony/uncategorised/35/expected.json @@ -123,7 +123,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 12, "end": 14, "loc": { diff --git a/test/fixtures/harmony/uncategorised/36/expected.json b/test/fixtures/harmony/uncategorised/36/expected.json index d9a7158baa..af79a9f970 100644 --- a/test/fixtures/harmony/uncategorised/36/expected.json +++ b/test/fixtures/harmony/uncategorised/36/expected.json @@ -112,7 +112,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 14, "end": 16, "loc": { diff --git a/test/fixtures/harmony/uncategorised/39/expected.json b/test/fixtures/harmony/uncategorised/39/expected.json index 1d3eb7338f..d3ed02a634 100644 --- a/test/fixtures/harmony/uncategorised/39/expected.json +++ b/test/fixtures/harmony/uncategorised/39/expected.json @@ -91,7 +91,7 @@ "name": "x" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 3, "end": 4, "loc": { diff --git a/test/fixtures/harmony/uncategorised/4/expected.json b/test/fixtures/harmony/uncategorised/4/expected.json index 8a021344bb..c711d94e62 100644 --- a/test/fixtures/harmony/uncategorised/4/expected.json +++ b/test/fixtures/harmony/uncategorised/4/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/harmony/uncategorised/40/expected.json b/test/fixtures/harmony/uncategorised/40/expected.json index b4e861da61..6e5b95dce8 100644 --- a/test/fixtures/harmony/uncategorised/40/expected.json +++ b/test/fixtures/harmony/uncategorised/40/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { diff --git a/test/fixtures/harmony/uncategorised/41/expected.json b/test/fixtures/harmony/uncategorised/41/expected.json index f3bbc75306..556e95a3ac 100644 --- a/test/fixtures/harmony/uncategorised/41/expected.json +++ b/test/fixtures/harmony/uncategorised/41/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 13, "end": 15, "loc": { diff --git a/test/fixtures/harmony/uncategorised/42/expected.json b/test/fixtures/harmony/uncategorised/42/expected.json index 98652468ab..6ba8419a8b 100644 --- a/test/fixtures/harmony/uncategorised/42/expected.json +++ b/test/fixtures/harmony/uncategorised/42/expected.json @@ -78,7 +78,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 7, "end": 9, "loc": { diff --git a/test/fixtures/harmony/uncategorised/43/expected.json b/test/fixtures/harmony/uncategorised/43/expected.json index d4be8b7577..6e06ca49e2 100644 --- a/test/fixtures/harmony/uncategorised/43/expected.json +++ b/test/fixtures/harmony/uncategorised/43/expected.json @@ -94,7 +94,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 13, "end": 15, "loc": { diff --git a/test/fixtures/harmony/uncategorised/44/expected.json b/test/fixtures/harmony/uncategorised/44/expected.json index 8a08def13e..f280cb57bf 100644 --- a/test/fixtures/harmony/uncategorised/44/expected.json +++ b/test/fixtures/harmony/uncategorised/44/expected.json @@ -91,7 +91,7 @@ "name": "eval" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 8, "end": 10, "loc": { @@ -113,7 +113,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 17, "loc": { diff --git a/test/fixtures/harmony/uncategorised/45/expected.json b/test/fixtures/harmony/uncategorised/45/expected.json index b782563eff..43ee9f5e11 100644 --- a/test/fixtures/harmony/uncategorised/45/expected.json +++ b/test/fixtures/harmony/uncategorised/45/expected.json @@ -107,7 +107,7 @@ "name": "a" }, "right": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 11, "end": 13, "loc": { @@ -129,7 +129,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 18, "end": 20, "loc": { diff --git a/test/fixtures/harmony/uncategorised/47/expected.json b/test/fixtures/harmony/uncategorised/47/expected.json index 3fc7b625b7..03125c85dd 100644 --- a/test/fixtures/harmony/uncategorised/47/expected.json +++ b/test/fixtures/harmony/uncategorised/47/expected.json @@ -113,7 +113,7 @@ } ], "body": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 10, "end": 12, "loc": { diff --git a/test/fixtures/harmony/uncategorised/5/expected.json b/test/fixtures/harmony/uncategorised/5/expected.json index aa7e6a2f80..f95c3acfdb 100644 --- a/test/fixtures/harmony/uncategorised/5/expected.json +++ b/test/fixtures/harmony/uncategorised/5/expected.json @@ -91,7 +91,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 31, "end": 34, "loc": { diff --git a/test/fixtures/harmony/uncategorised/6/expected.json b/test/fixtures/harmony/uncategorised/6/expected.json index 118b2f32c6..427dd542bd 100644 --- a/test/fixtures/harmony/uncategorised/6/expected.json +++ b/test/fixtures/harmony/uncategorised/6/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/harmony/uncategorised/7/expected.json b/test/fixtures/harmony/uncategorised/7/expected.json index 5636575a62..c5b3e36143 100644 --- a/test/fixtures/harmony/uncategorised/7/expected.json +++ b/test/fixtures/harmony/uncategorised/7/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 4, "loc": { diff --git a/test/fixtures/harmony/uncategorised/79/expected.json b/test/fixtures/harmony/uncategorised/79/expected.json index a2c5438b1b..09de9f79ba 100644 --- a/test/fixtures/harmony/uncategorised/79/expected.json +++ b/test/fixtures/harmony/uncategorised/79/expected.json @@ -43,7 +43,7 @@ } }, "declaration": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 15, "end": 17, "loc": { diff --git a/test/fixtures/harmony/uncategorised/8/expected.json b/test/fixtures/harmony/uncategorised/8/expected.json index 7c2c994467..ac5af77227 100644 --- a/test/fixtures/harmony/uncategorised/8/expected.json +++ b/test/fixtures/harmony/uncategorised/8/expected.json @@ -43,7 +43,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 0, "end": 3, "loc": { diff --git a/test/fixtures/harmony/uncategorised/9/expected.json b/test/fixtures/harmony/uncategorised/9/expected.json index 306190058c..8fe8a8579a 100644 --- a/test/fixtures/harmony/uncategorised/9/expected.json +++ b/test/fixtures/harmony/uncategorised/9/expected.json @@ -91,7 +91,7 @@ } }, "expression": { - "type": "NumberLiteral", + "type": "NumericLiteral", "start": 31, "end": 34, "loc": {