removing expression field from ArrowFunctionExpression (#6836)

This commit is contained in:
Martin McKeaveney 2017-11-23 21:12:13 +00:00 committed by Nicolò Ribaudo
parent 1ef7e0f48e
commit 6d820a2757
786 changed files with 728 additions and 1533 deletions

View File

@ -627,7 +627,6 @@ A `this` expression.
interface ArrowFunctionExpression <: Function, Expression { interface ArrowFunctionExpression <: Function, Expression {
type: "ArrowFunctionExpression"; type: "ArrowFunctionExpression";
body: BlockStatement | Expression; body: BlockStatement | Expression;
expression: boolean;
} }
``` ```

View File

@ -1480,7 +1480,6 @@ export default class ExpressionParser extends LValParser {
initFunction(node: N.BodilessFunctionOrMethodBase, isAsync: ?boolean): void { initFunction(node: N.BodilessFunctionOrMethodBase, isAsync: ?boolean): void {
node.id = null; node.id = null;
node.generator = false; node.generator = false;
node.expression = false;
node.async = !!isAsync; node.async = !!isAsync;
} }
@ -1559,11 +1558,10 @@ export default class ExpressionParser extends LValParser {
); );
} }
isStrictBody( isStrictBody(node: { body: N.BlockStatement }): boolean {
node: { body: N.BlockStatement }, const isBlockStatement = node.body.type === "BlockStatement";
isExpression: ?boolean,
): boolean { if (isBlockStatement && node.body.directives.length) {
if (!isExpression && node.body.directives.length) {
for (const directive of node.body.directives) { for (const directive of node.body.directives) {
if (directive.value.value === "use strict") { if (directive.value.value === "use strict") {
return true; return true;
@ -1595,7 +1593,6 @@ export default class ExpressionParser extends LValParser {
if (isExpression) { if (isExpression) {
node.body = this.parseMaybeAssign(); node.body = this.parseMaybeAssign();
node.expression = true;
} else { } else {
// Start a new scope with regard to labels and the `inGenerator` // Start a new scope with regard to labels and the `inGenerator`
// flag (restore them to their old value afterwards). // flag (restore them to their old value afterwards).
@ -1606,7 +1603,6 @@ export default class ExpressionParser extends LValParser {
this.state.inFunction = true; this.state.inFunction = true;
this.state.labels = []; this.state.labels = [];
node.body = this.parseBlock(true); node.body = this.parseBlock(true);
node.expression = false;
this.state.inFunction = oldInFunc; this.state.inFunction = oldInFunc;
this.state.inGenerator = oldInGen; this.state.inGenerator = oldInGen;
this.state.labels = oldLabels; this.state.labels = oldLabels;
@ -1624,7 +1620,7 @@ export default class ExpressionParser extends LValParser {
// If this is a strict mode function, verify that argument names // If this is a strict mode function, verify that argument names
// are not repeated, and it does not try to bind the words `eval` // are not repeated, and it does not try to bind the words `eval`
// or `arguments`. // or `arguments`.
const isStrict = this.isStrictBody(node, node.expression); const isStrict = this.isStrictBody(node);
// Also check for arrow functions // Also check for arrow functions
const checkLVal = this.state.strict || isStrict || isArrowFunction; const checkLVal = this.state.strict || isStrict || isArrowFunction;

View File

@ -66,6 +66,14 @@ export default (superClass: Class<Parser>): Class<Parser> =>
// Overrides // Overrides
// ================================== // ==================================
initFunction(
node: N.BodilessFunctionOrMethodBase,
isAsync: ?boolean,
): void {
super.initFunction(node, isAsync);
node.expression = false;
}
checkDeclaration(node: N.Pattern): void { checkDeclaration(node: N.Pattern): void {
if (isSimpleProperty(node)) { if (isSimpleProperty(node)) {
// $FlowFixMe // $FlowFixMe
@ -128,11 +136,10 @@ export default (superClass: Class<Parser>): Class<Parser> =>
} }
} }
isStrictBody( isStrictBody(node: { body: N.BlockStatement }): boolean {
node: { body: N.BlockStatement }, const isBlockStatement = node.body.type === "BlockStatement";
isExpression: ?boolean,
): boolean { if (isBlockStatement && node.body.body.length > 0) {
if (!isExpression && node.body.body.length > 0) {
for (const directive of node.body.body) { for (const directive of node.body.body) {
if ( if (
directive.type === "ExpressionStatement" && directive.type === "ExpressionStatement" &&
@ -242,6 +249,11 @@ export default (superClass: Class<Parser>): Class<Parser> =>
return node; return node;
} }
parseFunctionBody(node: N.Function, allowExpression: ?boolean): void {
super.parseFunctionBody(node, allowExpression);
node.expression = node.body.type !== "BlockStatement";
}
parseMethod<T: N.MethodLike>( parseMethod<T: N.MethodLike>(
node: T, node: T,
isGenerator: boolean, isGenerator: boolean,

View File

@ -14,7 +14,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": true,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -88,7 +88,6 @@
} }
}, },
"static": false, "static": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 103, "start": 103,
@ -107,10 +106,10 @@
"name": "method1", "name": "method1",
"leadingComments": null "leadingComments": null
}, },
"computed": false,
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -121,8 +121,6 @@
} }
}, },
"method": false, "method": false,
"shorthand": true,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 8, "start": 8,
@ -140,6 +138,8 @@
}, },
"name": "b" "name": "b"
}, },
"computed": false,
"shorthand": true,
"value": { "value": {
"type": "Identifier", "type": "Identifier",
"start": 8, "start": 8,

View File

@ -104,8 +104,6 @@
} }
}, },
"method": false, "method": false,
"shorthand": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 14, "start": 14,
@ -123,6 +121,8 @@
}, },
"name": "a" "name": "a"
}, },
"computed": false,
"shorthand": false,
"value": { "value": {
"type": "StringLiteral", "type": "StringLiteral",
"start": 17, "start": 17,
@ -159,8 +159,6 @@
} }
}, },
"method": false, "method": false,
"shorthand": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 37, "start": 37,
@ -179,6 +177,8 @@
"name": "b", "name": "b",
"leadingComments": null "leadingComments": null
}, },
"computed": false,
"shorthand": false,
"value": { "value": {
"type": "StringLiteral", "type": "StringLiteral",
"start": 40, "start": 40,
@ -233,8 +233,6 @@
} }
}, },
"method": false, "method": false,
"shorthand": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 60, "start": 60,
@ -253,6 +251,8 @@
"name": "c", "name": "c",
"leadingComments": null "leadingComments": null
}, },
"computed": false,
"shorthand": false,
"value": { "value": {
"type": "StringLiteral", "type": "StringLiteral",
"start": 63, "start": 63,

View File

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

View File

@ -60,7 +60,6 @@
"name": "a" "name": "a"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -60,7 +60,6 @@
"name": "a" "name": "a"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -60,7 +60,6 @@
"name": "a" "name": "a"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -60,7 +60,6 @@
"name": "a" "name": "a"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -60,7 +60,6 @@
"name": "f" "name": "f"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -60,7 +60,6 @@
"name": "bar" "name": "bar"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -60,7 +60,6 @@
"name": "bar" "name": "bar"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -123,7 +123,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {
@ -191,7 +190,6 @@
"name": "isConstant" "name": "isConstant"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -60,7 +60,6 @@
"name": "x" "name": "x"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -76,7 +76,6 @@
"name": "fn" "name": "fn"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

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

View File

@ -89,7 +89,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

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

View File

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

View File

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

View File

@ -58,7 +58,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

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

View File

@ -58,7 +58,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -58,7 +58,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -58,7 +58,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

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

View File

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

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 6, "start": 6,
@ -122,6 +121,7 @@
}, },
"name": "x" "name": "x"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -159,7 +159,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 12, "start": 12,
@ -177,6 +176,7 @@
}, },
"name": "x" "name": "x"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "NumericLiteral", "type": "NumericLiteral",

View File

@ -60,7 +60,6 @@
"name": "hello" "name": "hello"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -60,7 +60,6 @@
"name": "eval" "name": "eval"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -60,7 +60,6 @@
"name": "arguments" "name": "arguments"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -60,7 +60,6 @@
"name": "test" "name": "test"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -74,7 +74,6 @@
"name": "test" "name": "test"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -60,7 +60,6 @@
"name": "eval" "name": "eval"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -110,7 +109,6 @@
"name": "inner" "name": "inner"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 10, "start": 10,
@ -122,10 +121,10 @@
}, },
"name": "width" "name": "width"
}, },
"computed": false,
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -60,7 +60,6 @@
"name": "hello" "name": "hello"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -60,7 +60,6 @@
"name": "hello" "name": "hello"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -60,7 +60,6 @@
"name": "hello" "name": "hello"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -60,7 +60,6 @@
"name": "hello" "name": "hello"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -90,7 +90,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -90,7 +90,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -106,7 +106,6 @@
"name": "eval" "name": "eval"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -106,7 +106,6 @@
"name": "arguments" "name": "arguments"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -106,7 +106,6 @@
"name": "hi" "name": "hi"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -58,7 +58,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 10, "start": 10,
@ -122,10 +121,10 @@
}, },
"name": "undef" "name": "undef"
}, },
"computed": false,
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 10, "start": 10,
@ -122,10 +121,10 @@
}, },
"name": "if" "name": "if"
}, },
"computed": false,
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -58,7 +58,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -58,7 +58,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -58,7 +58,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -72,7 +72,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 10, "start": 10,
@ -122,10 +121,10 @@
}, },
"name": "true" "name": "true"
}, },
"computed": false,
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 10, "start": 10,
@ -122,10 +121,10 @@
}, },
"name": "false" "name": "false"
}, },
"computed": false,
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

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

View File

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

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 10, "start": 10,
@ -122,10 +121,10 @@
}, },
"name": "null" "name": "null"
}, },
"computed": false,
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "StringLiteral", "type": "StringLiteral",
"start": 10, "start": 10,
@ -125,10 +124,10 @@
}, },
"value": "undef" "value": "undef"
}, },
"computed": false,
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "NumericLiteral", "type": "NumericLiteral",
"start": 10, "start": 10,
@ -125,10 +124,10 @@
}, },
"value": 10 "value": 10
}, },
"computed": false,
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 10, "start": 10,
@ -122,10 +121,10 @@
}, },
"name": "width" "name": "width"
}, },
"computed": false,
"kind": "set", "kind": "set",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 10, "start": 10,
@ -122,10 +121,10 @@
}, },
"name": "if" "name": "if"
}, },
"computed": false,
"kind": "set", "kind": "set",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 10, "start": 10,
@ -122,10 +121,10 @@
}, },
"name": "true" "name": "true"
}, },
"computed": false,
"kind": "set", "kind": "set",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 10, "start": 10,
@ -122,10 +121,10 @@
}, },
"name": "false" "name": "false"
}, },
"computed": false,
"kind": "set", "kind": "set",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 10, "start": 10,
@ -122,10 +121,10 @@
}, },
"name": "null" "name": "null"
}, },
"computed": false,
"kind": "set", "kind": "set",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "StringLiteral", "type": "StringLiteral",
"start": 10, "start": 10,
@ -125,10 +124,10 @@
}, },
"value": "null" "value": "null"
}, },
"computed": false,
"kind": "set", "kind": "set",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -104,7 +104,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "NumericLiteral", "type": "NumericLiteral",
"start": 10, "start": 10,
@ -125,10 +124,10 @@
}, },
"value": 10 "value": 10
}, },
"computed": false,
"kind": "set", "kind": "set",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

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

View File

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

View File

@ -60,7 +60,6 @@
"name": "f" "name": "f"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -72,7 +72,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -60,7 +60,6 @@
"name": "f" "name": "f"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -90,7 +90,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

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

View File

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

View File

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

View File

@ -72,7 +72,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -160,7 +159,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -90,7 +90,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {
@ -123,7 +122,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 14, "start": 14,
@ -141,6 +139,7 @@
}, },
"name": "title" "name": "title"
}, },
"computed": false,
"shorthand": true, "shorthand": true,
"value": { "value": {
"type": "Identifier", "type": "Identifier",

View File

@ -90,7 +90,6 @@
} }
}, },
"static": false, "static": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 18, "start": 18,
@ -108,10 +107,10 @@
}, },
"name": "a" "name": "a"
}, },
"computed": false,
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -147,7 +146,6 @@
} }
}, },
"static": false, "static": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 37, "start": 37,
@ -165,10 +163,10 @@
}, },
"name": "a" "name": "a"
}, },
"computed": false,
"kind": "set", "kind": "set",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {
@ -222,7 +220,6 @@
} }
}, },
"static": false, "static": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 51, "start": 51,
@ -240,10 +237,10 @@
}, },
"name": "constructor" "name": "constructor"
}, },
"computed": false,
"kind": "constructor", "kind": "constructor",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -279,7 +276,6 @@
} }
}, },
"static": false, "static": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 74, "start": 74,
@ -297,10 +293,10 @@
}, },
"name": "a" "name": "a"
}, },
"computed": false,
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -337,7 +333,6 @@
}, },
"static": false, "static": false,
"kind": "method", "kind": "method",
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 91, "start": 91,
@ -355,9 +350,9 @@
}, },
"name": "a" "name": "a"
}, },
"computed": false,
"id": null, "id": null,
"generator": true, "generator": true,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -393,7 +388,6 @@
} }
}, },
"static": true, "static": true,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 119, "start": 119,
@ -411,10 +405,10 @@
}, },
"name": "a" "name": "a"
}, },
"computed": false,
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -450,7 +444,6 @@
} }
}, },
"static": true, "static": true,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 147, "start": 147,
@ -468,10 +461,10 @@
}, },
"name": "a" "name": "a"
}, },
"computed": false,
"kind": "set", "kind": "set",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {
@ -525,7 +518,6 @@
} }
}, },
"static": true, "static": true,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 170, "start": 170,
@ -543,10 +535,10 @@
}, },
"name": "constructor" "name": "constructor"
}, },
"computed": false,
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -582,7 +574,6 @@
} }
}, },
"static": true, "static": true,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 202, "start": 202,
@ -600,10 +591,10 @@
}, },
"name": "a" "name": "a"
}, },
"computed": false,
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -640,7 +631,6 @@
}, },
"static": true, "static": true,
"kind": "method", "kind": "method",
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 228, "start": 228,
@ -658,9 +648,9 @@
}, },
"name": "a" "name": "a"
}, },
"computed": false,
"id": null, "id": null,
"generator": true, "generator": true,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -111,7 +111,6 @@
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -168,7 +167,6 @@
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -225,7 +223,6 @@
"static": false, "static": false,
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -282,7 +279,6 @@
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -342,7 +338,6 @@
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -402,7 +397,6 @@
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -462,7 +456,6 @@
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -519,7 +512,6 @@
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -576,7 +568,6 @@
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -633,7 +624,6 @@
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -690,7 +680,6 @@
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -747,7 +736,6 @@
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -804,7 +792,6 @@
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -861,7 +848,6 @@
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -60,7 +60,6 @@
"name": "Foo" "name": "Foo"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {
@ -195,7 +194,6 @@
"name": "Bar" "name": "Bar"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {
@ -243,7 +241,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -60,7 +60,6 @@
"name": "foo" "name": "foo"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -103,7 +103,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 15, "start": 15,
@ -121,6 +120,7 @@
}, },
"name": "foo" "name": "foo"
}, },
"computed": false,
"shorthand": true, "shorthand": true,
"value": { "value": {
"type": "Identifier", "type": "Identifier",
@ -242,7 +242,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 43, "start": 43,
@ -260,6 +259,7 @@
}, },
"name": "foo" "name": "foo"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "Identifier", "type": "Identifier",
@ -378,7 +378,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 77, "start": 77,
@ -396,6 +395,7 @@
}, },
"name": "foo" "name": "foo"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ObjectPattern", "type": "ObjectPattern",
@ -427,7 +427,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 84, "start": 84,
@ -445,6 +444,7 @@
}, },
"name": "baz" "name": "baz"
}, },
"computed": false,
"shorthand": true, "shorthand": true,
"value": { "value": {
"type": "Identifier", "type": "Identifier",
@ -569,7 +569,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 114, "start": 114,
@ -587,6 +586,7 @@
}, },
"name": "foo" "name": "foo"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ObjectPattern", "type": "ObjectPattern",
@ -618,7 +618,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 121, "start": 121,
@ -636,6 +635,7 @@
}, },
"name": "baz" "name": "baz"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ObjectPattern", "type": "ObjectPattern",
@ -667,7 +667,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 129, "start": 129,
@ -685,6 +684,7 @@
}, },
"name": "qux" "name": "qux"
}, },
"computed": false,
"shorthand": true, "shorthand": true,
"value": { "value": {
"type": "Identifier", "type": "Identifier",
@ -812,7 +812,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 161, "start": 161,
@ -830,6 +829,7 @@
}, },
"name": "foo" "name": "foo"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ObjectPattern", "type": "ObjectPattern",
@ -861,7 +861,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 168, "start": 168,
@ -879,6 +878,7 @@
}, },
"name": "baz" "name": "baz"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ObjectPattern", "type": "ObjectPattern",
@ -910,7 +910,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 176, "start": 176,
@ -928,6 +927,7 @@
}, },
"name": "qux2" "name": "qux2"
}, },
"computed": false,
"shorthand": true, "shorthand": true,
"value": { "value": {
"type": "Identifier", "type": "Identifier",
@ -971,7 +971,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 186, "start": 186,
@ -989,6 +988,7 @@
}, },
"name": "foo3" "name": "foo3"
}, },
"computed": false,
"shorthand": true, "shorthand": true,
"value": { "value": {
"type": "Identifier", "type": "Identifier",
@ -1344,7 +1344,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 272, "start": 272,
@ -1362,6 +1361,7 @@
}, },
"name": "foo" "name": "foo"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ArrayPattern", "type": "ArrayPattern",
@ -1430,7 +1430,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 289, "start": 289,
@ -1448,6 +1447,7 @@
}, },
"name": "foo2" "name": "foo2"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ArrayPattern", "type": "ArrayPattern",
@ -1585,7 +1585,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 327, "start": 327,
@ -1603,6 +1602,7 @@
}, },
"name": "foo" "name": "foo"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ObjectPattern", "type": "ObjectPattern",
@ -1634,7 +1634,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 334, "start": 334,
@ -1652,6 +1651,7 @@
}, },
"name": "baz" "name": "baz"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ObjectPattern", "type": "ObjectPattern",
@ -1683,7 +1683,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 341, "start": 341,
@ -1701,6 +1700,7 @@
}, },
"name": "qux3" "name": "qux3"
}, },
"computed": false,
"shorthand": true, "shorthand": true,
"value": { "value": {
"type": "Identifier", "type": "Identifier",
@ -1744,7 +1744,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 351, "start": 351,
@ -1762,6 +1761,7 @@
}, },
"name": "foo2" "name": "foo2"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ObjectPattern", "type": "ObjectPattern",
@ -1793,7 +1793,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 359, "start": 359,
@ -1811,6 +1810,7 @@
}, },
"name": "baz2" "name": "baz2"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ArrayPattern", "type": "ArrayPattern",
@ -1949,7 +1949,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 397, "start": 397,
@ -1967,6 +1966,7 @@
}, },
"name": "foo" "name": "foo"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ObjectPattern", "type": "ObjectPattern",
@ -1998,7 +1998,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 404, "start": 404,
@ -2016,6 +2015,7 @@
}, },
"name": "baz" "name": "baz"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ObjectPattern", "type": "ObjectPattern",
@ -2047,7 +2047,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 411, "start": 411,
@ -2065,6 +2064,7 @@
}, },
"name": "qux5" "name": "qux5"
}, },
"computed": false,
"shorthand": true, "shorthand": true,
"value": { "value": {
"type": "Identifier", "type": "Identifier",
@ -2108,7 +2108,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 421, "start": 421,
@ -2126,6 +2125,7 @@
}, },
"name": "foo2" "name": "foo2"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ObjectPattern", "type": "ObjectPattern",
@ -2157,7 +2157,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 429, "start": 429,
@ -2175,6 +2174,7 @@
}, },
"name": "baz2" "name": "baz2"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ArrayPattern", "type": "ArrayPattern",
@ -2221,7 +2221,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 437, "start": 437,
@ -2239,6 +2238,7 @@
}, },
"name": "qux6" "name": "qux6"
}, },
"computed": false,
"shorthand": true, "shorthand": true,
"value": { "value": {
"type": "Identifier", "type": "Identifier",
@ -2368,7 +2368,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 469, "start": 469,
@ -2386,6 +2385,7 @@
}, },
"name": "Foo" "name": "Foo"
}, },
"computed": false,
"shorthand": true, "shorthand": true,
"value": { "value": {
"type": "Identifier", "type": "Identifier",
@ -2507,7 +2507,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 497, "start": 497,
@ -2525,6 +2524,7 @@
}, },
"name": "foo" "name": "foo"
}, },
"computed": false,
"shorthand": false, "shorthand": false,
"value": { "value": {
"type": "ArrayPattern", "type": "ArrayPattern",

View File

@ -58,7 +58,6 @@
}, },
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -74,7 +74,6 @@
"name": "a" "name": "a"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -74,7 +74,6 @@
"name": "a" "name": "a"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -159,7 +159,6 @@
} }
}, },
"method": false, "method": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 18, "start": 18,
@ -177,6 +176,7 @@
}, },
"name": "bar" "name": "bar"
}, },
"computed": false,
"shorthand": true, "shorthand": true,
"value": { "value": {
"type": "Identifier", "type": "Identifier",

View File

@ -74,7 +74,6 @@
"name": "bar" "name": "bar"
}, },
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -60,7 +60,6 @@
"name": "t" "name": "t"
}, },
"generator": true, "generator": true,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -90,7 +90,6 @@
} }
}, },
"static": false, "static": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 9, "start": 9,
@ -108,10 +107,10 @@
}, },
"name": "get" "name": "get"
}, },
"computed": false,
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -90,7 +90,6 @@
} }
}, },
"static": true, "static": true,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 17, "start": 17,
@ -108,10 +107,10 @@
}, },
"name": "get" "name": "get"
}, },
"computed": false,
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -106,7 +106,6 @@
} }
}, },
"static": false, "static": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 23, "start": 23,
@ -124,10 +123,10 @@
}, },
"name": "foo" "name": "foo"
}, },
"computed": false,
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -106,7 +106,6 @@
} }
}, },
"static": true, "static": true,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 31, "start": 31,
@ -124,10 +123,10 @@
}, },
"name": "foo" "name": "foo"
}, },
"computed": false,
"kind": "get", "kind": "get",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [], "params": [],
"body": { "body": {

View File

@ -90,7 +90,6 @@
} }
}, },
"static": false, "static": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 13, "start": 13,
@ -108,10 +107,10 @@
}, },
"name": "a" "name": "a"
}, },
"computed": false,
"kind": "set", "kind": "set",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -90,7 +90,6 @@
} }
}, },
"static": true, "static": true,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 21, "start": 21,
@ -108,10 +107,10 @@
}, },
"name": "a" "name": "a"
}, },
"computed": false,
"kind": "set", "kind": "set",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -90,7 +90,6 @@
} }
}, },
"static": false, "static": false,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 9, "start": 9,
@ -108,10 +107,10 @@
}, },
"name": "set" "name": "set"
}, },
"computed": false,
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -90,7 +90,6 @@
} }
}, },
"static": true, "static": true,
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 17, "start": 17,
@ -108,10 +107,10 @@
}, },
"name": "set" "name": "set"
}, },
"computed": false,
"kind": "method", "kind": "method",
"id": null, "id": null,
"generator": false, "generator": false,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -91,7 +91,6 @@
}, },
"static": false, "static": false,
"kind": "method", "kind": "method",
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 10, "start": 10,
@ -109,9 +108,9 @@
}, },
"name": "gen" "name": "gen"
}, },
"computed": false,
"id": null, "id": null,
"generator": true, "generator": true,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

View File

@ -91,7 +91,6 @@
}, },
"static": true, "static": true,
"kind": "method", "kind": "method",
"computed": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"start": 18, "start": 18,
@ -109,9 +108,9 @@
}, },
"name": "gen" "name": "gen"
}, },
"computed": false,
"id": null, "id": null,
"generator": true, "generator": true,
"expression": false,
"async": false, "async": false,
"params": [ "params": [
{ {

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