Don't add 'shorthand' property to ObjectMethod (#506)

This commit is contained in:
Andy 2017-05-02 11:39:21 -07:00 committed by Henry Zhu
parent 3a6b77f374
commit 9660f06b25
215 changed files with 264 additions and 340 deletions

View File

@ -772,7 +772,6 @@ export default class ExpressionParser extends LValParser {
}
prop.method = false;
prop.shorthand = false;
if (isPattern || refShorthandDefaultPos) {
startPos = this.state.start;
@ -870,6 +869,8 @@ export default class ExpressionParser extends LValParser {
}
parseObjectProperty(prop, startPos, startLoc, isPattern, refShorthandDefaultPos) {
prop.shorthand = false;
if (this.eat(tt.colon)) {
prop.value = isPattern ? this.parseMaybeDefault(this.state.start, this.state.startLoc) : this.parseMaybeAssign(false, refShorthandDefaultPos);

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -107,6 +106,7 @@
"name": "spawn",
"leadingComments": null
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 33,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -123,6 +122,7 @@
},
"name": "answer"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 14,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -123,6 +122,7 @@
},
"name": "if"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 10,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -123,6 +122,7 @@
},
"name": "true"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 12,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -123,6 +122,7 @@
},
"name": "false"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 13,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -123,6 +122,7 @@
},
"name": "null"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 12,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "StringLiteral",
@ -126,6 +125,7 @@
},
"value": "answer"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 16,

View File

@ -72,7 +72,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -91,6 +90,7 @@
},
"name": "message"
},
"shorthand": false,
"value": {
"type": "StringLiteral",
"start": 17,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -123,6 +122,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 9,
@ -159,7 +159,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -178,6 +177,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 15,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -100,7 +100,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -119,6 +118,7 @@
},
"name": "a"
},
"shorthand": false,
"value": {
"type": "ArrayExpression",
"start": 5,

View File

@ -72,7 +72,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "NumericLiteral",
@ -94,6 +93,7 @@
},
"value": 1
},
"shorthand": false,
"value": {
"type": "BinaryExpression",
"start": 5,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "StringLiteral",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "NumericLiteral",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "StringLiteral",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "NumericLiteral",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -123,6 +122,7 @@
},
"name": "get"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 11,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -123,6 +122,7 @@
},
"name": "set"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 11,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "public"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 8,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "arguments"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 8,

View File

@ -116,7 +116,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -135,6 +134,7 @@
},
"name": "length"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 9,

View File

@ -123,7 +123,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -142,6 +141,7 @@
},
"name": "title"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 14,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "CallExpression",
@ -139,6 +138,7 @@
},
"arguments": []
},
"shorthand": false,
"value": {
"type": "StringLiteral",
"start": 23,

View File

@ -103,7 +103,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -122,6 +121,7 @@
},
"name": "foo"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 15,
@ -242,7 +242,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -261,6 +260,7 @@
},
"name": "foo"
},
"shorthand": false,
"value": {
"type": "Identifier",
"start": 48,
@ -378,7 +378,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -397,6 +396,7 @@
},
"name": "foo"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 82,
@ -427,7 +427,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -446,6 +445,7 @@
},
"name": "baz"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 84,
@ -569,7 +569,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -588,6 +587,7 @@
},
"name": "foo"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 119,
@ -618,7 +618,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -637,6 +636,7 @@
},
"name": "baz"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 127,
@ -667,7 +667,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -686,6 +685,7 @@
},
"name": "qux"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 129,
@ -812,7 +812,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -831,6 +830,7 @@
},
"name": "foo"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 166,
@ -861,7 +861,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -880,6 +879,7 @@
},
"name": "baz"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 174,
@ -910,7 +910,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -929,6 +928,7 @@
},
"name": "qux2"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 176,
@ -971,7 +971,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -990,6 +989,7 @@
},
"name": "foo3"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 186,
@ -1344,7 +1344,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -1363,6 +1362,7 @@
},
"name": "foo"
},
"shorthand": false,
"value": {
"type": "ArrayPattern",
"start": 277,
@ -1430,7 +1430,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -1449,6 +1448,7 @@
},
"name": "foo2"
},
"shorthand": false,
"value": {
"type": "ArrayPattern",
"start": 295,
@ -1585,7 +1585,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -1604,6 +1603,7 @@
},
"name": "foo"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 332,
@ -1634,7 +1634,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -1653,6 +1652,7 @@
},
"name": "baz"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 339,
@ -1683,7 +1683,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -1702,6 +1701,7 @@
},
"name": "qux3"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 341,
@ -1744,7 +1744,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -1763,6 +1762,7 @@
},
"name": "foo2"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 357,
@ -1793,7 +1793,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -1812,6 +1811,7 @@
},
"name": "baz2"
},
"shorthand": false,
"value": {
"type": "ArrayPattern",
"start": 365,
@ -1949,7 +1949,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -1968,6 +1967,7 @@
},
"name": "foo"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 402,
@ -1998,7 +1998,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -2017,6 +2016,7 @@
},
"name": "baz"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 409,
@ -2047,7 +2047,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -2066,6 +2065,7 @@
},
"name": "qux5"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 411,
@ -2108,7 +2108,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -2127,6 +2126,7 @@
},
"name": "foo2"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 427,
@ -2157,7 +2157,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -2176,6 +2175,7 @@
},
"name": "baz2"
},
"shorthand": false,
"value": {
"type": "ArrayPattern",
"start": 435,
@ -2221,7 +2221,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -2240,6 +2239,7 @@
},
"name": "qux6"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 437,
@ -2368,7 +2368,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -2387,6 +2386,7 @@
},
"name": "Foo"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 469,
@ -2507,7 +2507,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -2526,6 +2525,7 @@
},
"name": "foo"
},
"shorthand": false,
"value": {
"type": "ArrayPattern",
"start": 502,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": true,
"key": {
"type": "Identifier",
"start": 11,
@ -123,6 +122,7 @@
"name": "async"
},
"computed": false,
"shorthand": true,
"value": {
"type": "Identifier",
"start": 11,
@ -159,7 +159,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -178,6 +177,7 @@
},
"name": "bar"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 18,

View File

@ -104,7 +104,6 @@
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -72,7 +72,6 @@
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
@ -91,6 +90,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 7,

View File

@ -72,7 +72,6 @@
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "BinaryExpression",
@ -130,6 +129,7 @@
"value": "y"
}
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 15,

View File

@ -72,7 +72,6 @@
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
@ -91,6 +90,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "FunctionExpression",
"start": 7,

View File

@ -72,7 +72,6 @@
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
@ -91,6 +90,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 7,
@ -127,7 +127,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -146,6 +145,7 @@
},
"name": "y"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 14,

View File

@ -72,7 +72,6 @@
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
@ -130,7 +129,6 @@
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",

View File

@ -72,7 +72,6 @@
}
},
"method": true,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "Identifier",
"start": 10,
@ -156,7 +156,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -175,6 +174,7 @@
},
"name": "y"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 16,

View File

@ -93,7 +93,6 @@
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
@ -112,6 +111,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "Identifier",
"start": 17,

View File

@ -104,7 +104,6 @@
}
},
"method": true,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",

View File

@ -107,7 +107,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -126,6 +125,7 @@
},
"name": "x"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 12,
@ -179,7 +179,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -198,6 +197,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 21,

View File

@ -137,7 +137,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -156,6 +155,7 @@
},
"name": "x"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 14,
@ -209,7 +209,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -228,6 +227,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 23,

View File

@ -72,7 +72,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -91,6 +90,7 @@
},
"name": "f"
},
"shorthand": false,
"value": {
"type": "FunctionExpression",
"start": 5,
@ -154,7 +154,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -173,6 +172,7 @@
},
"name": "x"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 15,
@ -226,7 +226,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -245,6 +244,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 24,

View File

@ -72,7 +72,6 @@
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -141,7 +140,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -160,6 +158,7 @@
},
"name": "x"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 5,
@ -213,7 +212,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -232,6 +230,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 14,

View File

@ -156,7 +156,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -175,6 +174,7 @@
},
"name": "x"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 11,
@ -228,7 +228,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -247,6 +246,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 20,

View File

@ -105,7 +105,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -124,6 +123,7 @@
},
"name": "x"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 3,
@ -177,7 +177,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -196,6 +195,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 12,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -123,6 +122,7 @@
},
"name": "f"
},
"shorthand": false,
"value": {
"type": "FunctionExpression",
"start": 9,

View File

@ -104,7 +104,6 @@
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -93,7 +93,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -112,6 +111,7 @@
},
"name": "a"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 13,
@ -148,7 +148,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -167,6 +166,7 @@
},
"name": "b"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 16,

View File

@ -110,7 +110,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -129,6 +128,7 @@
},
"name": "a"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 16,

View File

@ -93,7 +93,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -112,6 +111,7 @@
},
"name": "a"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 16,
@ -142,7 +142,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -161,6 +160,7 @@
},
"name": "w"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 18,
@ -197,7 +197,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -216,6 +215,7 @@
},
"name": "x"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 21,
@ -255,7 +255,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -274,6 +273,7 @@
},
"name": "b"
},
"shorthand": false,
"value": {
"type": "ArrayPattern",
"start": 29,

View File

@ -107,7 +107,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -126,6 +125,7 @@
},
"name": "a"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 14,
@ -162,7 +162,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -181,6 +180,7 @@
},
"name": "b"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 17,

View File

@ -107,7 +107,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -126,6 +125,7 @@
},
"name": "a"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 17,
@ -156,7 +156,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -175,6 +174,7 @@
},
"name": "w"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 19,
@ -211,7 +211,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -230,6 +229,7 @@
},
"name": "x"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 22,
@ -269,7 +269,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -288,6 +287,7 @@
},
"name": "b"
},
"shorthand": false,
"value": {
"type": "ArrayPattern",
"start": 30,

View File

@ -72,7 +72,6 @@
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -72,7 +72,6 @@
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -72,7 +72,6 @@
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -127,7 +126,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -146,6 +144,7 @@
},
"name": "a"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 10,
@ -176,7 +175,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -195,6 +193,7 @@
},
"name": "w"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 12,
@ -231,7 +230,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -250,6 +248,7 @@
},
"name": "x"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 15,
@ -289,7 +288,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -308,6 +306,7 @@
},
"name": "b"
},
"shorthand": false,
"value": {
"type": "ArrayPattern",
"start": 23,

View File

@ -91,7 +91,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -110,6 +109,7 @@
},
"name": "a"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 3,

View File

@ -91,7 +91,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -110,6 +109,7 @@
},
"name": "a"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 3,

View File

@ -91,7 +91,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -110,6 +109,7 @@
},
"name": "a"
},
"shorthand": false,
"value": {
"type": "ArrayPattern",
"start": 6,

View File

@ -91,7 +91,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -110,6 +109,7 @@
},
"name": "a"
},
"shorthand": false,
"value": {
"type": "Identifier",
"start": 6,
@ -143,7 +143,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -162,6 +161,7 @@
},
"name": "c"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 9,

View File

@ -102,7 +102,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -121,6 +120,7 @@
},
"name": "a"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 3,
@ -157,7 +157,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -176,6 +175,7 @@
},
"name": "b"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 6,

View File

@ -102,7 +102,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -121,6 +120,7 @@
},
"name": "a"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 7,
@ -157,7 +157,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -176,6 +175,7 @@
},
"name": "b"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 10,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "x"
},
"shorthand": false,
"value": {
"type": "ObjectExpression",
"start": 12,
@ -136,7 +136,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -155,6 +154,7 @@
},
"name": "y"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 16,

View File

@ -107,7 +107,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -126,6 +125,7 @@
},
"name": "a"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 16,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "get"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 5,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "propName"
},
"shorthand": false,
"value": {
"type": "AssignmentPattern",
"start": 15,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "propName"
},
"shorthand": true,
"value": {
"type": "AssignmentPattern",
"start": 5,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "x"
},
"shorthand": true,
"value": {
"type": "AssignmentPattern",
"start": 2,

View File

@ -91,7 +91,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -110,6 +109,7 @@
},
"name": "x"
},
"shorthand": true,
"value": {
"type": "AssignmentPattern",
"start": 2,

View File

@ -119,7 +119,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -138,6 +137,7 @@
},
"name": "b"
},
"shorthand": false,
"value": {
"type": "ObjectPattern",
"start": 8,
@ -168,7 +168,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -187,6 +186,7 @@
},
"name": "c"
},
"shorthand": true,
"value": {
"type": "AssignmentPattern",
"start": 9,

View File

@ -72,7 +72,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -91,6 +90,7 @@
},
"name": "x"
},
"shorthand": true,
"value": {
"type": "AssignmentPattern",
"start": 6,

View File

@ -103,7 +103,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -122,6 +121,7 @@
},
"name": "message"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 15,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "x"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 5,

View File

@ -109,7 +109,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -128,6 +127,7 @@
},
"name": "property"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 18,

View File

@ -72,7 +72,6 @@
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "StringLiteral",
@ -94,6 +93,7 @@
},
"value": "__proto__"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 18,
@ -130,7 +130,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -149,6 +148,7 @@
},
"name": "__proto__"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 32,

View File

@ -72,7 +72,6 @@
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -166,7 +165,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -185,6 +183,7 @@
},
"name": "__proto__"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 40,

View File

@ -72,7 +72,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -166,7 +165,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -185,6 +183,7 @@
},
"name": "__proto__"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 44,

View File

@ -93,7 +93,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -112,6 +111,7 @@
},
"name": "set"
},
"shorthand": true,
"value": {
"type": "AssignmentPattern",
"start": 13,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "await"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 8,

View File

@ -93,7 +93,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -112,6 +111,7 @@
},
"name": "await"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 15,

View File

@ -91,7 +91,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -110,6 +109,7 @@
},
"name": "set"
},
"shorthand": true,
"value": {
"type": "AssignmentPattern",
"start": 2,

View File

@ -104,7 +104,6 @@
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "StringLiteral",

View File

@ -104,7 +104,6 @@
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -123,6 +122,7 @@
},
"name": "y"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 6,
@ -159,7 +159,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -178,6 +177,7 @@
},
"name": "z"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 9,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "a"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 7,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "a"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 5,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "a"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 5,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "a"
},
"shorthand": false,
"value": {
"type": "Identifier",
"start": 9,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "a"
},
"shorthand": false,
"value": {
"type": "Identifier",
"start": 7,

View File

@ -87,7 +87,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -106,6 +105,7 @@
},
"name": "a"
},
"shorthand": false,
"value": {
"type": "Identifier",
"start": 7,

View File

@ -104,7 +104,6 @@
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
@ -123,6 +122,7 @@
},
"name": "a"
},
"shorthand": false,
"value": {
"type": "NumericLiteral",
"start": 13,
@ -159,7 +159,6 @@
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",

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