rename NumberLiteral to NumericLiteral and RegexLiteral to RegExpLiteral

This commit is contained in:
Sebastian McKenzie 2015-11-03 01:19:35 +00:00
parent 87bb8a84f3
commit ea40d0134f
376 changed files with 473 additions and 473 deletions

View File

@ -40,7 +40,7 @@ pp.checkPropClash = function (prop, propHash) {
break; break;
case "StringLiteral": case "StringLiteral":
case "NumberLiteral": case "NumericLiteral":
name = String(key.value); name = String(key.value);
break; break;
@ -417,13 +417,13 @@ pp.parseExprAtom = function (refShorthandDefaultPos) {
case tt.regexp: case tt.regexp:
let value = this.state.value; let value = this.state.value;
node = this.parseLiteral(value.value, "RegexLiteral"); node = this.parseLiteral(value.value, "RegExpLiteral");
node.pattern = value.pattern; node.pattern = value.pattern;
node.flags = value.flags; node.flags = value.flags;
return node; return node;
case tt.num: case tt.num:
return this.parseLiteral(this.state.value, "NumberLiteral"); return this.parseLiteral(this.state.value, "NumericLiteral");
case tt.string: case tt.string:
return this.parseLiteral(this.state.value, "StringLiteral"); return this.parseLiteral(this.state.value, "StringLiteral");

View File

@ -506,7 +506,7 @@ pp.flowParsePrimaryType = function () {
this.addExtra(node, "rawValue", node.value); this.addExtra(node, "rawValue", node.value);
this.addExtra(node, "raw", this.input.slice(this.state.start, this.state.end)); this.addExtra(node, "raw", this.input.slice(this.state.start, this.state.end));
this.next(); this.next();
return this.finishNode(node, "NumberLiteralTypeAnnotation"); return this.finishNode(node, "NumericLiteralTypeAnnotation");
default: default:
if (this.state.type.keyword === "typeof") { if (this.state.type.keyword === "typeof") {

View File

@ -91,7 +91,7 @@
} }
}, },
"argument": { "argument": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 42, "start": 42,
"end": 44, "end": 44,
"loc": { "loc": {

View File

@ -140,7 +140,7 @@
}, },
"consequent": [], "consequent": [],
"test": { "test": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 66, "start": 66,
"end": 67, "end": 67,
"loc": { "loc": {
@ -261,7 +261,7 @@
} }
], ],
"test": { "test": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 111, "start": 111,
"end": 112, "end": 112,
"loc": { "loc": {

View File

@ -75,7 +75,7 @@
}, },
"consequent": [], "consequent": [],
"test": { "test": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 34, "start": 34,
"end": 35, "end": 35,
"loc": { "loc": {
@ -196,7 +196,7 @@
} }
], ],
"test": { "test": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 71, "start": 71,
"end": 72, "end": 72,
"loc": { "loc": {

View File

@ -157,7 +157,7 @@
} }
], ],
"test": { "test": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 48, "start": 48,
"end": 49, "end": 49,
"loc": { "loc": {
@ -212,7 +212,7 @@
} }
], ],
"test": { "test": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 83, "start": 83,
"end": 84, "end": 84,
"loc": { "loc": {

View File

@ -501,7 +501,7 @@
}, },
"operator": "-", "operator": "-",
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 215, "start": 215,
"end": 216, "end": 216,
"loc": { "loc": {

View File

@ -94,7 +94,7 @@
} }
], ],
"test": { "test": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 22, "start": 22,
"end": 23, "end": 23,
"loc": { "loc": {

View File

@ -92,7 +92,7 @@
} }
}, },
"expression": { "expression": {
"type": "RegexLiteral", "type": "RegExpLiteral",
"start": 15, "start": 15,
"end": 20, "end": 20,
"loc": { "loc": {

View File

@ -89,7 +89,7 @@
}, },
"elements": [ "elements": [
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 6, "start": 6,
"end": 8, "end": 8,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "RegexLiteral", "type": "RegExpLiteral",
"start": 8, "start": 8,
"end": 16, "end": 16,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "RegexLiteral", "type": "RegExpLiteral",
"start": 8, "start": 8,
"end": 16, "end": 16,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "RegexLiteral", "type": "RegExpLiteral",
"start": 8, "start": 8,
"end": 16, "end": 16,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "RegexLiteral", "type": "RegExpLiteral",
"start": 8, "start": 8,
"end": 17, "end": 17,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "RegexLiteral", "type": "RegExpLiteral",
"start": 8, "start": 8,
"end": 18, "end": 18,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "RegexLiteral", "type": "RegExpLiteral",
"start": 8, "start": 8,
"end": 21, "end": 21,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "RegexLiteral", "type": "RegExpLiteral",
"start": 8, "start": 8,
"end": 22, "end": 22,
"loc": { "loc": {

View File

@ -91,7 +91,7 @@
null, null,
null, null,
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 9, "start": 9,
"end": 11, "end": 11,
"loc": { "loc": {

View File

@ -89,7 +89,7 @@
}, },
"elements": [ "elements": [
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 6, "start": 6,
"end": 7, "end": 7,
"loc": { "loc": {
@ -109,7 +109,7 @@
"value": 1 "value": 1
}, },
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 9, "start": 9,
"end": 10, "end": 10,
"loc": { "loc": {
@ -129,7 +129,7 @@
"value": 2 "value": 2
}, },
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 12, "start": 12,
"end": 13, "end": 13,
"loc": { "loc": {

View File

@ -87,7 +87,7 @@
"name": "universe" "name": "universe"
}, },
"property": { "property": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 9, "start": 9,
"end": 11, "end": 11,
"loc": { "loc": {

View File

@ -88,7 +88,7 @@
}, },
"arguments": [ "arguments": [
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 9, "start": 9,
"end": 11, "end": 11,
"loc": { "loc": {

View File

@ -116,7 +116,7 @@
}, },
"arguments": [ "arguments": [
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 9, "start": 9,
"end": 11, "end": 11,
"loc": { "loc": {
@ -157,7 +157,7 @@
}, },
"arguments": [ "arguments": [
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 22, "start": 22,
"end": 24, "end": 24,
"loc": { "loc": {
@ -177,7 +177,7 @@
"value": 14 "value": 14
}, },
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 26, "start": 26,
"end": 27, "end": 27,
"loc": { "loc": {
@ -197,7 +197,7 @@
"value": 3 "value": 3
}, },
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 29, "start": 29,
"end": 31, "end": 31,
"loc": { "loc": {

View File

@ -170,7 +170,7 @@
}, },
"arguments": [ "arguments": [
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 40, "start": 40,
"end": 44, "end": 44,
"loc": { "loc": {

View File

@ -89,7 +89,7 @@
}, },
"elements": [ "elements": [
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 6, "start": 6,
"end": 7, "end": 7,
"loc": { "loc": {
@ -109,7 +109,7 @@
"value": 1 "value": 1
}, },
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 9, "start": 9,
"end": 10, "end": 10,
"loc": { "loc": {
@ -130,7 +130,7 @@
}, },
null, null,
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 13, "start": 13,
"end": 14, "end": 14,
"loc": { "loc": {

View File

@ -73,7 +73,7 @@
"name": "y" "name": "y"
}, },
"consequent": { "consequent": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 4, "start": 4,
"end": 5, "end": 5,
"loc": { "loc": {
@ -93,7 +93,7 @@
"value": 1 "value": 1
}, },
"alternate": { "alternate": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 9, "end": 9,
"loc": { "loc": {

View File

@ -105,7 +105,7 @@
} }
}, },
"consequent": { "consequent": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 9, "start": 9,
"end": 10, "end": 10,
"loc": { "loc": {
@ -125,7 +125,7 @@
"value": 1 "value": 1
}, },
"alternate": { "alternate": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 13, "start": 13,
"end": 14, "end": 14,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 4, "start": 4,
"end": 6, "end": 6,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "eval" "name": "eval"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 7, "start": 7,
"end": 9, "end": 9,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "arguments" "name": "arguments"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 12, "start": 12,
"end": 14, "end": 14,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 5, "start": 5,
"end": 7, "end": 7,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 5, "start": 5,
"end": 7, "end": 7,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 5, "start": 5,
"end": 7, "end": 7,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 5, "start": 5,
"end": 7, "end": 7,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 5, "start": 5,
"end": 7, "end": 7,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 6, "start": 6,
"end": 8, "end": 8,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 6, "start": 6,
"end": 8, "end": 8,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 7, "start": 7,
"end": 9, "end": 9,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 5, "start": 5,
"end": 7, "end": 7,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 5, "start": 5,
"end": 7, "end": 7,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 5, "start": 5,
"end": 7, "end": 7,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 10, "end": 10,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "eval" "name": "eval"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 11, "start": 11,
"end": 13, "end": 13,
"loc": { "loc": {
@ -125,7 +125,7 @@
"name": "arguments" "name": "arguments"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 27, "start": 27,
"end": 29, "end": 29,
"loc": { "loc": {

View File

@ -122,7 +122,7 @@
"name": "answer" "name": "answer"
}, },
"value": { "value": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 14, "start": 14,
"end": 16, "end": 16,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 10, "end": 10,
"loc": { "loc": {
@ -125,7 +125,7 @@
"name": "y" "name": "y"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 16, "start": 16,
"end": 17, "end": 17,
"loc": { "loc": {
@ -176,7 +176,7 @@
"name": "z" "name": "z"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 23, "start": 23,
"end": 27, "end": 27,
"loc": { "loc": {

View File

@ -122,7 +122,7 @@
"name": "if" "name": "if"
}, },
"value": { "value": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 10, "start": 10,
"end": 12, "end": 12,
"loc": { "loc": {

View File

@ -104,7 +104,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 21, "start": 21,
"end": 22, "end": 22,
"loc": { "loc": {

View File

@ -188,7 +188,7 @@
}, },
"operator": "<", "operator": "<",
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 28, "start": 28,
"end": 30, "end": 30,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
}, },
"operator": "<", "operator": "<",
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 11, "start": 11,
"end": 13, "end": 13,
"loc": { "loc": {

View File

@ -122,7 +122,7 @@
"name": "true" "name": "true"
}, },
"value": { "value": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 12, "start": 12,
"end": 14, "end": 14,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 9, "end": 9,
"loc": { "loc": {

View File

@ -88,7 +88,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 12, "start": 12,
"end": 13, "end": 13,
"loc": { "loc": {

View File

@ -88,7 +88,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 12, "start": 12,
"end": 13, "end": 13,
"loc": { "loc": {
@ -139,7 +139,7 @@
"name": "y" "name": "y"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 19, "start": 19,
"end": 20, "end": 20,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 9, "end": 9,
"loc": { "loc": {
@ -126,7 +126,7 @@
}, },
"operator": "<", "operator": "<",
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 15, "start": 15,
"end": 17, "end": 17,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 9, "end": 9,
"loc": { "loc": {
@ -126,7 +126,7 @@
}, },
"operator": "<", "operator": "<",
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 15, "start": 15,
"end": 17, "end": 17,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 9, "end": 9,
"loc": { "loc": {
@ -126,7 +126,7 @@
}, },
"operator": "<", "operator": "<",
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 15, "start": 15,
"end": 17, "end": 17,
"loc": { "loc": {

View File

@ -122,7 +122,7 @@
"name": "false" "name": "false"
}, },
"value": { "value": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 13, "start": 13,
"end": 15, "end": 15,
"loc": { "loc": {

View File

@ -122,7 +122,7 @@
"name": "null" "name": "null"
}, },
"value": { "value": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 12, "start": 12,
"end": 14, "end": 14,
"loc": { "loc": {

View File

@ -139,7 +139,7 @@
} }
], ],
"test": { "test": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 23, "start": 23,
"end": 25, "end": 25,
"loc": { "loc": {

View File

@ -126,7 +126,7 @@
"value": "answer" "value": "answer"
}, },
"value": { "value": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 16, "start": 16,
"end": 18, "end": 18,
"loc": { "loc": {

View File

@ -139,7 +139,7 @@
} }
], ],
"test": { "test": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 23, "start": 23,
"end": 25, "end": 25,
"loc": { "loc": {

View File

@ -122,7 +122,7 @@
"name": "x" "name": "x"
}, },
"value": { "value": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 9, "start": 9,
"end": 10, "end": 10,
"loc": { "loc": {
@ -176,7 +176,7 @@
"name": "x" "name": "x"
}, },
"value": { "value": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 15, "start": 15,
"end": 16, "end": 16,
"loc": { "loc": {

View File

@ -43,7 +43,7 @@
} }
}, },
"expression": { "expression": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 5, "start": 5,
"end": 7, "end": 7,
"loc": { "loc": {

View File

@ -89,7 +89,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 10, "start": 10,
"end": 12, "end": 12,
"loc": { "loc": {
@ -140,7 +140,7 @@
"name": "y" "name": "y"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 18, "start": 18,
"end": 19, "end": 19,
"loc": { "loc": {

View File

@ -71,7 +71,7 @@
} }
}, },
"object": { "object": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 0, "start": 0,
"end": 4, "end": 4,
"loc": { "loc": {
@ -110,7 +110,7 @@
}, },
"arguments": [ "arguments": [
{ {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 14, "start": 14,
"end": 16, "end": 16,
"loc": { "loc": {

View File

@ -57,7 +57,7 @@
} }
}, },
"left": { "left": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 0, "start": 0,
"end": 4, "end": 4,
"loc": { "loc": {
@ -78,7 +78,7 @@
}, },
"operator": "+", "operator": "+",
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 5, "start": 5,
"end": 6, "end": 6,
"loc": { "loc": {

View File

@ -57,7 +57,7 @@
} }
}, },
"expression": { "expression": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 5, "start": 5,
"end": 7, "end": 7,
"loc": { "loc": {
@ -123,7 +123,7 @@
} }
}, },
"expression": { "expression": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 14, "start": 14,
"end": 16, "end": 16,
"loc": { "loc": {

View File

@ -43,7 +43,7 @@
} }
}, },
"test": { "test": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 3, "start": 3,
"end": 4, "end": 4,
"loc": { "loc": {
@ -77,7 +77,7 @@
} }
}, },
"expression": { "expression": {
"type": "RegexLiteral", "type": "RegExpLiteral",
"start": 5, "start": 5,
"end": 12, "end": 12,
"loc": { "loc": {

View File

@ -60,7 +60,7 @@
} }
}, },
"expression": { "expression": {
"type": "RegexLiteral", "type": "RegExpLiteral",
"start": 2, "start": 2,
"end": 5, "end": 5,
"loc": { "loc": {

View File

@ -122,7 +122,7 @@
}, },
"operator": ">", "operator": ">",
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 10, "end": 10,
"loc": { "loc": {

View File

@ -106,7 +106,7 @@
"shorthand": false, "shorthand": false,
"computed": false, "computed": false,
"key": { "key": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 10, "start": 10,
"end": 12, "end": 12,
"loc": { "loc": {

View File

@ -43,7 +43,7 @@
} }
}, },
"expression": { "expression": {
"type": "RegexLiteral", "type": "RegExpLiteral",
"start": 0, "start": 0,
"end": 8, "end": 8,
"loc": { "loc": {

View File

@ -106,7 +106,7 @@
"shorthand": false, "shorthand": false,
"computed": false, "computed": false,
"key": { "key": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 10, "start": 10,
"end": 12, "end": 12,
"loc": { "loc": {

View File

@ -122,7 +122,7 @@
"name": "get" "name": "get"
}, },
"value": { "value": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 11, "start": 11,
"end": 13, "end": 13,
"loc": { "loc": {

View File

@ -122,7 +122,7 @@
"name": "set" "name": "set"
}, },
"value": { "value": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 11, "start": 11,
"end": 13, "end": 13,
"loc": { "loc": {

View File

@ -43,7 +43,7 @@
} }
}, },
"expression": { "expression": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 20, "start": 20,
"end": 22, "end": 22,
"loc": { "loc": {

View File

@ -122,7 +122,7 @@
"name": "eval" "name": "eval"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 43, "start": 43,
"end": 45, "end": 45,
"loc": { "loc": {

View File

@ -122,7 +122,7 @@
"name": "arguments" "name": "arguments"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 48, "start": 48,
"end": 50, "end": 50,
"loc": { "loc": {

View File

@ -43,7 +43,7 @@
} }
}, },
"expression": { "expression": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 0, "start": 0,
"end": 2, "end": 2,
"loc": { "loc": {

View File

@ -122,7 +122,7 @@
"name": "eval" "name": "eval"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 39, "start": 39,
"end": 41, "end": 41,
"loc": { "loc": {

View File

@ -122,7 +122,7 @@
"name": "arguments" "name": "arguments"
}, },
"right": { "right": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 44, "start": 44,
"end": 46, "end": 46,
"loc": { "loc": {

View File

@ -43,7 +43,7 @@
} }
}, },
"expression": { "expression": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 0, "start": 0,
"end": 2, "end": 2,
"loc": { "loc": {

View File

@ -43,7 +43,7 @@
} }
}, },
"expression": { "expression": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 42, "start": 42,
"end": 44, "end": 44,
"loc": { "loc": {

View File

@ -139,7 +139,7 @@
"name": "i" "name": "i"
}, },
"value": { "value": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 38, "start": 38,
"end": 40, "end": 40,
"loc": { "loc": {

View File

@ -43,7 +43,7 @@
} }
}, },
"expression": { "expression": {
"type": "RegexLiteral", "type": "RegExpLiteral",
"start": 0, "start": 0,
"end": 8, "end": 8,
"loc": { "loc": {

View File

@ -43,7 +43,7 @@
} }
}, },
"expression": { "expression": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 10, "end": 10,
"loc": { "loc": {

View File

@ -91,7 +91,7 @@
} }
}, },
"expression": { "expression": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 33, "start": 33,
"end": 36, "end": 36,
"loc": { "loc": {

View File

@ -141,7 +141,7 @@
"raw": "\"\\1\"" "raw": "\"\\1\""
}, },
"value": { "value": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 42, "start": 42,
"end": 44, "end": 44,
"loc": { "loc": {

View File

@ -123,7 +123,7 @@
"shorthand": false, "shorthand": false,
"computed": false, "computed": false,
"key": { "key": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 36, "start": 36,
"end": 39, "end": 39,
"loc": { "loc": {
@ -141,7 +141,7 @@
"raw": "021" "raw": "021"
}, },
"value": { "value": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 41, "start": 41,
"end": 43, "end": 43,
"loc": { "loc": {

View File

@ -43,7 +43,7 @@
} }
}, },
"expression": { "expression": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 10, "end": 10,
"loc": { "loc": {

View File

@ -43,7 +43,7 @@
} }
}, },
"expression": { "expression": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 10, "end": 10,
"loc": { "loc": {

View File

@ -206,7 +206,7 @@
"name": "v" "name": "v"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 65, "start": 65,
"end": 68, "end": 68,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 10, "end": 10,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "eval" "name": "eval"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 11, "start": 11,
"end": 13, "end": 13,
"loc": { "loc": {
@ -125,7 +125,7 @@
"name": "arguments" "name": "arguments"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 27, "start": 27,
"end": 29, "end": 29,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 10, "end": 10,
"loc": { "loc": {
@ -125,7 +125,7 @@
"name": "y" "name": "y"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 16, "start": 16,
"end": 17, "end": 17,
"loc": { "loc": {
@ -176,7 +176,7 @@
"name": "z" "name": "z"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 23, "start": 23,
"end": 27, "end": 27,
"loc": { "loc": {

View File

@ -43,7 +43,7 @@
} }
}, },
"expression": { "expression": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 8, "start": 8,
"end": 10, "end": 10,
"loc": { "loc": {

View File

@ -88,7 +88,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 12, "start": 12,
"end": 13, "end": 13,
"loc": { "loc": {

View File

@ -88,7 +88,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 12, "start": 12,
"end": 13, "end": 13,
"loc": { "loc": {
@ -139,7 +139,7 @@
"name": "y" "name": "y"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 19, "start": 19,
"end": 20, "end": 20,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 10, "start": 10,
"end": 12, "end": 12,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "eval" "name": "eval"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 13, "start": 13,
"end": 15, "end": 15,
"loc": { "loc": {
@ -125,7 +125,7 @@
"name": "arguments" "name": "arguments"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 29, "start": 29,
"end": 31, "end": 31,
"loc": { "loc": {

View File

@ -74,7 +74,7 @@
"name": "x" "name": "x"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 10, "start": 10,
"end": 12, "end": 12,
"loc": { "loc": {
@ -125,7 +125,7 @@
"name": "y" "name": "y"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 18, "start": 18,
"end": 19, "end": 19,
"loc": { "loc": {
@ -176,7 +176,7 @@
"name": "z" "name": "z"
}, },
"init": { "init": {
"type": "NumberLiteral", "type": "NumericLiteral",
"start": 25, "start": 25,
"end": 29, "end": 29,
"loc": { "loc": {

Some files were not shown because too many files have changed in this diff Show More