From 6d820a27578254603ad6d6623277f31d5410a37c Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Thu, 23 Nov 2017 21:12:13 +0000 Subject: [PATCH] removing expression field from ArrowFunctionExpression (#6836) --- packages/babylon/ast/spec.md | 1 - packages/babylon/src/parser/expression.js | 14 ++--- packages/babylon/src/plugins/estree.js | 22 ++++++-- .../pass/3/expected.json | 1 - .../expected.json | 3 +- .../expected.json | 4 +- .../expected.json | 12 ++--- .../basic/shebang-object/expected.json | 2 +- .../surrounding-call-comments/expected.json | 1 - .../expected.json | 1 - .../surrounding-return-comments/expected.json | 1 - .../surrounding-throw-comments/expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 2 - .../core/regression/2591/expected.json | 1 - .../module-export-named/expected.json | 1 - .../core/uncategorised/22/expected.json | 2 +- .../core/uncategorised/229/expected.json | 1 - .../core/uncategorised/23/expected.json | 2 +- .../core/uncategorised/24/expected.json | 2 +- .../core/uncategorised/25/expected.json | 2 +- .../core/uncategorised/259/expected.json | 1 - .../core/uncategorised/26/expected.json | 2 +- .../core/uncategorised/260/expected.json | 1 - .../core/uncategorised/261/expected.json | 1 - .../core/uncategorised/262/expected.json | 1 - .../core/uncategorised/27/expected.json | 2 +- .../core/uncategorised/275/expected.json | 2 +- .../core/uncategorised/28/expected.json | 4 +- .../core/uncategorised/284/expected.json | 1 - .../core/uncategorised/285/expected.json | 1 - .../core/uncategorised/286/expected.json | 1 - .../core/uncategorised/287/expected.json | 1 - .../core/uncategorised/288/expected.json | 1 - .../core/uncategorised/289/expected.json | 2 - .../core/uncategorised/29/expected.json | 3 +- .../core/uncategorised/290/expected.json | 1 - .../core/uncategorised/291/expected.json | 1 - .../core/uncategorised/292/expected.json | 1 - .../core/uncategorised/293/expected.json | 1 - .../core/uncategorised/294/expected.json | 1 - .../core/uncategorised/295/expected.json | 1 - .../core/uncategorised/296/expected.json | 1 - .../core/uncategorised/297/expected.json | 1 - .../core/uncategorised/298/expected.json | 1 - .../core/uncategorised/299/expected.json | 1 - .../core/uncategorised/30/expected.json | 3 +- .../core/uncategorised/31/expected.json | 3 +- .../core/uncategorised/310/expected.json | 1 - .../core/uncategorised/311/expected.json | 1 - .../core/uncategorised/312/expected.json | 1 - .../core/uncategorised/318/expected.json | 1 - .../core/uncategorised/32/expected.json | 3 +- .../core/uncategorised/33/expected.json | 3 +- .../core/uncategorised/335/expected.json | 2 +- .../core/uncategorised/338/expected.json | 2 +- .../core/uncategorised/34/expected.json | 3 +- .../core/uncategorised/35/expected.json | 3 +- .../core/uncategorised/36/expected.json | 3 +- .../core/uncategorised/37/expected.json | 3 +- .../core/uncategorised/38/expected.json | 3 +- .../core/uncategorised/39/expected.json | 3 +- .../core/uncategorised/40/expected.json | 3 +- .../core/uncategorised/41/expected.json | 3 +- .../core/uncategorised/42/expected.json | 3 +- .../core/uncategorised/43/expected.json | 3 +- .../core/uncategorised/44/expected.json | 2 +- .../core/uncategorised/45/expected.json | 2 +- .../core/uncategorised/539/expected.json | 1 - .../core/uncategorised/540/expected.json | 1 - .../core/uncategorised/541/expected.json | 1 - .../core/uncategorised/543/expected.json | 1 - .../core/uncategorised/546/expected.json | 2 +- .../core/uncategorised/549/expected.json | 2 +- .../with-object/expected.json | 2 +- .../in-logic-expression/expected.json | 2 - .../object-rest-spread/expected.json | 3 +- .../class-methods/linebreaks/expected.json | 30 ++++------- .../class-methods/tricky-names/expected.json | 14 ----- .../new-target-inside-params/expected.json | 3 -- .../meta-properties/new-target/expected.json | 1 - .../expected.json | 52 +++++++++---------- .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../es2015/regression/186/expected.json | 2 +- .../label-valid-func-non-strict/expected.json | 1 - .../es2015/uncategorised/105/expected.json | 1 - .../es2015/uncategorised/113/expected.json | 3 +- .../es2015/uncategorised/114/expected.json | 3 +- .../es2015/uncategorised/115/expected.json | 3 +- .../es2015/uncategorised/116/expected.json | 3 +- .../es2015/uncategorised/117/expected.json | 3 +- .../es2015/uncategorised/118/expected.json | 3 +- .../es2015/uncategorised/119/expected.json | 3 +- .../es2015/uncategorised/120/expected.json | 3 +- .../es2015/uncategorised/121/expected.json | 3 +- .../es2015/uncategorised/122/expected.json | 3 +- .../es2015/uncategorised/123/expected.json | 3 +- .../es2015/uncategorised/124/expected.json | 3 +- .../es2015/uncategorised/128/expected.json | 3 +- .../es2015/uncategorised/129/expected.json | 6 +-- .../es2015/uncategorised/131/expected.json | 6 +-- .../es2015/uncategorised/132/expected.json | 6 +-- .../es2015/uncategorised/133/expected.json | 6 +-- .../es2015/uncategorised/134/expected.json | 6 +-- .../es2015/uncategorised/135/expected.json | 12 ++--- .../es2015/uncategorised/136/expected.json | 1 - .../es2015/uncategorised/137/expected.json | 3 +- .../es2015/uncategorised/138/expected.json | 6 +-- .../es2015/uncategorised/139/expected.json | 6 +-- .../es2015/uncategorised/143/expected.json | 1 - .../es2015/uncategorised/144/expected.json | 2 +- .../es2015/uncategorised/145/expected.json | 6 +-- .../es2015/uncategorised/146/expected.json | 1 - .../es2015/uncategorised/147/expected.json | 2 +- .../es2015/uncategorised/148/expected.json | 1 - .../es2015/uncategorised/149/expected.json | 1 - .../es2015/uncategorised/150/expected.json | 1 - .../es2015/uncategorised/152/expected.json | 1 - .../es2015/uncategorised/153/expected.json | 5 +- .../es2015/uncategorised/154/expected.json | 5 +- .../es2015/uncategorised/155/expected.json | 7 ++- .../es2015/uncategorised/156/expected.json | 7 ++- .../es2015/uncategorised/157/expected.json | 7 ++- .../es2015/uncategorised/158/expected.json | 5 +- .../es2015/uncategorised/159/expected.json | 1 - .../es2015/uncategorised/160/expected.json | 1 - .../es2015/uncategorised/161/expected.json | 3 +- .../es2015/uncategorised/162/expected.json | 3 +- .../es2015/uncategorised/163/expected.json | 1 - .../es2015/uncategorised/164/expected.json | 1 - .../es2015/uncategorised/165/expected.json | 5 +- .../es2015/uncategorised/166/expected.json | 3 +- .../es2015/uncategorised/167/expected.json | 1 - .../es2015/uncategorised/168/expected.json | 9 ++-- .../es2015/uncategorised/169/expected.json | 1 - .../es2015/uncategorised/170/expected.json | 5 +- .../es2015/uncategorised/171/expected.json | 1 - .../es2015/uncategorised/172/expected.json | 9 ++-- .../es2015/uncategorised/173/expected.json | 3 +- .../es2015/uncategorised/174/expected.json | 3 +- .../es2015/uncategorised/175/expected.json | 11 ++-- .../es2015/uncategorised/176/expected.json | 1 - .../es2015/uncategorised/177/expected.json | 1 - .../es2015/uncategorised/178/expected.json | 3 +- .../es2015/uncategorised/179/expected.json | 3 +- .../es2015/uncategorised/180/expected.json | 1 - .../es2015/uncategorised/181/expected.json | 1 - .../es2015/uncategorised/182/expected.json | 3 +- .../es2015/uncategorised/183/expected.json | 5 +- .../es2015/uncategorised/186/expected.json | 4 +- .../es2015/uncategorised/190/expected.json | 4 +- .../es2015/uncategorised/26/expected.json | 5 +- .../es2015/uncategorised/279/expected.json | 3 +- .../es2015/uncategorised/28/expected.json | 1 - .../es2015/uncategorised/29/expected.json | 1 - .../es2015/uncategorised/30/expected.json | 1 - .../es2015/uncategorised/300/expected.json | 1 - .../es2015/uncategorised/303/expected.json | 2 +- .../es2015/uncategorised/304/expected.json | 2 +- .../es2015/uncategorised/305/expected.json | 2 +- .../es2015/uncategorised/307/expected.json | 2 +- .../es2015/uncategorised/308/expected.json | 3 +- .../es2015/uncategorised/309/expected.json | 4 +- .../es2015/uncategorised/31/expected.json | 1 - .../es2015/uncategorised/310/expected.json | 2 +- .../es2015/uncategorised/313/expected.json | 2 +- .../es2015/uncategorised/314/expected.json | 3 +- .../es2015/uncategorised/316/expected.json | 3 +- .../es2015/uncategorised/32/expected.json | 1 - .../es2015/uncategorised/321/expected.json | 2 +- .../es2015/uncategorised/33/expected.json | 3 +- .../es2015/uncategorised/338/expected.json | 1 - .../es2015/uncategorised/34/expected.json | 1 - .../es2015/uncategorised/35/expected.json | 1 - .../es2015/uncategorised/350/expected.json | 2 +- .../es2015/uncategorised/351/expected.json | 5 +- .../es2015/uncategorised/352/expected.json | 5 +- .../es2015/uncategorised/355/expected.json | 3 +- .../es2015/uncategorised/36/expected.json | 1 - .../es2015/uncategorised/360/expected.json | 2 +- .../es2015/uncategorised/362/expected.json | 3 +- .../es2015/uncategorised/364/expected.json | 1 - .../es2015/uncategorised/384/expected.json | 1 - .../es2015/uncategorised/385/expected.json | 1 - .../es2015/uncategorised/39/expected.json | 1 - .../es2015/uncategorised/391/expected.json | 1 - .../es2015/uncategorised/393/expected.json | 3 +- .../es2015/uncategorised/40/expected.json | 1 - .../es2015/uncategorised/41/expected.json | 1 - .../es2015/uncategorised/42/expected.json | 1 - .../es2015/uncategorised/43/expected.json | 1 - .../es2015/uncategorised/44/expected.json | 1 - .../es2015/uncategorised/45/expected.json | 1 - .../es2015/uncategorised/46/expected.json | 1 - .../es2015/uncategorised/47/expected.json | 2 - .../es2015/uncategorised/48/expected.json | 2 - .../es2015/uncategorised/49/expected.json | 1 - .../es2015/uncategorised/5/expected.json | 1 - .../es2015/uncategorised/50/expected.json | 1 - .../es2015/uncategorised/52/expected.json | 3 +- .../es2015/uncategorised/53/expected.json | 3 +- .../es2015/uncategorised/54/expected.json | 3 +- .../es2015/uncategorised/55/expected.json | 3 +- .../es2015/uncategorised/56/expected.json | 3 +- .../es2015/uncategorised/61/expected.json | 4 +- .../es2015/uncategorised/63/expected.json | 2 +- .../es2015/uncategorised/65/expected.json | 2 +- .../es2015/uncategorised/67/expected.json | 2 +- .../es2015/uncategorised/69/expected.json | 2 +- .../es2015/uncategorised/70/expected.json | 2 +- .../es2015/uncategorised/71/expected.json | 2 +- .../es2015/uncategorised/77/expected.json | 1 - .../es2015/uncategorised/80/expected.json | 1 - .../es2015/uncategorised/81/expected.json | 1 - .../es2015/uncategorised/9/expected.json | 1 - .../fixtures/es2015/yield/asi/expected.json | 1 - .../yield/basic-with-argument/expected.json | 1 - .../basic-without-argument/expected.json | 1 - .../expected.json | 1 - .../expected.json | 2 - .../expected.json | 1 - .../expected.json | 3 +- .../expected.json | 1 - .../expected.json | 3 +- .../expected.json | 2 - .../expected.json | 3 -- .../expected.json | 3 -- .../expected.json | 1 - .../expected.json | 2 - .../expected.json | 1 - .../expected.json | 3 -- .../expected.json | 1 - .../yield/parameter-name-arrow/expected.json | 1 - .../parameter-name-function/expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 3 +- .../expected.json | 1 - .../expected.json | 1 - .../es2015/yield/yield-yield/expected.json | 1 - .../arrow-function-concise-body/expected.json | 1 - .../expected.json | 1 - .../es2017/async-functions/1/expected.json | 1 - .../es2017/async-functions/11/expected.json | 1 - .../es2017/async-functions/12/expected.json | 1 - .../es2017/async-functions/13/expected.json | 2 - .../es2017/async-functions/14/expected.json | 1 - .../es2017/async-functions/15/expected.json | 5 +- .../es2017/async-functions/16/expected.json | 3 +- .../es2017/async-functions/17/expected.json | 1 - .../es2017/async-functions/18/expected.json | 1 - .../es2017/async-functions/21/expected.json | 1 - .../es2017/async-functions/22/expected.json | 3 +- .../es2017/async-functions/24/expected.json | 1 - .../es2017/async-functions/25/expected.json | 1 - .../es2017/async-functions/26/expected.json | 1 - .../es2017/async-functions/27/expected.json | 1 - .../es2017/async-functions/28/expected.json | 1 - .../es2017/async-functions/29/expected.json | 3 +- .../es2017/async-functions/30/expected.json | 3 +- .../es2017/async-functions/31/expected.json | 1 - .../es2017/async-functions/32/expected.json | 1 - .../es2017/async-functions/33/expected.json | 3 +- .../es2017/async-functions/34/expected.json | 3 +- .../es2017/async-functions/37/expected.json | 2 +- .../es2017/async-functions/38/expected.json | 2 +- .../es2017/async-functions/8/expected.json | 2 +- .../export-arrow/expected.json | 1 - .../async-functions/export/expected.json | 2 - .../object-default-params/expected.json | 3 +- .../trailing-function-commas/2/expected.json | 1 - .../trailing-function-commas/3/expected.json | 3 +- .../trailing-function-commas/4/expected.json | 1 - .../migrated_0010/expected.json | 1 - .../migrated_0011/expected.json | 1 - .../migrated_0012/expected.json | 1 - .../migrated_0000/expected.json | 1 - .../migrated_0001/expected.json | 1 - .../migrated_0002/expected.json | 1 - .../migrated_0003/expected.json | 1 - .../migrated_0004/expected.json | 1 - .../migrated_0005/expected.json | 2 - .../migrated_0006/expected.json | 1 - .../migrated_0007/expected.json | 1 - .../migrated_0008/expected.json | 1 - .../migrated_0009/expected.json | 1 - .../migrated_0010/expected.json | 1 - .../migrated_0011/expected.json | 1 - .../migrated_0012/expected.json | 1 - .../migrated_0013/expected.json | 1 - .../migrated_0014/expected.json | 1 - .../migrated_0000/expected.json | 1 - .../migrated_0001/expected.json | 1 - .../array-binding-pattern-01/expected.json | 1 - .../array-binding-pattern-02/expected.json | 1 - .../array-binding-pattern-03/expected.json | 1 - .../array-binding-pattern-empty/expected.json | 1 - .../elision/expected.json | 1 - .../empty-pattern-fn/expected.json | 1 - .../patterned-catch/expected.json | 6 +-- .../with-default-fn/expected.json | 1 - .../with-object-pattern/expected.json | 2 +- .../expected.json | 1 - .../arrow-with-only-rest/expected.json | 1 - .../migrated_0000/expected.json | 1 - .../migrated_0001/expected.json | 1 - .../migrated_0002/expected.json | 1 - .../migrated_0003/expected.json | 1 - .../migrated_0004/expected.json | 1 - .../migrated_0005/expected.json | 3 +- .../migrated_0006/expected.json | 1 - .../migrated_0007/expected.json | 1 - .../migrated_0008/expected.json | 1 - .../migrated_0009/expected.json | 1 - .../migrated_0010/expected.json | 1 - .../migrated_0011/expected.json | 1 - .../migrated_0012/expected.json | 1 - .../migrated_0013/expected.json | 1 - .../migrated_0014/expected.json | 1 - .../migrated_0015/expected.json | 1 - .../migrated_0016/expected.json | 2 - .../migrated_0017/expected.json | 2 - .../migrated_0018/expected.json | 1 - .../migrated_0019/expected.json | 1 - .../migrated_0020/expected.json | 1 - .../es2015-class/migrated_0004/expected.json | 3 +- .../es2015-class/migrated_0005/expected.json | 6 +-- .../es2015-class/migrated_0006/expected.json | 6 +-- .../es2015-class/migrated_0007/expected.json | 6 +-- .../es2015-class/migrated_0008/expected.json | 6 +-- .../es2015-class/migrated_0009/expected.json | 3 +- .../es2015-class/migrated_0010/expected.json | 6 +-- .../es2015-class/migrated_0011/expected.json | 9 ++-- .../es2015-class/migrated_0012/expected.json | 3 +- .../es2015-class/migrated_0013/expected.json | 1 - .../es2015-class/migrated_0014/expected.json | 2 - .../es2015-class/migrated_0015/expected.json | 3 +- .../es2015-class/migrated_0017/expected.json | 3 +- .../es2015-class/migrated_0018/expected.json | 3 +- .../es2015-class/migrated_0019/expected.json | 4 +- .../es2015-class/migrated_0020/expected.json | 6 +-- .../es2015-class/migrated_0021/expected.json | 1 - .../migrated_0000/expected.json | 1 - .../migrated_0001/expected.json | 1 - .../migrated_0002/expected.json | 3 +- .../nested-cover-grammar/expected.json | 2 +- .../nested-cover-grammar/expected.json | 2 +- .../object-pattern-assignment/expected.json | 12 ++--- .../export-default-function/expected.json | 1 - .../expected.json | 1 - .../export-default-object/expected.json | 2 +- .../export-function-declaration/expected.json | 1 - .../export-function/expected.json | 1 - .../expected.json | 1 - .../for-of-object-pattern-const/expected.json | 4 +- .../for-of-object-pattern/expected.json | 4 +- .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../generator-declaration/expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../generator-expression/expected.json | 1 - .../expected.json | 2 - .../expected.json | 3 +- .../expected.json | 3 +- .../expected.json | 3 +- .../expected.json | 3 +- .../generator-method-with-yield/expected.json | 3 +- .../generator-method/expected.json | 3 +- .../expected.json | 1 - .../static-generator-method/expected.json | 3 +- .../assign-new-target/expected.json | 1 - .../new-new-target/expected.json | 1 - .../new-target-declaration/expected.json | 1 - .../new-target-expression/expected.json | 1 - .../new-target-invoke/expected.json | 1 - .../new-target-precedence/expected.json | 1 - .../migrated_0000/expected.json | 3 +- .../migrated_0001/expected.json | 3 +- .../migrated_0002/expected.json | 3 +- .../migrated_0003/expected.json | 3 +- .../migrated_0004/expected.json | 3 +- .../expected.json | 8 ++- .../proto-identifier-getter/expected.json | 5 +- .../proto-identifier-method/expected.json | 5 +- .../proto-identifier-setter/expected.json | 5 +- .../proto-literal-getter-setter/expected.json | 8 ++- .../proto-literal-getter/expected.json | 5 +- .../proto-literal-method/expected.json | 5 +- .../proto-literal-setter/expected.json | 5 +- .../migrated_0000/expected.json | 4 +- .../elision/expected.json | 2 +- .../empty-fn/expected.json | 1 - .../nested/expected.json | 2 +- .../properties/expected.json | 8 +-- .../migrated_0002/expected.json | 1 - .../migrated_0006/expected.json | 1 - .../function-declaration/expected.json | 1 - .../function-expression/expected.json | 1 - .../object-method/expected.json | 3 +- .../object-shorthand-method/expected.json | 3 +- .../arrow_super/expected.json | 4 +- .../constructor_super/expected.json | 3 +- .../new_super/expected.json | 3 +- .../super_computed/expected.json | 3 +- .../super_member/expected.json | 3 +- .../yield-arrow-concise-body/expected.json | 1 - .../yield-arrow-function-body/expected.json | 1 - .../expected.json | 1 - .../yield-arrow-parameter-name/expected.json | 1 - .../yield-binding-element/expected.json | 2 +- .../yield-binding-property/expected.json | 2 +- .../expected.json | 1 - .../yield-expression-precedence/expected.json | 1 - .../expected.json | 1 - .../yield-function-declaration/expected.json | 1 - .../expected.json | 1 - .../yield-function-expression/expected.json | 1 - .../expected.json | 2 - .../expected.json | 2 - .../yield-generator-declaration/expected.json | 1 - .../expected.json | 2 - .../expected.json | 2 - .../yield-generator-method/expected.json | 3 +- .../expected.json | 3 +- .../expected.json | 1 - .../es2015-yield/yield-method/expected.json | 3 +- .../expected.json | 3 +- .../yield-rest-parameter/expected.json | 1 - .../expected.json | 2 +- .../yield-strict-method/expected.json | 3 +- .../yield-super-property/expected.json | 3 +- .../expected.json | 1 - .../yield-yield-expression/expected.json | 1 - .../arrow-rest-parameter-array/expected.json | 1 - .../arrow-rest-parameter-object/expected.json | 3 +- .../function-declaration/expected.json | 1 - .../function-expression/expected.json | 1 - .../invalid-setter-rest/expected.json | 3 +- .../object-method/expected.json | 3 +- .../object-shorthand-method/expected.json | 3 +- .../rest-parameter-array/expected.json | 1 - .../rest-parameter-object/expected.json | 3 +- .../statement-if/migrated_0001/expected.json | 1 - .../migrated_0000/expected.json | 1 - .../migrated_0001/expected.json | 1 - .../migrated_0002/expected.json | 1 - .../migrated_0003/expected.json | 1 - .../migrated_0002/expected.json | 2 +- .../estree/class-method/basic/expected.json | 4 +- .../estree/class-method/flow/expected.json | 4 +- .../estree/directives/block/expected.json | 2 +- .../function-non-strict/expected.json | 2 +- .../estree/directives/raw/expected.json | 2 +- .../estree/object-method/basic/expected.json | 4 +- .../object-property/basic/expected.json | 2 +- .../class-method-2/expected.json | 3 +- .../class-method/expected.json | 3 +- .../async-generators/for-await/expected.json | 1 - .../object-method/expected.json | 3 +- .../bigint/valid-large/expected.json | 2 +- .../bigint/valid-small/expected.json | 2 +- .../async-generator/expected.json | 3 +- .../class-private-methods/async/expected.json | 3 +- .../combined/expected.json | 6 +-- .../generator/expected.json | 3 +- .../get-set/expected.json | 4 +- .../method/expected.json | 3 +- .../asi-success/expected.json | 2 +- .../inline/expected.json | 2 +- .../nested/expected.json | 16 +----- .../pbn-success/expected.json | 9 +--- .../static/expected.json | 2 +- .../asi-success/expected.json | 7 ++- .../class-properties/computed/expected.json | 1 - .../class-properties/edge-cases/expected.json | 41 +++++++-------- .../class-properties/inline/expected.json | 8 +-- .../new-target-with-flow/expected.json | 4 -- .../class-properties/new-target/expected.json | 4 -- .../class-properties/super/expected.json | 5 +- .../class-expression/expected.json | 3 +- .../class-generator/expected.json | 3 +- .../decorators-2/complex-expr/expected.json | 3 +- .../decoratorception-class/expected.json | 2 +- .../decoratorception-method/expected.json | 8 ++- .../decorators-2/get-decorator/expected.json | 1 - .../on-computed-name-method/expected.json | 1 - .../decorators-2/set-decorator/expected.json | 1 - .../decorators-2/static-method/expected.json | 3 +- .../class-decorator-getter/expected.json | 3 +- .../class-decorator-setter/expected.json | 3 +- .../class-decorators-multiple/expected.json | 3 +- .../class-method-parameter/expected.json | 5 +- .../expected.json | 2 +- .../computed-member-expression/expected.json | 3 +- .../expected.json | 3 +- .../expected.json | 3 +- .../expected.json | 3 +- .../expected.json | 3 +- .../decorators/method-decorator/expected.json | 3 +- .../decorators/object-decorator/expected.json | 2 +- .../object-method-parameter/expected.json | 5 +- .../do-expressions/with-jsx/expected.json | 1 - .../dynamic-import/generator/expected.json | 1 - .../inside-function/expected.json | 1 - .../dynamic-import/top-level/expected.json | 1 - .../variable-arguments/expected.json | 1 - .../expected.json | 1 - .../enabled-call-statement/expected.json | 1 - .../function-sent/enabled-call/expected.json | 1 - .../enabled-if-statement/expected.json | 1 - .../enabled-inside-generator/expected.json | 1 - .../enabled-statement/expected.json | 1 - .../object-rest-spread/10/expected.json | 4 +- .../object-rest-spread/2/expected.json | 2 +- .../object-rest-spread/3/expected.json | 3 +- .../object-rest-spread/5/expected.json | 2 +- .../object-rest-spread/6/expected.json | 6 +-- .../class-contructor-call/expected.json | 30 +++++------ .../conditional-decimal/expected.json | 2 +- .../function-call/expected.json | 10 ++-- .../member-access/expected.json | 12 ++--- .../pipeline-operator/chain/expected.json | 1 - .../precedence/expected.json | 2 +- .../with-arrow/expected.json | 1 - .../throw-expression/comma/expected.json | 1 - .../throw-expression/expression/expected.json | 1 - .../throw-expression/logical/expected.json | 1 - .../throw-expression/statement/expected.json | 1 - .../uncategorised/43/expected.json | 2 +- .../uncategorised/44/expected.json | 2 +- .../uncategorised/45/expected.json | 2 +- .../uncategorised/46/expected.json | 2 +- .../uncategorised/47/expected.json | 2 +- .../uncategorised/48/expected.json | 2 +- .../uncategorised/49/expected.json | 2 +- .../uncategorised/62/expected.json | 1 - .../good_03/expected.json | 1 - .../good_04/expected.json | 1 - .../good_05/expected.json | 1 - .../good_13/expected.json | 3 +- .../good_10/expected.json | 1 - .../good_11/expected.json | 1 - .../good_12/expected.json | 1 - .../good_13/expected.json | 1 - .../good_14/expected.json | 1 - .../flow/bounded-polymorphism/2/expected.json | 1 - .../expected.json | 2 +- .../expected.json | 3 +- .../flow/comment/spread/expected.json | 2 - .../flow/def-site-variance/1/expected.json | 1 - .../literal-types/string-double/expected.json | 1 - .../literal-types/string-single/expected.json | 1 - .../flow/optional-type/1/expected.json | 1 - .../flow/optional-type/3/expected.json | 1 - .../flow/optional-type/4/expected.json | 1 - .../fixtures/flow/predicates/2/expected.json | 1 - .../fixtures/flow/predicates/3/expected.json | 1 - .../flow/regression/issue-166/expected.json | 1 - .../flow/regression/issue-2083/expected.json | 6 +-- .../flow/regression/issue-2493/expected.json | 1 - .../flow/regression/issue-321/expected.json | 2 - .../flow/regression/issue-336/expected.json | 1 - .../flow/regression/issue-58/expected.json | 39 -------------- .../flow/regression/issue-593/expected.json | 1 - .../flow/regression/issue-92/expected.json | 1 - .../1/expected.json | 1 - .../flow/type-annotations/1/expected.json | 1 - .../flow/type-annotations/10/expected.json | 1 - .../flow/type-annotations/100/expected.json | 3 +- .../flow/type-annotations/101/expected.json | 1 - .../flow/type-annotations/102/expected.json | 1 - .../flow/type-annotations/103/expected.json | 1 - .../flow/type-annotations/104/expected.json | 6 +-- .../flow/type-annotations/105/expected.json | 1 - .../flow/type-annotations/107/expected.json | 3 +- .../flow/type-annotations/108/expected.json | 24 ++++----- .../flow/type-annotations/11/expected.json | 1 - .../flow/type-annotations/118/expected.json | 2 +- .../flow/type-annotations/119/expected.json | 2 +- .../flow/type-annotations/12/expected.json | 1 - .../flow/type-annotations/13/expected.json | 1 - .../flow/type-annotations/130/expected.json | 1 - .../flow/type-annotations/14/expected.json | 1 - .../flow/type-annotations/15/expected.json | 1 - .../flow/type-annotations/16/expected.json | 1 - .../flow/type-annotations/17/expected.json | 1 - .../flow/type-annotations/18/expected.json | 1 - .../flow/type-annotations/19/expected.json | 1 - .../flow/type-annotations/2/expected.json | 1 - .../flow/type-annotations/20/expected.json | 3 +- .../flow/type-annotations/21/expected.json | 3 +- .../flow/type-annotations/22/expected.json | 3 +- .../flow/type-annotations/23/expected.json | 3 +- .../flow/type-annotations/24/expected.json | 3 +- .../flow/type-annotations/25/expected.json | 3 +- .../flow/type-annotations/26/expected.json | 3 +- .../flow/type-annotations/27/expected.json | 3 +- .../flow/type-annotations/28/expected.json | 3 +- .../flow/type-annotations/29/expected.json | 3 +- .../flow/type-annotations/3/expected.json | 1 - .../flow/type-annotations/4/expected.json | 1 - .../flow/type-annotations/5/expected.json | 1 - .../flow/type-annotations/50/expected.json | 3 +- .../flow/type-annotations/51/expected.json | 3 +- .../flow/type-annotations/52/expected.json | 1 - .../flow/type-annotations/53/expected.json | 4 +- .../flow/type-annotations/54/expected.json | 4 +- .../flow/type-annotations/56/expected.json | 3 +- .../flow/type-annotations/6/expected.json | 1 - .../flow/type-annotations/60/expected.json | 4 +- .../flow/type-annotations/61/expected.json | 4 +- .../flow/type-annotations/63/expected.json | 3 +- .../flow/type-annotations/64/expected.json | 1 - .../flow/type-annotations/65/expected.json | 1 - .../flow/type-annotations/66/expected.json | 1 - .../flow/type-annotations/67/expected.json | 1 - .../flow/type-annotations/68/expected.json | 1 - .../flow/type-annotations/69/expected.json | 1 - .../flow/type-annotations/7/expected.json | 1 - .../flow/type-annotations/70/expected.json | 1 - .../flow/type-annotations/71/expected.json | 1 - .../flow/type-annotations/72/expected.json | 1 - .../flow/type-annotations/73/expected.json | 1 - .../flow/type-annotations/74/expected.json | 1 - .../flow/type-annotations/75/expected.json | 1 - .../flow/type-annotations/76/expected.json | 1 - .../flow/type-annotations/77/expected.json | 1 - .../flow/type-annotations/79/expected.json | 1 - .../flow/type-annotations/8/expected.json | 1 - .../flow/type-annotations/80/expected.json | 1 - .../flow/type-annotations/9/expected.json | 1 - .../flow/type-annotations/97/expected.json | 3 +- .../flow/type-annotations/99/expected.json | 1 - .../arrow-func-return-newline/expected.json | 1 - .../existential-type-param-2/expected.json | 1 - .../expected.json | 1 - .../with-default-valid/expected.json | 1 - .../flow/type-generics/1/expected.json | 4 +- .../flow/type-generics/2/expected.json | 1 - .../type-generics/async-arrow/expected.json | 7 ++- .../arrow_with_jsx/expected.json | 4 -- .../arrow_without_jsx/expected.json | 4 -- .../class-method-reserved-word/expected.json | 24 +++------ .../expected.json | 3 +- .../object-reserved-word/expected.json | 12 ++--- .../fixtures/flow/typecasts/2/expected.json | 4 +- .../fixtures/flow/typecasts/3/expected.json | 1 - .../yield-extra-parentheses/expected.json | 1 - .../flow/typecasts/yield/expected.json | 1 - .../test/fixtures/jsx/basic/asi/expected.json | 1 - .../jsx/basic/fragment-1/expected.json | 2 +- .../jsx/basic/yield-tag/expected.json | 1 - .../fixtures/jsx/regression/3/expected.json | 2 +- .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../array-pattern-empty/expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 7 ++- .../expected.json | 1 - .../array-pattern-multi-element/expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 3 +- .../expected.json | 1 - .../expected.json | 1 - .../expected.json | 3 +- .../expected.json | 1 - .../expected.json | 3 +- .../object-pattern-empty/expected.json | 1 - .../expected.json | 7 ++- .../expected.json | 7 ++- .../expected.json | 7 ++- .../expected.json | 13 +++-- .../expected.json | 7 ++- .../expected.json | 3 +- .../expected.json | 3 +- .../expected.json | 3 +- .../expected.json | 5 +- .../expected.json | 3 +- .../arrow-function/annotated/expected.json | 3 +- .../expected.json | 2 +- .../async-generic/expected.json | 2 +- .../arrow-function/async/expected.json | 3 +- .../default-parameter-values/expected.json | 3 +- .../destructuring/expected.json | 3 +- .../arrow-function/generic-tsx/expected.json | 3 +- .../arrow-function/generic/expected.json | 3 +- .../optional-parameter/expected.json | 3 +- .../predicate-types/expected.json | 3 +- .../class/constructor/expected.json | 11 ++-- .../typescript/class/declare/expected.json | 12 ++--- .../expected.json | 2 +- .../class/expression-extends/expected.json | 2 +- .../class/expression-generic/expected.json | 2 +- .../class/expression-implements/expected.json | 2 +- .../class/extends-implements/expected.json | 2 +- .../typescript/class/extends/expected.json | 2 +- .../typescript/class/generic/expected.json | 4 +- .../class/get-generic/expected.json | 5 +- .../typescript/class/implements/expected.json | 2 +- .../class/index-signature/expected.json | 2 +- .../members-with-modifier-names/expected.json | 11 ++-- .../members-with-reserved-names/expected.json | 5 +- .../class/method-computed/expected.json | 4 +- .../class/method-generic/expected.json | 6 +-- .../class/method-no-body/expected.json | 8 ++- .../class/method-optional/expected.json | 5 +- .../class/method-return-type/expected.json | 5 +- .../expected.json | 3 +- .../expected.json | 6 +-- .../class/modifiers-accessors/expected.json | 21 +++----- .../modifiers-methods-async/expected.json | 21 +++----- .../class/modifiers-properties/expected.json | 34 ++++++------ .../expected.json | 5 +- .../class/parameter-properties/expected.json | 5 +- .../typescript/class/properties/expected.json | 10 ++-- .../class/property-computed/expected.json | 2 +- .../typescript/class/static/expected.json | 12 ++--- .../const/no-initializer/expected.json | 2 +- .../typescript/declare/const/expected.json | 2 +- .../declare/destructure/expected.json | 10 ++-- .../typescript/declare/var/expected.json | 2 +- .../typescript/export/declare/expected.json | 3 +- .../function/annotated/expected.json | 3 +- .../function/anonymous/expected.json | 3 +- .../typescript/function/declare/expected.json | 4 +- .../function/export-default/expected.json | 3 +- .../function/overloads/expected.json | 4 +- .../function/predicate-types/expected.json | 4 +- .../interface/call-signature/expected.json | 2 +- .../construct-signature/expected.json | 2 +- .../interface/extends/expected.json | 2 +- .../interface/generic/expected.json | 4 +- .../interface/index-signature/expected.json | 2 +- .../interface/method-computed/expected.json | 2 +- .../interface/method-generic/expected.json | 6 +-- .../interface/method-optional/expected.json | 4 +- .../interface/method-plain/expected.json | 6 +-- .../interface/modifiers/expected.json | 4 +- .../interface/properties/expected.json | 10 ++-- .../interface/property-computed/expected.json | 2 +- .../property-named-public/expected.json | 4 +- .../reserved-method-name/expected.json | 4 +- .../interface/separators/expected.json | 14 ++--- .../body-declare/expected.json | 2 +- .../body-nested-declare/expected.json | 2 +- .../global-in-module/expected.json | 2 +- .../tsx/brace-is-block/expected.json | 2 +- .../type-alias/generic-complex/expected.json | 4 +- .../type-alias/generic/expected.json | 2 +- .../type-arguments/call/expected.json | 2 +- .../type-arguments/new/expected.json | 2 +- .../type-arguments/whitespace/expected.json | 3 +- .../typescript/types/array/expected.json | 2 +- .../types/function-generic/expected.json | 2 +- .../types/function-in-generic/expected.json | 2 +- .../types/function-with-this/expected.json | 2 +- .../typescript/types/function/expected.json | 2 +- .../typescript/types/indexed/expected.json | 2 +- .../typescript/types/keywords/expected.json | 2 +- .../types/literal-boolean/expected.json | 2 +- .../literal-number-negative/expected.json | 2 +- .../types/literal-number/expected.json | 2 +- .../types/literal-string/expected.json | 2 +- .../typescript/types/mapped/expected.json | 2 +- .../reference-generic-nested/expected.json | 2 +- .../types/reference-generic/expected.json | 2 +- .../typescript/types/reference/expected.json | 2 +- .../types/type-literal/expected.json | 4 +- .../types/type-operator/expected.json | 2 +- .../typescript/types/typeof/expected.json | 2 +- .../types/union-intersection/expected.json | 2 +- 786 files changed, 728 insertions(+), 1533 deletions(-) diff --git a/packages/babylon/ast/spec.md b/packages/babylon/ast/spec.md index 644f4af81b..0764d979f1 100644 --- a/packages/babylon/ast/spec.md +++ b/packages/babylon/ast/spec.md @@ -627,7 +627,6 @@ A `this` expression. interface ArrowFunctionExpression <: Function, Expression { type: "ArrowFunctionExpression"; body: BlockStatement | Expression; - expression: boolean; } ``` diff --git a/packages/babylon/src/parser/expression.js b/packages/babylon/src/parser/expression.js index 97b3d9f2dd..7c0edbadac 100644 --- a/packages/babylon/src/parser/expression.js +++ b/packages/babylon/src/parser/expression.js @@ -1480,7 +1480,6 @@ export default class ExpressionParser extends LValParser { initFunction(node: N.BodilessFunctionOrMethodBase, isAsync: ?boolean): void { node.id = null; node.generator = false; - node.expression = false; node.async = !!isAsync; } @@ -1559,11 +1558,10 @@ export default class ExpressionParser extends LValParser { ); } - isStrictBody( - node: { body: N.BlockStatement }, - isExpression: ?boolean, - ): boolean { - if (!isExpression && node.body.directives.length) { + isStrictBody(node: { body: N.BlockStatement }): boolean { + const isBlockStatement = node.body.type === "BlockStatement"; + + if (isBlockStatement && node.body.directives.length) { for (const directive of node.body.directives) { if (directive.value.value === "use strict") { return true; @@ -1595,7 +1593,6 @@ export default class ExpressionParser extends LValParser { if (isExpression) { node.body = this.parseMaybeAssign(); - node.expression = true; } else { // Start a new scope with regard to labels and the `inGenerator` // flag (restore them to their old value afterwards). @@ -1606,7 +1603,6 @@ export default class ExpressionParser extends LValParser { this.state.inFunction = true; this.state.labels = []; node.body = this.parseBlock(true); - node.expression = false; this.state.inFunction = oldInFunc; this.state.inGenerator = oldInGen; 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 // are not repeated, and it does not try to bind the words `eval` // or `arguments`. - const isStrict = this.isStrictBody(node, node.expression); + const isStrict = this.isStrictBody(node); // Also check for arrow functions const checkLVal = this.state.strict || isStrict || isArrowFunction; diff --git a/packages/babylon/src/plugins/estree.js b/packages/babylon/src/plugins/estree.js index 70d5908c38..358c66863c 100644 --- a/packages/babylon/src/plugins/estree.js +++ b/packages/babylon/src/plugins/estree.js @@ -66,6 +66,14 @@ export default (superClass: Class): Class => // Overrides // ================================== + initFunction( + node: N.BodilessFunctionOrMethodBase, + isAsync: ?boolean, + ): void { + super.initFunction(node, isAsync); + node.expression = false; + } + checkDeclaration(node: N.Pattern): void { if (isSimpleProperty(node)) { // $FlowFixMe @@ -128,11 +136,10 @@ export default (superClass: Class): Class => } } - isStrictBody( - node: { body: N.BlockStatement }, - isExpression: ?boolean, - ): boolean { - if (!isExpression && node.body.body.length > 0) { + isStrictBody(node: { body: N.BlockStatement }): boolean { + const isBlockStatement = node.body.type === "BlockStatement"; + + if (isBlockStatement && node.body.body.length > 0) { for (const directive of node.body.body) { if ( directive.type === "ExpressionStatement" && @@ -242,6 +249,11 @@ export default (superClass: Class): Class => return node; } + parseFunctionBody(node: N.Function, allowExpression: ?boolean): void { + super.parseFunctionBody(node, allowExpression); + node.expression = node.body.type !== "BlockStatement"; + } + parseMethod( node: T, isGenerator: boolean, diff --git a/packages/babylon/test/expressions/is-expression-babylon/pass/3/expected.json b/packages/babylon/test/expressions/is-expression-babylon/pass/3/expected.json index b7ffc7b6ca..4eaed0b5c4 100644 --- a/packages/babylon/test/expressions/is-expression-babylon/pass/3/expected.json +++ b/packages/babylon/test/expressions/is-expression-babylon/pass/3/expected.json @@ -14,7 +14,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/comments/basic/export-default-anonymous-class/expected.json b/packages/babylon/test/fixtures/comments/basic/export-default-anonymous-class/expected.json index 10e0d6cbdc..d33bb43b35 100644 --- a/packages/babylon/test/fixtures/comments/basic/export-default-anonymous-class/expected.json +++ b/packages/babylon/test/fixtures/comments/basic/export-default-anonymous-class/expected.json @@ -88,7 +88,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 103, @@ -107,10 +106,10 @@ "name": "method1", "leadingComments": null }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/comments/basic/function-trailing-comma-shorthand/expected.json b/packages/babylon/test/fixtures/comments/basic/function-trailing-comma-shorthand/expected.json index 95184b49b6..87ea5f9165 100644 --- a/packages/babylon/test/fixtures/comments/basic/function-trailing-comma-shorthand/expected.json +++ b/packages/babylon/test/fixtures/comments/basic/function-trailing-comma-shorthand/expected.json @@ -121,8 +121,6 @@ } }, "method": false, - "shorthand": true, - "computed": false, "key": { "type": "Identifier", "start": 8, @@ -140,6 +138,8 @@ }, "name": "b" }, + "computed": false, + "shorthand": true, "value": { "type": "Identifier", "start": 8, diff --git a/packages/babylon/test/fixtures/comments/basic/object-property-trailing-comma/expected.json b/packages/babylon/test/fixtures/comments/basic/object-property-trailing-comma/expected.json index 3e55ef7129..c34ab8f89d 100644 --- a/packages/babylon/test/fixtures/comments/basic/object-property-trailing-comma/expected.json +++ b/packages/babylon/test/fixtures/comments/basic/object-property-trailing-comma/expected.json @@ -104,8 +104,6 @@ } }, "method": false, - "shorthand": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -123,6 +121,8 @@ }, "name": "a" }, + "computed": false, + "shorthand": false, "value": { "type": "StringLiteral", "start": 17, @@ -159,8 +159,6 @@ } }, "method": false, - "shorthand": false, - "computed": false, "key": { "type": "Identifier", "start": 37, @@ -179,6 +177,8 @@ "name": "b", "leadingComments": null }, + "computed": false, + "shorthand": false, "value": { "type": "StringLiteral", "start": 40, @@ -233,8 +233,6 @@ } }, "method": false, - "shorthand": false, - "computed": false, "key": { "type": "Identifier", "start": 60, @@ -253,6 +251,8 @@ "name": "c", "leadingComments": null }, + "computed": false, + "shorthand": false, "value": { "type": "StringLiteral", "start": 63, diff --git a/packages/babylon/test/fixtures/comments/basic/shebang-object/expected.json b/packages/babylon/test/fixtures/comments/basic/shebang-object/expected.json index ba246f1e89..bf2ed2a6d6 100644 --- a/packages/babylon/test/fixtures/comments/basic/shebang-object/expected.json +++ b/packages/babylon/test/fixtures/comments/basic/shebang-object/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 33, @@ -106,6 +105,7 @@ "name": "spawn", "leadingComments": null }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/comments/basic/surrounding-call-comments/expected.json b/packages/babylon/test/fixtures/comments/basic/surrounding-call-comments/expected.json index ea2c84fbc9..6d981c4e8f 100644 --- a/packages/babylon/test/fixtures/comments/basic/surrounding-call-comments/expected.json +++ b/packages/babylon/test/fixtures/comments/basic/surrounding-call-comments/expected.json @@ -60,7 +60,6 @@ "name": "a" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/comments/basic/surrounding-debugger-comments/expected.json b/packages/babylon/test/fixtures/comments/basic/surrounding-debugger-comments/expected.json index f3fc61bd29..de669fb9c7 100644 --- a/packages/babylon/test/fixtures/comments/basic/surrounding-debugger-comments/expected.json +++ b/packages/babylon/test/fixtures/comments/basic/surrounding-debugger-comments/expected.json @@ -60,7 +60,6 @@ "name": "a" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/comments/basic/surrounding-return-comments/expected.json b/packages/babylon/test/fixtures/comments/basic/surrounding-return-comments/expected.json index 02cf5d12e9..cf52811b17 100644 --- a/packages/babylon/test/fixtures/comments/basic/surrounding-return-comments/expected.json +++ b/packages/babylon/test/fixtures/comments/basic/surrounding-return-comments/expected.json @@ -60,7 +60,6 @@ "name": "a" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/comments/basic/surrounding-throw-comments/expected.json b/packages/babylon/test/fixtures/comments/basic/surrounding-throw-comments/expected.json index c76d573a84..5a49d03040 100644 --- a/packages/babylon/test/fixtures/comments/basic/surrounding-throw-comments/expected.json +++ b/packages/babylon/test/fixtures/comments/basic/surrounding-throw-comments/expected.json @@ -60,7 +60,6 @@ "name": "a" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/comments/basic/surrounding-while-loop-comments/expected.json b/packages/babylon/test/fixtures/comments/basic/surrounding-while-loop-comments/expected.json index 669d70dc8f..5cbea1bbf7 100644 --- a/packages/babylon/test/fixtures/comments/basic/surrounding-while-loop-comments/expected.json +++ b/packages/babylon/test/fixtures/comments/basic/surrounding-while-loop-comments/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/comments/basic/switch-fallthrough-comment-in-function/expected.json b/packages/babylon/test/fixtures/comments/basic/switch-fallthrough-comment-in-function/expected.json index 3ce051b4a8..19b410da11 100644 --- a/packages/babylon/test/fixtures/comments/basic/switch-fallthrough-comment-in-function/expected.json +++ b/packages/babylon/test/fixtures/comments/basic/switch-fallthrough-comment-in-function/expected.json @@ -60,7 +60,6 @@ "name": "bar" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/comments/basic/switch-no-default-comment-in-function/expected.json b/packages/babylon/test/fixtures/comments/basic/switch-no-default-comment-in-function/expected.json index ec0792f047..93335c8ea6 100644 --- a/packages/babylon/test/fixtures/comments/basic/switch-no-default-comment-in-function/expected.json +++ b/packages/babylon/test/fixtures/comments/basic/switch-no-default-comment-in-function/expected.json @@ -60,7 +60,6 @@ "name": "bar" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/comments/basic/switch-no-default-comment-in-nested-functions/expected.json b/packages/babylon/test/fixtures/comments/basic/switch-no-default-comment-in-nested-functions/expected.json index 2c858e5b45..9e74ce4779 100644 --- a/packages/babylon/test/fixtures/comments/basic/switch-no-default-comment-in-nested-functions/expected.json +++ b/packages/babylon/test/fixtures/comments/basic/switch-no-default-comment-in-nested-functions/expected.json @@ -123,7 +123,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -191,7 +190,6 @@ "name": "isConstant" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/regression/2591/expected.json b/packages/babylon/test/fixtures/core/regression/2591/expected.json index 71e7684f6c..6ccdff1622 100644 --- a/packages/babylon/test/fixtures/core/regression/2591/expected.json +++ b/packages/babylon/test/fixtures/core/regression/2591/expected.json @@ -60,7 +60,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/sourcetype-unambiguous/module-export-named/expected.json b/packages/babylon/test/fixtures/core/sourcetype-unambiguous/module-export-named/expected.json index 01e29c42d4..5cb48eb09b 100644 --- a/packages/babylon/test/fixtures/core/sourcetype-unambiguous/module-export-named/expected.json +++ b/packages/babylon/test/fixtures/core/sourcetype-unambiguous/module-export-named/expected.json @@ -76,7 +76,6 @@ "name": "fn" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/22/expected.json b/packages/babylon/test/fixtures/core/uncategorised/22/expected.json index 8a57b4b290..fddf10097f 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/22/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/22/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "answer" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/core/uncategorised/229/expected.json b/packages/babylon/test/fixtures/core/uncategorised/229/expected.json index 38198e3d25..e51a4dc3c2 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/229/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/229/expected.json @@ -89,7 +89,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/23/expected.json b/packages/babylon/test/fixtures/core/uncategorised/23/expected.json index 36656a5a0c..c56978c464 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/23/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/23/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "if" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/core/uncategorised/24/expected.json b/packages/babylon/test/fixtures/core/uncategorised/24/expected.json index bf9211c537..69dcde772a 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/24/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/24/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "true" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/core/uncategorised/25/expected.json b/packages/babylon/test/fixtures/core/uncategorised/25/expected.json index 72b5293e2e..2d46aacb67 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/25/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/25/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "false" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/core/uncategorised/259/expected.json b/packages/babylon/test/fixtures/core/uncategorised/259/expected.json index fe9666a99e..210a3c49ea 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/259/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/259/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/26/expected.json b/packages/babylon/test/fixtures/core/uncategorised/26/expected.json index b3d2471ea3..9808cc6f92 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/26/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/26/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "null" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/core/uncategorised/260/expected.json b/packages/babylon/test/fixtures/core/uncategorised/260/expected.json index 1f4ff8a16a..4e4569aa91 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/260/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/260/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/261/expected.json b/packages/babylon/test/fixtures/core/uncategorised/261/expected.json index 05b71f8cff..91a57f13b5 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/261/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/261/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/262/expected.json b/packages/babylon/test/fixtures/core/uncategorised/262/expected.json index bd73928291..d459bf8ae3 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/262/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/262/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/27/expected.json b/packages/babylon/test/fixtures/core/uncategorised/27/expected.json index 390c389545..39a2e86bcc 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/27/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/27/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "StringLiteral", "start": 6, @@ -125,6 +124,7 @@ }, "value": "answer" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/core/uncategorised/275/expected.json b/packages/babylon/test/fixtures/core/uncategorised/275/expected.json index 9c4a377caa..fec4e5ed08 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/275/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/275/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 8, @@ -90,6 +89,7 @@ }, "name": "message" }, + "computed": false, "shorthand": false, "value": { "type": "StringLiteral", diff --git a/packages/babylon/test/fixtures/core/uncategorised/28/expected.json b/packages/babylon/test/fixtures/core/uncategorised/28/expected.json index 96b5b5d4b5..6c1b897cb9 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/28/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/28/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", @@ -159,7 +159,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -177,6 +176,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/core/uncategorised/284/expected.json b/packages/babylon/test/fixtures/core/uncategorised/284/expected.json index 89d8911652..23c82e4414 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/284/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/284/expected.json @@ -60,7 +60,6 @@ "name": "hello" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/285/expected.json b/packages/babylon/test/fixtures/core/uncategorised/285/expected.json index 01acb188ed..4373bde0ec 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/285/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/285/expected.json @@ -60,7 +60,6 @@ "name": "eval" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/286/expected.json b/packages/babylon/test/fixtures/core/uncategorised/286/expected.json index 93d4d923bf..bfb1492420 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/286/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/286/expected.json @@ -60,7 +60,6 @@ "name": "arguments" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/287/expected.json b/packages/babylon/test/fixtures/core/uncategorised/287/expected.json index 05cce3b8f3..98648b2ea6 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/287/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/287/expected.json @@ -60,7 +60,6 @@ "name": "test" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/288/expected.json b/packages/babylon/test/fixtures/core/uncategorised/288/expected.json index 4b79120694..1cdd5e11dc 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/288/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/288/expected.json @@ -74,7 +74,6 @@ "name": "test" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/289/expected.json b/packages/babylon/test/fixtures/core/uncategorised/289/expected.json index 1b08145eb9..e9cfba6c40 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/289/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/289/expected.json @@ -60,7 +60,6 @@ "name": "eval" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -110,7 +109,6 @@ "name": "inner" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/29/expected.json b/packages/babylon/test/fixtures/core/uncategorised/29/expected.json index f586ae626b..3991072277 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/29/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/29/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -122,10 +121,10 @@ }, "name": "width" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/290/expected.json b/packages/babylon/test/fixtures/core/uncategorised/290/expected.json index a5373f5a79..4b567d3793 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/290/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/290/expected.json @@ -60,7 +60,6 @@ "name": "hello" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/291/expected.json b/packages/babylon/test/fixtures/core/uncategorised/291/expected.json index cdfeb7b019..d40cf30ddd 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/291/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/291/expected.json @@ -60,7 +60,6 @@ "name": "hello" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/292/expected.json b/packages/babylon/test/fixtures/core/uncategorised/292/expected.json index 2a928b39d2..30307ec206 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/292/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/292/expected.json @@ -60,7 +60,6 @@ "name": "hello" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/293/expected.json b/packages/babylon/test/fixtures/core/uncategorised/293/expected.json index ed3d6655c1..b83bc19843 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/293/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/293/expected.json @@ -60,7 +60,6 @@ "name": "hello" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/294/expected.json b/packages/babylon/test/fixtures/core/uncategorised/294/expected.json index 7df304a88a..fcf126fd3e 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/294/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/294/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/295/expected.json b/packages/babylon/test/fixtures/core/uncategorised/295/expected.json index 53520cfe7f..80eba990ba 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/295/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/295/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/296/expected.json b/packages/babylon/test/fixtures/core/uncategorised/296/expected.json index ce5cb42288..da1c8e4283 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/296/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/296/expected.json @@ -106,7 +106,6 @@ "name": "eval" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/297/expected.json b/packages/babylon/test/fixtures/core/uncategorised/297/expected.json index 2b88f0d953..26a8841932 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/297/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/297/expected.json @@ -106,7 +106,6 @@ "name": "arguments" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/298/expected.json b/packages/babylon/test/fixtures/core/uncategorised/298/expected.json index f3e529622f..0aaae5e1db 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/298/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/298/expected.json @@ -106,7 +106,6 @@ "name": "hi" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/299/expected.json b/packages/babylon/test/fixtures/core/uncategorised/299/expected.json index f79af90cc1..845e87f689 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/299/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/299/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/30/expected.json b/packages/babylon/test/fixtures/core/uncategorised/30/expected.json index e925ad0daf..d429a166ba 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/30/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/30/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -122,10 +121,10 @@ }, "name": "undef" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/31/expected.json b/packages/babylon/test/fixtures/core/uncategorised/31/expected.json index c5b5923ef9..d1f81badfe 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/31/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/31/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -122,10 +121,10 @@ }, "name": "if" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/310/expected.json b/packages/babylon/test/fixtures/core/uncategorised/310/expected.json index e5fa9ec260..5d53da8da0 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/310/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/310/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/311/expected.json b/packages/babylon/test/fixtures/core/uncategorised/311/expected.json index 3b50dd8b73..596e242872 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/311/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/311/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/312/expected.json b/packages/babylon/test/fixtures/core/uncategorised/312/expected.json index 6ae21e8aa6..8cc2cff071 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/312/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/312/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/318/expected.json b/packages/babylon/test/fixtures/core/uncategorised/318/expected.json index be25c9494b..390b3c0cb1 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/318/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/318/expected.json @@ -72,7 +72,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/32/expected.json b/packages/babylon/test/fixtures/core/uncategorised/32/expected.json index 338f19fb67..0bb970b8bf 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/32/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/32/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -122,10 +121,10 @@ }, "name": "true" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/33/expected.json b/packages/babylon/test/fixtures/core/uncategorised/33/expected.json index 316ceff9fd..b437e1198e 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/33/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/33/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -122,10 +121,10 @@ }, "name": "false" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/335/expected.json b/packages/babylon/test/fixtures/core/uncategorised/335/expected.json index ebb58af9d2..a43f8671a9 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/335/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/335/expected.json @@ -100,7 +100,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 2, @@ -118,6 +117,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayExpression", diff --git a/packages/babylon/test/fixtures/core/uncategorised/338/expected.json b/packages/babylon/test/fixtures/core/uncategorised/338/expected.json index 625cf5776e..3501c6abb8 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/338/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/338/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "NumericLiteral", "start": 2, @@ -93,6 +92,7 @@ }, "value": 1 }, + "computed": false, "shorthand": false, "value": { "type": "BinaryExpression", diff --git a/packages/babylon/test/fixtures/core/uncategorised/34/expected.json b/packages/babylon/test/fixtures/core/uncategorised/34/expected.json index ec8a378624..2ccfebd84e 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/34/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/34/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -122,10 +121,10 @@ }, "name": "null" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/35/expected.json b/packages/babylon/test/fixtures/core/uncategorised/35/expected.json index 0a96220824..2b4c3de122 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/35/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/35/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "StringLiteral", "start": 10, @@ -125,10 +124,10 @@ }, "value": "undef" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/36/expected.json b/packages/babylon/test/fixtures/core/uncategorised/36/expected.json index de643d969a..13b51c0b8c 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/36/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/36/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "NumericLiteral", "start": 10, @@ -125,10 +124,10 @@ }, "value": 10 }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/37/expected.json b/packages/babylon/test/fixtures/core/uncategorised/37/expected.json index 43b7edb9d1..6d8e2915b4 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/37/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/37/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -122,10 +121,10 @@ }, "name": "width" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/38/expected.json b/packages/babylon/test/fixtures/core/uncategorised/38/expected.json index e7c0af7521..e2ad1e5fb5 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/38/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/38/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -122,10 +121,10 @@ }, "name": "if" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/39/expected.json b/packages/babylon/test/fixtures/core/uncategorised/39/expected.json index bb18e63d32..1917129496 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/39/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/39/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -122,10 +121,10 @@ }, "name": "true" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/40/expected.json b/packages/babylon/test/fixtures/core/uncategorised/40/expected.json index e14dc5c87f..f074369929 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/40/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/40/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -122,10 +121,10 @@ }, "name": "false" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/41/expected.json b/packages/babylon/test/fixtures/core/uncategorised/41/expected.json index 20b7295274..09febf2f37 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/41/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/41/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -122,10 +121,10 @@ }, "name": "null" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/42/expected.json b/packages/babylon/test/fixtures/core/uncategorised/42/expected.json index 3156d2e2ff..9b4f087f6d 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/42/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/42/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "StringLiteral", "start": 10, @@ -125,10 +124,10 @@ }, "value": "null" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/43/expected.json b/packages/babylon/test/fixtures/core/uncategorised/43/expected.json index 5dcdec165e..81cd877386 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/43/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/43/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "NumericLiteral", "start": 10, @@ -125,10 +124,10 @@ }, "value": 10 }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/44/expected.json b/packages/babylon/test/fixtures/core/uncategorised/44/expected.json index b77f8b4535..ed95d57100 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/44/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/44/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "get" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/core/uncategorised/45/expected.json b/packages/babylon/test/fixtures/core/uncategorised/45/expected.json index 904dcf5112..38879155e6 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/45/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/45/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "set" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/core/uncategorised/539/expected.json b/packages/babylon/test/fixtures/core/uncategorised/539/expected.json index 2bd4333d31..e19849d844 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/539/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/539/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/core/uncategorised/540/expected.json b/packages/babylon/test/fixtures/core/uncategorised/540/expected.json index 0decbaaefa..ef6f6a59c9 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/540/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/540/expected.json @@ -72,7 +72,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/541/expected.json b/packages/babylon/test/fixtures/core/uncategorised/541/expected.json index db7df06cb3..550111396b 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/541/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/541/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/543/expected.json b/packages/babylon/test/fixtures/core/uncategorised/543/expected.json index 174e12e8d2..da3099d06d 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/543/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/543/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/core/uncategorised/546/expected.json b/packages/babylon/test/fixtures/core/uncategorised/546/expected.json index de77ab2b95..4ec2907adc 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/546/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/546/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 8, @@ -105,6 +104,7 @@ }, "name": "public" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/core/uncategorised/549/expected.json b/packages/babylon/test/fixtures/core/uncategorised/549/expected.json index 088ba6a7ad..b4b8dad7e7 100644 --- a/packages/babylon/test/fixtures/core/uncategorised/549/expected.json +++ b/packages/babylon/test/fixtures/core/uncategorised/549/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 8, @@ -105,6 +104,7 @@ }, "name": "arguments" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/array-rest-spread/with-object/expected.json b/packages/babylon/test/fixtures/es2015/array-rest-spread/with-object/expected.json index b278aa92ef..f521f11871 100644 --- a/packages/babylon/test/fixtures/es2015/array-rest-spread/with-object/expected.json +++ b/packages/babylon/test/fixtures/es2015/array-rest-spread/with-object/expected.json @@ -116,7 +116,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -134,6 +133,7 @@ }, "name": "length" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/arrow-functions/in-logic-expression/expected.json b/packages/babylon/test/fixtures/es2015/arrow-functions/in-logic-expression/expected.json index abc58a8846..8183fac4db 100644 --- a/packages/babylon/test/fixtures/es2015/arrow-functions/in-logic-expression/expected.json +++ b/packages/babylon/test/fixtures/es2015/arrow-functions/in-logic-expression/expected.json @@ -72,7 +72,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -160,7 +159,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/arrow-functions/object-rest-spread/expected.json b/packages/babylon/test/fixtures/es2015/arrow-functions/object-rest-spread/expected.json index 0357f6b22e..ddb025a447 100644 --- a/packages/babylon/test/fixtures/es2015/arrow-functions/object-rest-spread/expected.json +++ b/packages/babylon/test/fixtures/es2015/arrow-functions/object-rest-spread/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -123,7 +122,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -141,6 +139,7 @@ }, "name": "title" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/class-methods/linebreaks/expected.json b/packages/babylon/test/fixtures/es2015/class-methods/linebreaks/expected.json index 7094788e97..dbe6606ec7 100644 --- a/packages/babylon/test/fixtures/es2015/class-methods/linebreaks/expected.json +++ b/packages/babylon/test/fixtures/es2015/class-methods/linebreaks/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -108,10 +107,10 @@ }, "name": "a" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 37, @@ -165,10 +163,10 @@ }, "name": "a" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -222,7 +220,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 51, @@ -240,10 +237,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -279,7 +276,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 74, @@ -297,10 +293,10 @@ }, "name": "a" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -337,7 +333,6 @@ }, "static": false, "kind": "method", - "computed": false, "key": { "type": "Identifier", "start": 91, @@ -355,9 +350,9 @@ }, "name": "a" }, + "computed": false, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -393,7 +388,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 119, @@ -411,10 +405,10 @@ }, "name": "a" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -450,7 +444,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 147, @@ -468,10 +461,10 @@ }, "name": "a" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -525,7 +518,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 170, @@ -543,10 +535,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -582,7 +574,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 202, @@ -600,10 +591,10 @@ }, "name": "a" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -640,7 +631,6 @@ }, "static": true, "kind": "method", - "computed": false, "key": { "type": "Identifier", "start": 228, @@ -658,9 +648,9 @@ }, "name": "a" }, + "computed": false, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/class-methods/tricky-names/expected.json b/packages/babylon/test/fixtures/es2015/class-methods/tricky-names/expected.json index 1e9e3bb027..2a8c103e5e 100644 --- a/packages/babylon/test/fixtures/es2015/class-methods/tricky-names/expected.json +++ b/packages/babylon/test/fixtures/es2015/class-methods/tricky-names/expected.json @@ -111,7 +111,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -168,7 +167,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -225,7 +223,6 @@ "static": false, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -282,7 +279,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -342,7 +338,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -402,7 +397,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -462,7 +456,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -519,7 +512,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -576,7 +568,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -633,7 +624,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -690,7 +680,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -747,7 +736,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -804,7 +792,6 @@ "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -861,7 +848,6 @@ "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/meta-properties/new-target-inside-params/expected.json b/packages/babylon/test/fixtures/es2015/meta-properties/new-target-inside-params/expected.json index 7567bbc472..3ef7aad8eb 100644 --- a/packages/babylon/test/fixtures/es2015/meta-properties/new-target-inside-params/expected.json +++ b/packages/babylon/test/fixtures/es2015/meta-properties/new-target-inside-params/expected.json @@ -60,7 +60,6 @@ "name": "Foo" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -195,7 +194,6 @@ "name": "Bar" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -243,7 +241,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/meta-properties/new-target/expected.json b/packages/babylon/test/fixtures/es2015/meta-properties/new-target/expected.json index 30b0e8ac73..ae31cf50dd 100644 --- a/packages/babylon/test/fixtures/es2015/meta-properties/new-target/expected.json +++ b/packages/babylon/test/fixtures/es2015/meta-properties/new-target/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/modules/duplicate-named-export-destructuring/expected.json b/packages/babylon/test/fixtures/es2015/modules/duplicate-named-export-destructuring/expected.json index e8a01c593c..328d5a9336 100644 --- a/packages/babylon/test/fixtures/es2015/modules/duplicate-named-export-destructuring/expected.json +++ b/packages/babylon/test/fixtures/es2015/modules/duplicate-named-export-destructuring/expected.json @@ -103,7 +103,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -121,6 +120,7 @@ }, "name": "foo" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -242,7 +242,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 43, @@ -260,6 +259,7 @@ }, "name": "foo" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", @@ -378,7 +378,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 77, @@ -396,6 +395,7 @@ }, "name": "foo" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -427,7 +427,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 84, @@ -445,6 +444,7 @@ }, "name": "baz" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -569,7 +569,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 114, @@ -587,6 +586,7 @@ }, "name": "foo" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -618,7 +618,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 121, @@ -636,6 +635,7 @@ }, "name": "baz" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -667,7 +667,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 129, @@ -685,6 +684,7 @@ }, "name": "qux" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -812,7 +812,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 161, @@ -830,6 +829,7 @@ }, "name": "foo" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -861,7 +861,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 168, @@ -879,6 +878,7 @@ }, "name": "baz" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -910,7 +910,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 176, @@ -928,6 +927,7 @@ }, "name": "qux2" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -971,7 +971,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 186, @@ -989,6 +988,7 @@ }, "name": "foo3" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -1344,7 +1344,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 272, @@ -1362,6 +1361,7 @@ }, "name": "foo" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayPattern", @@ -1430,7 +1430,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 289, @@ -1448,6 +1447,7 @@ }, "name": "foo2" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayPattern", @@ -1585,7 +1585,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 327, @@ -1603,6 +1602,7 @@ }, "name": "foo" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -1634,7 +1634,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 334, @@ -1652,6 +1651,7 @@ }, "name": "baz" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -1683,7 +1683,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 341, @@ -1701,6 +1700,7 @@ }, "name": "qux3" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -1744,7 +1744,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 351, @@ -1762,6 +1761,7 @@ }, "name": "foo2" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -1793,7 +1793,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 359, @@ -1811,6 +1810,7 @@ }, "name": "baz2" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayPattern", @@ -1949,7 +1949,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 397, @@ -1967,6 +1966,7 @@ }, "name": "foo" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -1998,7 +1998,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 404, @@ -2016,6 +2015,7 @@ }, "name": "baz" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -2047,7 +2047,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 411, @@ -2065,6 +2064,7 @@ }, "name": "qux5" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -2108,7 +2108,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 421, @@ -2126,6 +2125,7 @@ }, "name": "foo2" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -2157,7 +2157,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 429, @@ -2175,6 +2174,7 @@ }, "name": "baz2" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayPattern", @@ -2221,7 +2221,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 437, @@ -2239,6 +2238,7 @@ }, "name": "qux6" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -2368,7 +2368,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 469, @@ -2386,6 +2385,7 @@ }, "name": "Foo" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -2507,7 +2507,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 497, @@ -2525,6 +2524,7 @@ }, "name": "foo" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayPattern", diff --git a/packages/babylon/test/fixtures/es2015/modules/export-default-function-declaration-expression-disambiguation/expected.json b/packages/babylon/test/fixtures/es2015/modules/export-default-function-declaration-expression-disambiguation/expected.json index 8106cf01a0..824b8b9d46 100644 --- a/packages/babylon/test/fixtures/es2015/modules/export-default-function-declaration-expression-disambiguation/expected.json +++ b/packages/babylon/test/fixtures/es2015/modules/export-default-function-declaration-expression-disambiguation/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/modules/export-default-function-declaration/expected.json b/packages/babylon/test/fixtures/es2015/modules/export-default-function-declaration/expected.json index ffc9c92fd4..b92310aa5f 100644 --- a/packages/babylon/test/fixtures/es2015/modules/export-default-function-declaration/expected.json +++ b/packages/babylon/test/fixtures/es2015/modules/export-default-function-declaration/expected.json @@ -74,7 +74,6 @@ "name": "a" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/modules/export-default-function-expression/expected.json b/packages/babylon/test/fixtures/es2015/modules/export-default-function-expression/expected.json index 845de0632b..2ea0e34a91 100644 --- a/packages/babylon/test/fixtures/es2015/modules/export-default-function-expression/expected.json +++ b/packages/babylon/test/fixtures/es2015/modules/export-default-function-expression/expected.json @@ -74,7 +74,6 @@ "name": "a" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/regression/186/expected.json b/packages/babylon/test/fixtures/es2015/regression/186/expected.json index 49b6d1aab0..e490032e17 100644 --- a/packages/babylon/test/fixtures/es2015/regression/186/expected.json +++ b/packages/babylon/test/fixtures/es2015/regression/186/expected.json @@ -159,7 +159,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -177,6 +176,7 @@ }, "name": "bar" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/statements/label-valid-func-non-strict/expected.json b/packages/babylon/test/fixtures/es2015/statements/label-valid-func-non-strict/expected.json index 127eac7560..3e9d1e5692 100644 --- a/packages/babylon/test/fixtures/es2015/statements/label-valid-func-non-strict/expected.json +++ b/packages/babylon/test/fixtures/es2015/statements/label-valid-func-non-strict/expected.json @@ -74,7 +74,6 @@ "name": "bar" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/105/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/105/expected.json index a9aed1c3aa..9bbcccaf86 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/105/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/105/expected.json @@ -60,7 +60,6 @@ "name": "t" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/113/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/113/expected.json index cad16d40f7..4ddc0845d8 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/113/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/113/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -108,10 +107,10 @@ }, "name": "get" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/114/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/114/expected.json index 8af6dc0f92..56144a2a74 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/114/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/114/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 17, @@ -108,10 +107,10 @@ }, "name": "get" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/115/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/115/expected.json index 17580d67f8..8820ccdeac 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/115/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/115/expected.json @@ -106,7 +106,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 23, @@ -124,10 +123,10 @@ }, "name": "foo" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/116/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/116/expected.json index 1296990414..6c5807f7c0 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/116/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/116/expected.json @@ -106,7 +106,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 31, @@ -124,10 +123,10 @@ }, "name": "foo" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/117/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/117/expected.json index f00e0c107d..c9cffd1afc 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/117/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/117/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 13, @@ -108,10 +107,10 @@ }, "name": "a" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/118/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/118/expected.json index 312d1c4e77..a70322f1fd 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/118/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/118/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -108,10 +107,10 @@ }, "name": "a" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/119/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/119/expected.json index 622579925b..de37d718a3 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/119/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/119/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -108,10 +107,10 @@ }, "name": "set" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/120/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/120/expected.json index 6159a166d3..45b59f48d8 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/120/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/120/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 17, @@ -108,10 +107,10 @@ }, "name": "set" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/121/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/121/expected.json index 9dbb7f0244..2e1dd78f48 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/121/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/121/expected.json @@ -91,7 +91,6 @@ }, "static": false, "kind": "method", - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -109,9 +108,9 @@ }, "name": "gen" }, + "computed": false, "id": null, "generator": true, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/122/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/122/expected.json index df6337f1f3..69e3614627 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/122/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/122/expected.json @@ -91,7 +91,6 @@ }, "static": true, "kind": "method", - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -109,9 +108,9 @@ }, "name": "gen" }, + "computed": false, "id": null, "generator": true, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/123/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/123/expected.json index 1685cc9b6e..f57f2aea8e 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/123/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/123/expected.json @@ -104,7 +104,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 24, @@ -122,10 +121,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/124/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/124/expected.json index 264271977f..359ffc263c 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/124/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/124/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "StringLiteral", "start": 9, @@ -111,10 +110,10 @@ }, "value": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/128/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/128/expected.json index fc2058a420..d3b9813822 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/128/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/128/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 16, @@ -108,10 +107,10 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/129/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/129/expected.json index 5454ccebf1..666da83fcd 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/129/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/129/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -108,10 +107,10 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 25, @@ -165,10 +163,10 @@ }, "name": "bar" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/131/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/131/expected.json index ec906dfe00..4c677f80f5 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/131/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/131/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -108,10 +107,10 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 19, @@ -165,10 +163,10 @@ }, "name": "bar" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/132/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/132/expected.json index 2dd984cc0f..3697acc021 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/132/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/132/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,10 +107,10 @@ }, "name": "foo" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 27, @@ -165,10 +163,10 @@ }, "name": "foo" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/133/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/133/expected.json index 199a299f92..35a7f817a5 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/133/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/133/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -108,10 +107,10 @@ }, "name": "foo" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 34, @@ -165,10 +163,10 @@ }, "name": "foo" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/134/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/134/expected.json index b9dd2520bd..8ea47ece80 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/134/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/134/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -108,10 +107,10 @@ }, "name": "foo" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 41, @@ -165,10 +163,10 @@ }, "name": "bar" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/135/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/135/expected.json index 903738ff2c..02ea59050f 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/135/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/135/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -108,10 +107,10 @@ }, "name": "foo" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 41, @@ -165,10 +163,10 @@ }, "name": "foo" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -222,7 +220,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 55, @@ -240,10 +237,10 @@ }, "name": "foo" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -279,7 +276,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 68, @@ -297,10 +293,10 @@ }, "name": "foo" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/136/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/136/expected.json index c01494b7de..750cacb621 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/136/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/136/expected.json @@ -111,7 +111,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/137/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/137/expected.json index 0864f451f7..8997009532 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/137/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/137/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": true, "key": { "type": "Identifier", "start": 22, @@ -108,10 +107,10 @@ }, "name": "foo" }, + "computed": true, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/138/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/138/expected.json index e8baafdc74..957478e7aa 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/138/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/138/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,10 +107,10 @@ }, "name": "foo" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -165,7 +164,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 28, @@ -183,10 +181,10 @@ }, "name": "foo" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/139/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/139/expected.json index b61e6d560f..630f0922d1 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/139/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/139/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -108,10 +107,10 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 23, @@ -165,10 +163,10 @@ }, "name": "foo" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/143/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/143/expected.json index 6852b7e74c..81682a426d 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/143/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/143/expected.json @@ -107,7 +107,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/144/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/144/expected.json index c484ee3622..39a49e838b 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/144/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/144/expected.json @@ -127,7 +127,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 11, @@ -145,6 +144,7 @@ }, "name": "y" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/145/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/145/expected.json index b57ffb2797..f18b6c9233 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/145/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/145/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": true, "key": { "type": "Identifier", "start": 7, @@ -90,10 +89,10 @@ }, "name": "x" }, + "computed": true, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -129,7 +128,6 @@ } }, "method": false, - "computed": true, "key": { "type": "Identifier", "start": 21, @@ -147,10 +145,10 @@ }, "name": "x" }, + "computed": true, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/146/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/146/expected.json index 5aab5e9622..cbe2c1669b 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/146/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/146/expected.json @@ -93,7 +93,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/147/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/147/expected.json index 9b0cfcecac..7d30ae5aec 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/147/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/147/expected.json @@ -156,7 +156,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 16, @@ -174,6 +173,7 @@ }, "name": "y" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/148/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/148/expected.json index 35aa9b82e9..c4f8097dda 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/148/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/148/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/149/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/149/expected.json index 1bb1bd74da..dd4deea1fc 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/149/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/149/expected.json @@ -125,7 +125,6 @@ "kind": "method", "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/150/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/150/expected.json index 2e9d46b456..25524ab3ad 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/150/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/150/expected.json @@ -111,7 +111,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/152/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/152/expected.json index 4577cf0204..03e81654d2 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/152/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/152/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/153/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/153/expected.json index a371840ab6..8f15ae2b2f 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/153/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/153/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -125,6 +123,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -179,7 +178,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -197,6 +195,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/154/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/154/expected.json index 5138fc882b..c3283eacde 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/154/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/154/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -137,7 +136,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -155,6 +153,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -209,7 +208,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 20, @@ -227,6 +225,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/155/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/155/expected.json index a35b2d27f2..cd2b61093a 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/155/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/155/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 2, @@ -90,6 +89,7 @@ }, "name": "f" }, + "computed": false, "shorthand": false, "value": { "type": "FunctionExpression", @@ -107,7 +107,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -154,7 +153,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -172,6 +170,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -226,7 +225,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -244,6 +242,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/156/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/156/expected.json index f023b81a28..a45ec992c9 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/156/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/156/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 2, @@ -90,10 +89,10 @@ }, "name": "f" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -140,7 +139,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -158,6 +156,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -212,7 +211,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 11, @@ -230,6 +228,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/157/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/157/expected.json index 2964c59783..c035135f59 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/157/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/157/expected.json @@ -88,7 +88,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 8, @@ -106,10 +105,10 @@ }, "name": "f" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -156,7 +155,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 11, @@ -174,6 +172,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -228,7 +227,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 17, @@ -246,6 +244,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/158/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/158/expected.json index a94e42c1d7..abab4d3407 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/158/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/158/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -105,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -123,6 +121,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -177,7 +176,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -195,6 +193,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/159/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/159/expected.json index e1465d0c7d..994c1ca32c 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/159/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/159/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/160/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/160/expected.json index a0c1096c6f..cbee94cb95 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/160/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/160/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/161/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/161/expected.json index ef6bf56941..f370fc56ed 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/161/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/161/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "f" }, + "computed": false, "shorthand": false, "value": { "type": "FunctionExpression", @@ -139,7 +139,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/162/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/162/expected.json index 11d3f9a875..03e03a58ba 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/162/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/162/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,10 +121,10 @@ }, "name": "f" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/163/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/163/expected.json index 07716be5ae..81c2986660 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/163/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/163/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/164/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/164/expected.json index a42e8c8b1d..88ec97dda2 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/164/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/164/expected.json @@ -60,7 +60,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/165/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/165/expected.json index c48f8c98ce..3b3abf58dc 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/165/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/165/expected.json @@ -60,7 +60,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -93,7 +92,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 13, @@ -111,6 +109,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -148,7 +147,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 16, @@ -166,6 +164,7 @@ }, "name": "b" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/166/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/166/expected.json index 5327aa282f..ed1323e105 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/166/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/166/expected.json @@ -60,7 +60,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -110,7 +109,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 16, @@ -128,6 +126,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/167/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/167/expected.json index 83e3c57d2c..ccd5690b8d 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/167/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/167/expected.json @@ -60,7 +60,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/168/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/168/expected.json index 3fb28437fb..0e7b34d231 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/168/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/168/expected.json @@ -60,7 +60,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -93,7 +92,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 13, @@ -111,6 +109,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -142,7 +141,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -160,6 +158,7 @@ }, "name": "w" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -197,7 +196,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -215,6 +213,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -255,7 +254,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 26, @@ -273,6 +271,7 @@ }, "name": "b" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayPattern", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/169/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/169/expected.json index 349715bcfa..719937cc53 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/169/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/169/expected.json @@ -74,7 +74,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/170/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/170/expected.json index 6449d5ba66..16140c6a76 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/170/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/170/expected.json @@ -74,7 +74,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -125,6 +123,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -162,7 +161,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 17, @@ -180,6 +178,7 @@ }, "name": "b" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/171/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/171/expected.json index ec25a3ef37..df43443aa7 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/171/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/171/expected.json @@ -74,7 +74,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/172/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/172/expected.json index 8e42ea2ca2..9047896c50 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/172/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/172/expected.json @@ -74,7 +74,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -125,6 +123,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -156,7 +155,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 19, @@ -174,6 +172,7 @@ }, "name": "w" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -211,7 +210,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 22, @@ -229,6 +227,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -269,7 +268,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 27, @@ -287,6 +285,7 @@ }, "name": "b" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayPattern", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/173/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/173/expected.json index f7c8cd58cb..939136ff13 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/173/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/173/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -90,10 +89,10 @@ }, "name": "x" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/174/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/174/expected.json index 17308d92ca..9eeb455f33 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/174/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/174/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -90,10 +89,10 @@ }, "name": "x" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/175/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/175/expected.json index 45eb4b22ff..09c74ff1bf 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/175/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/175/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -90,10 +89,10 @@ }, "name": "x" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -126,7 +125,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 7, @@ -144,6 +142,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -175,7 +174,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -193,6 +191,7 @@ }, "name": "w" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -230,7 +229,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -248,6 +246,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -288,7 +287,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 20, @@ -306,6 +304,7 @@ }, "name": "b" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayPattern", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/176/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/176/expected.json index a8af6c1f54..3fe343e78e 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/176/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/176/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/177/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/177/expected.json index b6621bcdef..ee10a01314 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/177/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/177/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/178/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/178/expected.json index ab295e9001..4905d3b21f 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/178/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/178/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -91,7 +90,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -109,6 +107,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/179/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/179/expected.json index db8d1a1658..75221d0083 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/179/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/179/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -91,7 +90,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -109,6 +107,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/180/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/180/expected.json index 60ac7f04f6..f5a9953b33 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/180/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/180/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/181/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/181/expected.json index abd0b99c56..3d8d9715bd 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/181/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/181/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/182/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/182/expected.json index 6d952744d2..e241e3dc07 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/182/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/182/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -91,7 +90,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -109,6 +107,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayPattern", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/183/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/183/expected.json index 3acabbe14d..f770afe627 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/183/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/183/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -91,7 +90,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -109,6 +107,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", @@ -143,7 +142,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -161,6 +159,7 @@ }, "name": "c" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/186/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/186/expected.json index b8a5b0f64f..8bce2d4713 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/186/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/186/expected.json @@ -102,7 +102,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -120,6 +119,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -157,7 +157,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -175,6 +174,7 @@ }, "name": "b" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/190/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/190/expected.json index ac1a13b3c2..05d7c90ed4 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/190/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/190/expected.json @@ -102,7 +102,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 7, @@ -120,6 +119,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -157,7 +157,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -175,6 +174,7 @@ }, "name": "b" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/26/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/26/expected.json index f5757a32bf..dbc2cc6f1d 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/26/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/26/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -105,6 +104,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectExpression", @@ -136,7 +136,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 13, @@ -154,6 +153,7 @@ }, "name": "y" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", @@ -212,7 +212,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/279/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/279/expected.json index 5703482a9a..cf0523a273 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/279/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/279/expected.json @@ -60,7 +60,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 16, @@ -125,6 +123,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/28/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/28/expected.json index 9910aa18c4..b207aacaae 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/28/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/28/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/29/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/29/expected.json index b6a6ef550a..22b0d5dc8f 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/29/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/29/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/30/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/30/expected.json index 0d66821115..0c593af975 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/30/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/30/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/300/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/300/expected.json index ac195d7470..8914b2e1e1 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/300/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/300/expected.json @@ -60,7 +60,6 @@ "name": "normal" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/303/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/303/expected.json index 668070027b..2c80d9e454 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/303/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/303/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "get" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/304/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/304/expected.json index 1f0a81aa3a..1adbe93a44 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/304/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/304/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "propName" }, + "computed": false, "shorthand": false, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/305/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/305/expected.json index 65a3330a86..b0ea92c5b3 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/305/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/305/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "propName" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/307/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/307/expected.json index 26e8370e1b..d4f785258b 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/307/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/307/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 2, @@ -105,6 +104,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/308/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/308/expected.json index b7295cf418..5e31273530 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/308/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/308/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -91,7 +90,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 2, @@ -109,6 +107,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/309/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/309/expected.json index 195565514b..31465756a4 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/309/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/309/expected.json @@ -119,7 +119,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -137,6 +136,7 @@ }, "name": "b" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -168,7 +168,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -186,6 +185,7 @@ }, "name": "c" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/31/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/31/expected.json index 36e04398ee..87e6e46b23 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/31/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/31/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/310/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/310/expected.json index 59105c1b3f..009ef9172c 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/310/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/310/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -90,6 +89,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/313/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/313/expected.json index 6c8963e87e..984ef148e0 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/313/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/313/expected.json @@ -103,7 +103,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -121,6 +120,7 @@ }, "name": "message" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/314/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/314/expected.json index fbe0b1f788..afd0831c36 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/314/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/314/expected.json @@ -89,7 +89,6 @@ "column": 21 } }, - "static": false, "kind": "method", "computed": false, "key": { @@ -109,9 +108,9 @@ }, "name": "static" }, + "static": false, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/316/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/316/expected.json index a80e13719d..adcf59bfac 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/316/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/316/expected.json @@ -91,7 +91,6 @@ }, "static": false, "kind": "method", - "computed": false, "key": { "type": "Identifier", "start": 11, @@ -109,9 +108,9 @@ }, "name": "static" }, + "computed": false, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/32/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/32/expected.json index 54989111af..3658a6b51a 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/32/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/32/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/321/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/321/expected.json index 2a3b5211e8..e550cb99b7 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/321/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/321/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/33/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/33/expected.json index e493220b5c..2d11218d2e 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/33/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/33/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -109,7 +108,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 8, @@ -127,6 +125,7 @@ }, "name": "property" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/338/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/338/expected.json index ff0188633a..cbf90c40f0 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/338/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/338/expected.json @@ -74,7 +74,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/34/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/34/expected.json index 93d45404a4..5ae406f90c 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/34/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/34/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/35/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/35/expected.json index 78728a0062..dbb53e95e2 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/35/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/35/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/350/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/350/expected.json index 6c8ba6c0c7..dcec00d3bd 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/350/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/350/expected.json @@ -130,7 +130,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -148,6 +147,7 @@ }, "name": "__proto__" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/351/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/351/expected.json index 40fd874fe3..518df06259 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/351/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/351/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -90,10 +89,10 @@ }, "name": "__proto__" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -165,7 +164,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 29, @@ -183,6 +181,7 @@ }, "name": "__proto__" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/352/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/352/expected.json index 9430a3ea5b..f4fa87a34a 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/352/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/352/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 7, @@ -90,10 +89,10 @@ }, "name": "__proto__" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -165,7 +164,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 33, @@ -183,6 +181,7 @@ }, "name": "__proto__" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/355/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/355/expected.json index 0081764853..4b50507632 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/355/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/355/expected.json @@ -60,7 +60,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -93,7 +92,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 13, @@ -111,6 +109,7 @@ }, "name": "set" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/36/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/36/expected.json index cdb2f5c52e..12b4ea09d9 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/36/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/36/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/360/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/360/expected.json index cfee130b5b..476c53c8da 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/360/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/360/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 8, @@ -105,6 +104,7 @@ }, "name": "await" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/362/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/362/expected.json index 2f746e5bd4..e6d82ad739 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/362/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/362/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -93,7 +92,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -111,6 +109,7 @@ }, "name": "await" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/364/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/364/expected.json index 51f1dbd5b4..38250dd49d 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/364/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/364/expected.json @@ -60,7 +60,6 @@ "name": "await" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/384/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/384/expected.json index 5113890dce..214000f901 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/384/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/384/expected.json @@ -76,7 +76,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/385/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/385/expected.json index a3bcbae858..c99dcb1020 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/385/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/385/expected.json @@ -76,7 +76,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": true, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/39/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/39/expected.json index e47019cdb6..6890a7d437 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/39/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/39/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/391/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/391/expected.json index b426a8f949..a3bf05cf5d 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/391/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/391/expected.json @@ -76,7 +76,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/393/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/393/expected.json index 519d3d0d90..dd2bcfe764 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/393/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/393/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -91,7 +90,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 2, @@ -109,6 +107,7 @@ }, "name": "set" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/40/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/40/expected.json index b7e7b61001..cf27183ec2 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/40/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/40/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/41/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/41/expected.json index 1f49c57e2d..29078923b5 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/41/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/41/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/42/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/42/expected.json index a2bf196ca0..ba75a08eb7 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/42/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/42/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/43/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/43/expected.json index d912fa2794..5d58016491 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/43/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/43/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/44/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/44/expected.json index 84f8889f2f..a8fee8ae67 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/44/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/44/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/45/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/45/expected.json index 31928b1851..a8155f5a01 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/45/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/45/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/46/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/46/expected.json index cab6510eaf..b7657b46b5 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/46/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/46/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/47/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/47/expected.json index 5b9f51fa62..be94c3c8d0 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/47/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/47/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -95,7 +94,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/48/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/48/expected.json index 864245ed88..6145b03905 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/48/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/48/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -95,7 +94,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/49/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/49/expected.json index d6a7efe40f..c483c721e1 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/49/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/49/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/5/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/5/expected.json index 8a3dd5608b..8ba09d6077 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/5/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/5/expected.json @@ -60,7 +60,6 @@ "name": "test" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/50/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/50/expected.json index e5022056df..cfdd7259cc 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/50/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/50/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/52/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/52/expected.json index 9415c4be2b..05d60f30b1 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/52/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/52/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,10 +121,10 @@ }, "name": "method" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/53/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/53/expected.json index d5e9eb555e..5018252dae 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/53/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/53/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,10 +121,10 @@ }, "name": "method" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/54/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/54/expected.json index 879d54f7ee..6e2e4d98d3 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/54/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/54/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "StringLiteral", "start": 6, @@ -125,10 +124,10 @@ }, "value": "method" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/55/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/55/expected.json index a1a2904802..9689a45ac8 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/55/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/55/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,10 +121,10 @@ }, "name": "get" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/56/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/56/expected.json index 947e572d5e..d8d8cfee12 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/56/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/56/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,10 +121,10 @@ }, "name": "set" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/61/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/61/expected.json index 620e423e0a..abd80881c6 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/61/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/61/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "y" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -159,7 +159,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -177,6 +176,7 @@ }, "name": "z" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/63/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/63/expected.json index 32c1f441a1..d6a7a13e09 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/63/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/63/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 7, @@ -105,6 +104,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/65/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/65/expected.json index 1903ed8773..c30eb05cd5 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/65/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/65/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/67/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/67/expected.json index 553cd0a7b1..cf2e7c370b 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/67/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/67/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/69/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/69/expected.json index 87c594fbad..a3a3bf16b0 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/69/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/69/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 7, @@ -105,6 +104,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/70/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/70/expected.json index f19653b31b..19dcbbb5b0 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/70/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/70/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/71/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/71/expected.json index 62072bc52e..9b861018fd 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/71/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/71/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/77/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/77/expected.json index 43573a5711..31bb9f1617 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/77/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/77/expected.json @@ -76,7 +76,6 @@ "name": "parse" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/80/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/80/expected.json index 3c9a9fc01d..055c8513c2 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/80/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/80/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/81/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/81/expected.json index 2296dba4c1..a0a439c512 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/81/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/81/expected.json @@ -74,7 +74,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/uncategorised/9/expected.json b/packages/babylon/test/fixtures/es2015/uncategorised/9/expected.json index 95b01a403f..90750e471c 100644 --- a/packages/babylon/test/fixtures/es2015/uncategorised/9/expected.json +++ b/packages/babylon/test/fixtures/es2015/uncategorised/9/expected.json @@ -60,7 +60,6 @@ "name": "test" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/asi/expected.json b/packages/babylon/test/fixtures/es2015/yield/asi/expected.json index dca7e84e4b..eb48399f8b 100644 --- a/packages/babylon/test/fixtures/es2015/yield/asi/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/asi/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/basic-with-argument/expected.json b/packages/babylon/test/fixtures/es2015/yield/basic-with-argument/expected.json index 6370008347..498f091455 100644 --- a/packages/babylon/test/fixtures/es2015/yield/basic-with-argument/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/basic-with-argument/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/basic-without-argument/expected.json b/packages/babylon/test/fixtures/es2015/yield/basic-without-argument/expected.json index c06f76fd9b..8f43ffec56 100644 --- a/packages/babylon/test/fixtures/es2015/yield/basic-without-argument/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/basic-without-argument/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/function-name-function-declaration/expected.json b/packages/babylon/test/fixtures/es2015/yield/function-name-function-declaration/expected.json index 48c7abd934..d2579ee54d 100644 --- a/packages/babylon/test/fixtures/es2015/yield/function-name-function-declaration/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/function-name-function-declaration/expected.json @@ -60,7 +60,6 @@ "name": "yield" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/function-name-function-expression-inside-generator/expected.json b/packages/babylon/test/fixtures/es2015/yield/function-name-function-expression-inside-generator/expected.json index adb52158c7..8d7c612194 100644 --- a/packages/babylon/test/fixtures/es2015/yield/function-name-function-expression-inside-generator/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/function-name-function-expression-inside-generator/expected.json @@ -60,7 +60,6 @@ "name": "fn" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -124,7 +123,6 @@ "name": "yield" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/function-name-function-expression/expected.json b/packages/babylon/test/fixtures/es2015/yield/function-name-function-expression/expected.json index f9d6ec61df..8bc27e3e8b 100644 --- a/packages/babylon/test/fixtures/es2015/yield/function-name-function-expression/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/function-name-function-expression/expected.json @@ -90,7 +90,6 @@ "name": "yield" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/function-name-function-method/expected.json b/packages/babylon/test/fixtures/es2015/yield/function-name-function-method/expected.json index e6f2fa5700..522747fd53 100644 --- a/packages/babylon/test/fixtures/es2015/yield/function-name-function-method/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/function-name-function-method/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -108,10 +107,10 @@ }, "name": "yield" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/function-name-generator-declaration/expected.json b/packages/babylon/test/fixtures/es2015/yield/function-name-generator-declaration/expected.json index fa5c096371..120cd02cd3 100644 --- a/packages/babylon/test/fixtures/es2015/yield/function-name-generator-declaration/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/function-name-generator-declaration/expected.json @@ -60,7 +60,6 @@ "name": "yield" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/function-name-generator-method/expected.json b/packages/babylon/test/fixtures/es2015/yield/function-name-generator-method/expected.json index 6cc8417dd6..39ed075d24 100644 --- a/packages/babylon/test/fixtures/es2015/yield/function-name-generator-method/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/function-name-generator-method/expected.json @@ -91,7 +91,6 @@ }, "static": false, "kind": "method", - "computed": false, "key": { "type": "Identifier", "start": 13, @@ -109,9 +108,9 @@ }, "name": "yield" }, + "computed": false, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/function-name-inside-function/expected.json b/packages/babylon/test/fixtures/es2015/yield/function-name-inside-function/expected.json index cb8604acf3..d194f09b42 100644 --- a/packages/babylon/test/fixtures/es2015/yield/function-name-inside-function/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/function-name-inside-function/expected.json @@ -60,7 +60,6 @@ "name": "fn" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -110,7 +109,6 @@ "name": "yield" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/inside-arrow-inside-generator/expected.json b/packages/babylon/test/fixtures/es2015/yield/inside-arrow-inside-generator/expected.json index 274481edfd..877b76020a 100644 --- a/packages/babylon/test/fixtures/es2015/yield/inside-arrow-inside-generator/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/inside-arrow-inside-generator/expected.json @@ -60,7 +60,6 @@ "name": "fn" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -108,7 +107,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { @@ -160,7 +158,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-arrow-inside-generator/expected.json b/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-arrow-inside-generator/expected.json index fb243454e0..4471abb198 100644 --- a/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-arrow-inside-generator/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-arrow-inside-arrow-inside-generator/expected.json @@ -60,7 +60,6 @@ "name": "fn" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -108,7 +107,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { @@ -127,7 +125,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-arrow/expected.json b/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-arrow/expected.json index 4e9be7eb6c..078bdf09bd 100644 --- a/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-arrow/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-arrow/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-function-inside-generator/expected.json b/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-function-inside-generator/expected.json index a0e97b21b0..866cdc1311 100644 --- a/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-function-inside-generator/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-function-inside-generator/expected.json @@ -60,7 +60,6 @@ "name": "fn" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -110,7 +109,6 @@ "name": "fn2" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-function/expected.json b/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-function/expected.json index cc2cd47467..c8bee4e85c 100644 --- a/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-function/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/parameter-default-inside-function/expected.json @@ -60,7 +60,6 @@ "name": "fn" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/yield/parameter-name-arrow-inside-arrow-inside-generator/expected.json b/packages/babylon/test/fixtures/es2015/yield/parameter-name-arrow-inside-arrow-inside-generator/expected.json index 196e931a5a..2561dac703 100644 --- a/packages/babylon/test/fixtures/es2015/yield/parameter-name-arrow-inside-arrow-inside-generator/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/parameter-name-arrow-inside-arrow-inside-generator/expected.json @@ -60,7 +60,6 @@ "name": "fn" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -108,7 +107,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { @@ -127,7 +125,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/yield/parameter-name-arrow-no-parens/expected.json b/packages/babylon/test/fixtures/es2015/yield/parameter-name-arrow-no-parens/expected.json index e9f9206b36..5d1679862c 100644 --- a/packages/babylon/test/fixtures/es2015/yield/parameter-name-arrow-no-parens/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/parameter-name-arrow-no-parens/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/yield/parameter-name-arrow/expected.json b/packages/babylon/test/fixtures/es2015/yield/parameter-name-arrow/expected.json index 6dfa746d3a..bb53d708dc 100644 --- a/packages/babylon/test/fixtures/es2015/yield/parameter-name-arrow/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/parameter-name-arrow/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/yield/parameter-name-function/expected.json b/packages/babylon/test/fixtures/es2015/yield/parameter-name-function/expected.json index 9ac15233bb..f622a3453b 100644 --- a/packages/babylon/test/fixtures/es2015/yield/parameter-name-function/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/parameter-name-function/expected.json @@ -60,7 +60,6 @@ "name": "fn" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/yield/yield-star-in-arrow-scope-is-multiplication/expected.json b/packages/babylon/test/fixtures/es2015/yield/yield-star-in-arrow-scope-is-multiplication/expected.json index 177e044e8d..b8501a57bf 100644 --- a/packages/babylon/test/fixtures/es2015/yield/yield-star-in-arrow-scope-is-multiplication/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/yield-star-in-arrow-scope-is-multiplication/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-generator-function-declaration/expected.json b/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-generator-function-declaration/expected.json index 44a42a67a3..a8ba560b28 100644 --- a/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-generator-function-declaration/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-generator-function-declaration/expected.json @@ -60,7 +60,6 @@ "name": "test" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-generator-function-expression/expected.json b/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-generator-function-expression/expected.json index 19da0b61bb..1d05b84fb0 100644 --- a/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-generator-function-expression/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-generator-function-expression/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-generator-method/expected.json b/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-generator-method/expected.json index 23040e20d4..3d0e47f352 100644 --- a/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-generator-method/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-generator-method/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 11, @@ -122,10 +121,10 @@ }, "name": "test" }, + "computed": false, "kind": "method", "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-plain-function/expected.json b/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-plain-function/expected.json index 98b14d48e2..9a32885703 100644 --- a/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-plain-function/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/yield-star-inside-plain-function/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2015/yield/yield-star-parameter-default-inside-function/expected.json b/packages/babylon/test/fixtures/es2015/yield/yield-star-parameter-default-inside-function/expected.json index 3a1b23b0fb..7b7b46c6aa 100644 --- a/packages/babylon/test/fixtures/es2015/yield/yield-star-parameter-default-inside-function/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/yield-star-parameter-default-inside-function/expected.json @@ -60,7 +60,6 @@ "name": "fn" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2015/yield/yield-yield/expected.json b/packages/babylon/test/fixtures/es2015/yield/yield-yield/expected.json index d31bc5cfdb..7077117a62 100644 --- a/packages/babylon/test/fixtures/es2015/yield/yield-yield/expected.json +++ b/packages/babylon/test/fixtures/es2015/yield/yield-yield/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2016/simple-parameter-list/arrow-function-concise-body/expected.json b/packages/babylon/test/fixtures/es2016/simple-parameter-list/arrow-function-concise-body/expected.json index 647180b64a..06b1680cce 100644 --- a/packages/babylon/test/fixtures/es2016/simple-parameter-list/arrow-function-concise-body/expected.json +++ b/packages/babylon/test/fixtures/es2016/simple-parameter-list/arrow-function-concise-body/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2016/simple-parameter-list/async-arrow-function-concise-body/expected.json b/packages/babylon/test/fixtures/es2016/simple-parameter-list/async-arrow-function-concise-body/expected.json index 419b4797ef..6fa67c4b57 100644 --- a/packages/babylon/test/fixtures/es2016/simple-parameter-list/async-arrow-function-concise-body/expected.json +++ b/packages/babylon/test/fixtures/es2016/simple-parameter-list/async-arrow-function-concise-body/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": true, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/1/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/1/expected.json index b2dfa5cf58..29c0ee4b37 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/1/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/1/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": true, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/11/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/11/expected.json index 3d14dde860..5d0744fda3 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/11/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/11/expected.json @@ -92,7 +92,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/12/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/12/expected.json index 8398464169..60e0f51f82 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/12/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/12/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/13/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/13/expected.json index 02dbad929b..c07c03c722 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/13/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/13/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -126,7 +125,6 @@ "name": "inner" }, "generator": false, - "expression": false, "async": true, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/14/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/14/expected.json index f02a870e41..59208fb2a3 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/14/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/14/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/15/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/15/expected.json index 6e44684aa0..17ec04f488 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/15/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/15/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -122,6 +121,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", @@ -159,7 +159,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 22, @@ -177,10 +176,10 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/16/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/16/expected.json index 186ab6f31f..803a31c95b 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/16/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/16/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -108,10 +107,10 @@ }, "name": "bar" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/17/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/17/expected.json index a5afb02270..a85f67bc3b 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/17/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/17/expected.json @@ -107,7 +107,6 @@ }, "id": null, "generator": false, - "expression": true, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/18/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/18/expected.json index 2b5f4bdab0..50c1d58cda 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/18/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/18/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/21/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/21/expected.json index e881d2604b..7b7cf69185 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/21/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/21/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/22/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/22/expected.json index 6975fdfe3b..e6f223e3e7 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/22/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/22/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 13, @@ -108,10 +107,10 @@ }, "name": "async" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/24/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/24/expected.json index 9f0d18451f..09728b9245 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/24/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/24/expected.json @@ -125,7 +125,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/25/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/25/expected.json index a3bcbae858..c99dcb1020 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/25/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/25/expected.json @@ -76,7 +76,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": true, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/26/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/26/expected.json index 8039ab6b86..6e16907227 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/26/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/26/expected.json @@ -107,7 +107,6 @@ }, "id": null, "generator": false, - "expression": true, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/27/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/27/expected.json index c22d0e642a..eb5ac8510e 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/27/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/27/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/28/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/28/expected.json index 5542a1f7d0..3dc06069e4 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/28/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/28/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/29/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/29/expected.json index 993df81280..91610202b3 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/29/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/29/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -123,7 +122,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 23, @@ -141,6 +139,7 @@ }, "name": "async" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/es2017/async-functions/30/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/30/expected.json index 0bb8a17387..3fe8245c09 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/30/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/30/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -123,7 +122,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 23, @@ -141,6 +139,7 @@ }, "name": "async" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2017/async-functions/31/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/31/expected.json index 1284053864..8bc4a63cfa 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/31/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/31/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/32/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/32/expected.json index 7bdc1b1cbc..db96100e2d 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/32/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/32/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/33/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/33/expected.json index 26698d24e6..fac94f5513 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/33/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/33/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": true, "params": [ { @@ -123,7 +122,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 29, @@ -141,6 +139,7 @@ }, "name": "async" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2017/async-functions/34/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/34/expected.json index fe65e72356..c5fe2d9cb3 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/34/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/34/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": true, "params": [ { @@ -123,7 +122,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 29, @@ -141,6 +139,7 @@ }, "name": "async" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/es2017/async-functions/37/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/37/expected.json index 9904051f7a..484373d0e1 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/37/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/37/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 8, @@ -105,6 +104,7 @@ }, "name": "async" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/es2017/async-functions/38/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/38/expected.json index ac62e0ad35..ae80496661 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/38/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/38/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 8, @@ -105,6 +104,7 @@ }, "name": "async" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2017/async-functions/8/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/8/expected.json index 7f51e9a3eb..d1fbeefaa8 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/8/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/8/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 7, @@ -105,6 +104,7 @@ }, "name": "async" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/es2017/async-functions/export-arrow/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/export-arrow/expected.json index dd7fe7275a..ffc3c8de46 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/export-arrow/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/export-arrow/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": true, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/export/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/export/expected.json index 68a60db703..4a5c2e36a0 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/export/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/export/expected.json @@ -76,7 +76,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": true, "params": [], "body": { @@ -144,7 +143,6 @@ "name": "bar" }, "generator": false, - "expression": false, "async": true, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/es2017/async-functions/object-default-params/expected.json b/packages/babylon/test/fixtures/es2017/async-functions/object-default-params/expected.json index 300d135dc2..f0b1ac0d4a 100644 --- a/packages/babylon/test/fixtures/es2017/async-functions/object-default-params/expected.json +++ b/packages/babylon/test/fixtures/es2017/async-functions/object-default-params/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": true, "params": [ { @@ -123,7 +122,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -141,6 +139,7 @@ }, "name": "bar" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/es2017/trailing-function-commas/2/expected.json b/packages/babylon/test/fixtures/es2017/trailing-function-commas/2/expected.json index 99e64d2352..bc6cd543f1 100644 --- a/packages/babylon/test/fixtures/es2017/trailing-function-commas/2/expected.json +++ b/packages/babylon/test/fixtures/es2017/trailing-function-commas/2/expected.json @@ -60,7 +60,6 @@ "name": "log" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/trailing-function-commas/3/expected.json b/packages/babylon/test/fixtures/es2017/trailing-function-commas/3/expected.json index 333b273272..dbc2b26938 100644 --- a/packages/babylon/test/fixtures/es2017/trailing-function-commas/3/expected.json +++ b/packages/babylon/test/fixtures/es2017/trailing-function-commas/3/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -108,10 +107,10 @@ }, "name": "bar" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/es2017/trailing-function-commas/4/expected.json b/packages/babylon/test/fixtures/es2017/trailing-function-commas/4/expected.json index 53f94b690d..0544404b2d 100644 --- a/packages/babylon/test/fixtures/es2017/trailing-function-commas/4/expected.json +++ b/packages/babylon/test/fixtures/es2017/trailing-function-commas/4/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0010/expected.json b/packages/babylon/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0010/expected.json index e5fa9ec260..5d53da8da0 100644 --- a/packages/babylon/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0010/expected.json +++ b/packages/babylon/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0010/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0011/expected.json b/packages/babylon/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0011/expected.json index 3b50dd8b73..596e242872 100644 --- a/packages/babylon/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0011/expected.json +++ b/packages/babylon/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0011/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0012/expected.json b/packages/babylon/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0012/expected.json index 6ae21e8aa6..8cc2cff071 100644 --- a/packages/babylon/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0012/expected.json +++ b/packages/babylon/test/fixtures/esprima/automatic-semicolon-insertion/migrated_0012/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0000/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0000/expected.json index 89d8911652..23c82e4414 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0000/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0000/expected.json @@ -60,7 +60,6 @@ "name": "hello" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0001/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0001/expected.json index 01acb188ed..4373bde0ec 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0001/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0001/expected.json @@ -60,7 +60,6 @@ "name": "eval" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0002/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0002/expected.json index 93d4d923bf..bfb1492420 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0002/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0002/expected.json @@ -60,7 +60,6 @@ "name": "arguments" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0003/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0003/expected.json index 05cce3b8f3..98648b2ea6 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0003/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0003/expected.json @@ -60,7 +60,6 @@ "name": "test" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0004/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0004/expected.json index 4b79120694..1cdd5e11dc 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0004/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0004/expected.json @@ -74,7 +74,6 @@ "name": "test" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0005/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0005/expected.json index 1b08145eb9..e9cfba6c40 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0005/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0005/expected.json @@ -60,7 +60,6 @@ "name": "eval" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -110,7 +109,6 @@ "name": "inner" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0006/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0006/expected.json index a5373f5a79..4b567d3793 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0006/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0006/expected.json @@ -60,7 +60,6 @@ "name": "hello" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0007/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0007/expected.json index cdfeb7b019..d40cf30ddd 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0007/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0007/expected.json @@ -60,7 +60,6 @@ "name": "hello" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0008/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0008/expected.json index 7df304a88a..fcf126fd3e 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0008/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0008/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0009/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0009/expected.json index ce5cb42288..da1c8e4283 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0009/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0009/expected.json @@ -106,7 +106,6 @@ "name": "eval" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0010/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0010/expected.json index 2b88f0d953..26a8841932 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0010/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0010/expected.json @@ -106,7 +106,6 @@ "name": "arguments" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0011/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0011/expected.json index f3e529622f..0aaae5e1db 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0011/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0011/expected.json @@ -106,7 +106,6 @@ "name": "hi" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0012/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0012/expected.json index f79af90cc1..845e87f689 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0012/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0012/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0013/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0013/expected.json index 511cc1461a..e6495a754a 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0013/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0013/expected.json @@ -60,7 +60,6 @@ "name": "universe" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0014/expected.json b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0014/expected.json index 9b336de80e..5e95ad45da 100644 --- a/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0014/expected.json +++ b/packages/babylon/test/fixtures/esprima/declaration-function/migrated_0014/expected.json @@ -60,7 +60,6 @@ "name": "test" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/directive-prolog/migrated_0000/expected.json b/packages/babylon/test/fixtures/esprima/directive-prolog/migrated_0000/expected.json index e7c92d32b5..691e0b0735 100644 --- a/packages/babylon/test/fixtures/esprima/directive-prolog/migrated_0000/expected.json +++ b/packages/babylon/test/fixtures/esprima/directive-prolog/migrated_0000/expected.json @@ -72,7 +72,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/directive-prolog/migrated_0001/expected.json b/packages/babylon/test/fixtures/esprima/directive-prolog/migrated_0001/expected.json index 4530bdb97f..9310c48ca2 100644 --- a/packages/babylon/test/fixtures/esprima/directive-prolog/migrated_0001/expected.json +++ b/packages/babylon/test/fixtures/esprima/directive-prolog/migrated_0001/expected.json @@ -72,7 +72,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-01/expected.json b/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-01/expected.json index 592f6f4c3a..0bd708c7c3 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-01/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-01/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-02/expected.json b/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-02/expected.json index 40992a4383..8d094fa12f 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-02/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-02/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-03/expected.json b/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-03/expected.json index 99f74f62d8..ff62975881 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-03/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-03/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-empty/expected.json b/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-empty/expected.json index bf9322b67a..3625bde002 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-empty/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/array-binding-pattern-empty/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/elision/expected.json b/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/elision/expected.json index cf5275647d..52f0320075 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/elision/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-array-binding-pattern/elision/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-array-pattern/empty-pattern-fn/expected.json b/packages/babylon/test/fixtures/esprima/es2015-array-pattern/empty-pattern-fn/expected.json index eba23577ef..a8dd7d0406 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-array-pattern/empty-pattern-fn/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-array-pattern/empty-pattern-fn/expected.json @@ -60,7 +60,6 @@ "name": "a" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-array-pattern/patterned-catch/expected.json b/packages/babylon/test/fixtures/esprima/es2015-array-pattern/patterned-catch/expected.json index 7dfea8e34d..512ce59407 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-array-pattern/patterned-catch/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-array-pattern/patterned-catch/expected.json @@ -152,7 +152,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -170,6 +169,7 @@ }, "name": "c" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -207,7 +207,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 24, @@ -225,6 +224,7 @@ }, "name": "d" }, + "computed": false, "shorthand": false, "value": { "type": "AssignmentPattern", @@ -381,7 +381,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 40, @@ -399,6 +398,7 @@ }, "name": "h" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/esprima/es2015-array-pattern/with-default-fn/expected.json b/packages/babylon/test/fixtures/esprima/es2015-array-pattern/with-default-fn/expected.json index 187faa482d..88958a6e4c 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-array-pattern/with-default-fn/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-array-pattern/with-default-fn/expected.json @@ -60,7 +60,6 @@ "name": "a" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-array-pattern/with-object-pattern/expected.json b/packages/babylon/test/fixtures/esprima/es2015-array-pattern/with-object-pattern/expected.json index dea5d68b0e..d6906352d8 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-array-pattern/with-object-pattern/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-array-pattern/with-object-pattern/expected.json @@ -102,7 +102,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -120,6 +119,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/arrow-with-multiple-arg-and-rest/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/arrow-with-multiple-arg-and-rest/expected.json index 937d51b638..4052cfa0a7 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/arrow-with-multiple-arg-and-rest/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/arrow-with-multiple-arg-and-rest/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/arrow-with-only-rest/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/arrow-with-only-rest/expected.json index 1ab3f26f36..7cf001e9d2 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/arrow-with-only-rest/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/arrow-with-only-rest/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0000/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0000/expected.json index 9910aa18c4..b207aacaae 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0000/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0000/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0001/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0001/expected.json index b6a6ef550a..22b0d5dc8f 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0001/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0001/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0002/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0002/expected.json index 0d66821115..0c593af975 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0002/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0002/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0003/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0003/expected.json index 36e04398ee..87e6e46b23 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0003/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0003/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0004/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0004/expected.json index 54989111af..3658a6b51a 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0004/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0004/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0005/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0005/expected.json index e493220b5c..2d11218d2e 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0005/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0005/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -109,7 +108,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 8, @@ -127,6 +125,7 @@ }, "name": "property" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0006/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0006/expected.json index 93d45404a4..5ae406f90c 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0006/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0006/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0007/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0007/expected.json index 78728a0062..dbb53e95e2 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0007/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0007/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0008/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0008/expected.json index e47019cdb6..6890a7d437 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0008/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0008/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0009/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0009/expected.json index b7e7b61001..cf27183ec2 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0009/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0009/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0010/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0010/expected.json index 1f49c57e2d..29078923b5 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0010/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0010/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0011/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0011/expected.json index a2bf196ca0..ba75a08eb7 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0011/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0011/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0012/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0012/expected.json index d912fa2794..5d58016491 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0012/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0012/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0013/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0013/expected.json index 84f8889f2f..a8fee8ae67 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0013/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0013/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0014/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0014/expected.json index 31928b1851..a8155f5a01 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0014/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0014/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0015/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0015/expected.json index cab6510eaf..b7657b46b5 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0015/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0015/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0016/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0016/expected.json index 5b9f51fa62..be94c3c8d0 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0016/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0016/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -95,7 +94,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0017/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0017/expected.json index 864245ed88..6145b03905 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0017/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0017/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -95,7 +94,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0018/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0018/expected.json index d6a7efe40f..c483c721e1 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0018/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0018/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0019/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0019/expected.json index e5022056df..cfdd7259cc 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0019/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0019/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0020/expected.json b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0020/expected.json index b8563aeaae..a9a870f877 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0020/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-arrow-function/migrated_0020/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0004/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0004/expected.json index 1998fa25fd..adde2a7cd8 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0004/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0004/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -108,10 +107,10 @@ }, "name": "a" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0005/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0005/expected.json index 899e4f89fc..f80515d971 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0005/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0005/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -108,10 +107,10 @@ }, "name": "a" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -165,10 +163,10 @@ }, "name": "b" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0006/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0006/expected.json index aee3a382dc..e1222b75ad 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0006/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0006/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -108,10 +107,10 @@ }, "name": "a" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -165,10 +163,10 @@ }, "name": "b" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0007/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0007/expected.json index 30c3a5f4e6..200a67482e 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0007/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0007/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -108,10 +107,10 @@ }, "name": "a" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -165,10 +163,10 @@ }, "name": "b" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0008/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0008/expected.json index fc5dd03053..253ef01d62 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0008/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0008/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -108,10 +107,10 @@ }, "name": "a" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 16, @@ -165,10 +163,10 @@ }, "name": "b" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0009/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0009/expected.json index 163cde64f1..9aef880b83 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0009/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0009/expected.json @@ -89,7 +89,6 @@ "column": 19 } }, - "static": false, "kind": "method", "computed": false, "key": { @@ -109,9 +108,9 @@ }, "name": "static" }, + "static": false, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0010/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0010/expected.json index 123b5826fe..353841b9c9 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0010/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0010/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 13, @@ -108,10 +107,10 @@ }, "name": "a" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 23, @@ -165,10 +163,10 @@ }, "name": "b" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0011/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0011/expected.json index 08bf6cfa7a..b8b6b34fe8 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0011/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0011/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 16, @@ -108,10 +107,10 @@ }, "name": "a" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 33, @@ -165,10 +163,10 @@ }, "name": "a" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -204,7 +202,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 50, @@ -222,10 +219,10 @@ }, "name": "a" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0012/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0012/expected.json index cf546974f2..dbee3c7e34 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0012/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0012/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 16, @@ -108,10 +107,10 @@ }, "name": "a" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0013/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0013/expected.json index f0fd394ac8..34d93e3c4d 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0013/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0013/expected.json @@ -111,7 +111,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0014/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0014/expected.json index 1ff1dcca26..0a1abb2895 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0014/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0014/expected.json @@ -111,7 +111,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -168,7 +167,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0015/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0015/expected.json index fffddf1e76..93bf26f7d2 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0015/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0015/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 16, @@ -108,10 +107,10 @@ }, "name": "static" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0017/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0017/expected.json index ae929ebe00..909d9672ba 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0017/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0017/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -108,10 +107,10 @@ }, "name": "prototype" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0018/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0018/expected.json index ef96011b27..c59d09ec5d 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0018/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0018/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -108,10 +107,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0019/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0019/expected.json index 9fc80e5ba4..16f5dcc9fa 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0019/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0019/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "StringLiteral", "start": 9, @@ -111,10 +110,10 @@ }, "value": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -174,7 +173,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0020/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0020/expected.json index ae2168a01e..2f57a91a13 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0020/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0020/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 16, @@ -108,10 +107,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 39, @@ -165,10 +163,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0021/expected.json b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0021/expected.json index 3b05492ff7..2eb9fe79f7 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0021/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-class/migrated_0021/expected.json @@ -114,7 +114,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-default-parameter-value/migrated_0000/expected.json b/packages/babylon/test/fixtures/esprima/es2015-default-parameter-value/migrated_0000/expected.json index e1465d0c7d..994c1ca32c 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-default-parameter-value/migrated_0000/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-default-parameter-value/migrated_0000/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-default-parameter-value/migrated_0001/expected.json b/packages/babylon/test/fixtures/esprima/es2015-default-parameter-value/migrated_0001/expected.json index a0c1096c6f..cbee94cb95 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-default-parameter-value/migrated_0001/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-default-parameter-value/migrated_0001/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-default-parameter-value/migrated_0002/expected.json b/packages/babylon/test/fixtures/esprima/es2015-default-parameter-value/migrated_0002/expected.json index ef6bf56941..f370fc56ed 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-default-parameter-value/migrated_0002/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-default-parameter-value/migrated_0002/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "f" }, + "computed": false, "shorthand": false, "value": { "type": "FunctionExpression", @@ -139,7 +139,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/nested-cover-grammar/expected.json b/packages/babylon/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/nested-cover-grammar/expected.json index df55dfe4df..4ef24e0ac5 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/nested-cover-grammar/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-destructuring-assignment-array-pattern/nested-cover-grammar/expected.json @@ -102,7 +102,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 2, @@ -120,6 +119,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/nested-cover-grammar/expected.json b/packages/babylon/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/nested-cover-grammar/expected.json index ffcd88b46a..add1b80a1c 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/nested-cover-grammar/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/nested-cover-grammar/expected.json @@ -387,7 +387,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -405,6 +404,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/object-pattern-assignment/expected.json b/packages/babylon/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/object-pattern-assignment/expected.json index 14b57f257c..6af1d27e59 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/object-pattern-assignment/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-destructuring-assignment-object-pattern/object-pattern-assignment/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 7, @@ -105,6 +104,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -142,7 +142,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -160,6 +159,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", @@ -194,7 +194,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 23, @@ -212,6 +211,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "AssignmentPattern", @@ -327,7 +327,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 39, @@ -345,6 +344,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -385,7 +385,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 47, @@ -403,6 +402,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "MemberExpression", @@ -486,7 +486,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 69, @@ -504,6 +503,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "MemberExpression", diff --git a/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-default-function/expected.json b/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-default-function/expected.json index 3c9a9fc01d..055c8513c2 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-default-function/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-default-function/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-default-named-function/expected.json b/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-default-named-function/expected.json index 73c18e7a0a..cbc9553b0e 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-default-named-function/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-default-named-function/expected.json @@ -74,7 +74,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-default-object/expected.json b/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-default-object/expected.json index e9316ee54f..c7125efbdf 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-default-object/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-default-object/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 17, @@ -90,6 +89,7 @@ }, "name": "foo" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-function-declaration/expected.json b/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-function-declaration/expected.json index a83b57f9d5..67c38420f8 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-function-declaration/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-function-declaration/expected.json @@ -76,7 +76,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-function/expected.json b/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-function/expected.json index 8a4161daa4..efe136334e 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-function/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-function/expected.json @@ -76,7 +76,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-var-anonymous-function/expected.json b/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-var-anonymous-function/expected.json index 22cb4bf78a..08b96321fb 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-var-anonymous-function/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-export-declaration/export-var-anonymous-function/expected.json @@ -106,7 +106,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-for-of/for-of-object-pattern-const/expected.json b/packages/babylon/test/fixtures/esprima/es2015-for-of/for-of-object-pattern-const/expected.json index f39a7f0e1d..fbf2358333 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-for-of/for-of-object-pattern-const/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-for-of/for-of-object-pattern-const/expected.json @@ -102,7 +102,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -120,6 +119,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -157,7 +157,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -175,6 +174,7 @@ }, "name": "y" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/esprima/es2015-for-of/for-of-object-pattern/expected.json b/packages/babylon/test/fixtures/esprima/es2015-for-of/for-of-object-pattern/expected.json index b0e0c85061..3304b9020f 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-for-of/for-of-object-pattern/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-for-of/for-of-object-pattern/expected.json @@ -73,7 +73,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -91,6 +90,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -128,7 +128,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -146,6 +145,7 @@ }, "name": "y" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration-with-params/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration-with-params/expected.json index 2423e57fcf..7bb0447e42 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration-with-params/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration-with-params/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield-delegate/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield-delegate/expected.json index 58db0aae3b..7f84c3d1f5 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield-delegate/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield-delegate/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield/expected.json index be45b3da43..4dccc952c2 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration-with-yield/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration/expected.json index 1218c2a65b..e0f1121abe 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-declaration/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-rest-param/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-rest-param/expected.json index db8af8e978..a242fc1f55 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-rest-param/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-rest-param/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": true, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-with-params/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-with-params/expected.json index f7443b2b26..1362f519ca 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-with-params/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-with-params/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": true, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-with-yield-delegate/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-with-yield-delegate/expected.json index 68ae729a2b..55c5fc1678 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-with-yield-delegate/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-with-yield-delegate/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": true, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-with-yield/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-with-yield/expected.json index 7ae471dd07..037922b8d1 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-with-yield/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression-with-yield/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression/expected.json index c5418c003a..367c8a691c 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-expression/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-computed-name/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-computed-name/expected.json index 66422a0b0a..8044b80e2a 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-computed-name/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-computed-name/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -157,7 +156,6 @@ "kind": "method", "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-params/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-params/expected.json index a45b9ad7f9..90576c1c5c 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-params/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-params/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 4, @@ -90,10 +89,10 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "id": null, "generator": true, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield-delegate/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield-delegate/expected.json index 2180fdc787..822e1710e3 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield-delegate/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield-delegate/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 4, @@ -90,10 +89,10 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield-expression/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield-expression/expected.json index 93a78ef520..786b968d6b 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield-expression/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield-expression/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 4, @@ -90,10 +89,10 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield-line-terminator/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield-line-terminator/expected.json index 8d7abdba4a..92c74802ca 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield-line-terminator/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield-line-terminator/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 4, @@ -90,10 +89,10 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield/expected.json index f4a5aa5272..fdb6ad3cb6 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method-with-yield/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 4, @@ -90,10 +89,10 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method/expected.json index 808a6a8397..18db0c1dd1 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/generator-method/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 4, @@ -90,10 +89,10 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/static-generator-method-with-computed-name/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/static-generator-method-with-computed-name/expected.json index d6bde8049a..416825f0b1 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/static-generator-method-with-computed-name/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/static-generator-method-with-computed-name/expected.json @@ -111,7 +111,6 @@ }, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-generator/static-generator-method/expected.json b/packages/babylon/test/fixtures/esprima/es2015-generator/static-generator-method/expected.json index 14762b81ab..d89096c400 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-generator/static-generator-method/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-generator/static-generator-method/expected.json @@ -91,7 +91,6 @@ }, "static": true, "kind": "method", - "computed": false, "key": { "type": "Identifier", "start": 20, @@ -109,9 +108,9 @@ }, "name": "foo" }, + "computed": false, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-meta-property/assign-new-target/expected.json b/packages/babylon/test/fixtures/esprima/es2015-meta-property/assign-new-target/expected.json index 98424401bd..7aa1ae8e6b 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-meta-property/assign-new-target/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-meta-property/assign-new-target/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-new-target/expected.json b/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-new-target/expected.json index be413af467..288600cccd 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-new-target/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-new-target/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-declaration/expected.json b/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-declaration/expected.json index 1bac964983..c638246c6d 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-declaration/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-declaration/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-expression/expected.json b/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-expression/expected.json index 08af3f07a0..b5752a2847 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-expression/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-expression/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-invoke/expected.json b/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-invoke/expected.json index 78ccbda879..58ba5bb1e8 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-invoke/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-invoke/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-precedence/expected.json b/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-precedence/expected.json index bc3f8206fa..003bc7b4b6 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-precedence/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-meta-property/new-target-precedence/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0000/expected.json b/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0000/expected.json index 9415c4be2b..05d60f30b1 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0000/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0000/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,10 +121,10 @@ }, "name": "method" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0001/expected.json b/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0001/expected.json index d5e9eb555e..5018252dae 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0001/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0001/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,10 +121,10 @@ }, "name": "method" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0002/expected.json b/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0002/expected.json index 879d54f7ee..6e2e4d98d3 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0002/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0002/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "StringLiteral", "start": 6, @@ -125,10 +124,10 @@ }, "value": "method" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0003/expected.json b/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0003/expected.json index a1a2904802..9689a45ac8 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0003/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0003/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,10 +121,10 @@ }, "name": "get" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0004/expected.json b/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0004/expected.json index 947e572d5e..d8d8cfee12 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0004/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-method-definition/migrated_0004/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,10 +121,10 @@ }, "name": "set" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-getter-setter/expected.json b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-getter-setter/expected.json index dbb75d94ab..c0c8200ece 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-getter-setter/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-getter-setter/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -90,6 +89,7 @@ }, "name": "__proto__" }, + "computed": false, "shorthand": false, "value": { "type": "NullLiteral", @@ -122,7 +122,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 24, @@ -140,10 +139,10 @@ }, "name": "__proto__" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -179,7 +178,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 43, @@ -197,10 +195,10 @@ }, "name": "__proto__" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-getter/expected.json b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-getter/expected.json index cbfcf5f82e..181e3c40fe 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-getter/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-getter/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -90,6 +89,7 @@ }, "name": "__proto__" }, + "computed": false, "shorthand": false, "value": { "type": "NullLiteral", @@ -122,7 +122,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 24, @@ -140,10 +139,10 @@ }, "name": "__proto__" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-method/expected.json b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-method/expected.json index df65cc7cd9..bd528c430c 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-method/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-method/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -90,6 +89,7 @@ }, "name": "__proto__" }, + "computed": false, "shorthand": false, "value": { "type": "NullLiteral", @@ -122,7 +122,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 20, @@ -140,10 +139,10 @@ }, "name": "__proto__" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-setter/expected.json b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-setter/expected.json index 0186c1bc41..255173a09b 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-setter/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-identifier-setter/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -90,6 +89,7 @@ }, "name": "__proto__" }, + "computed": false, "shorthand": false, "value": { "type": "NullLiteral", @@ -122,7 +122,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 24, @@ -140,10 +139,10 @@ }, "name": "__proto__" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-getter-setter/expected.json b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-getter-setter/expected.json index e0fb06eef1..4bbb184db3 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-getter-setter/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-getter-setter/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "StringLiteral", "start": 3, @@ -93,6 +92,7 @@ }, "value": "__proto__" }, + "computed": false, "shorthand": false, "value": { "type": "NullLiteral", @@ -125,7 +125,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 26, @@ -143,10 +142,10 @@ }, "name": "__proto__" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -182,7 +181,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 45, @@ -200,10 +198,10 @@ }, "name": "__proto__" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-getter/expected.json b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-getter/expected.json index 895e87a678..3f202ba80a 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-getter/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-getter/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "StringLiteral", "start": 3, @@ -93,6 +92,7 @@ }, "value": "__proto__" }, + "computed": false, "shorthand": false, "value": { "type": "NullLiteral", @@ -125,7 +125,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 26, @@ -143,10 +142,10 @@ }, "name": "__proto__" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-method/expected.json b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-method/expected.json index bb7f43d8a5..14904c3a91 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-method/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-method/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "StringLiteral", "start": 3, @@ -93,6 +92,7 @@ }, "value": "__proto__" }, + "computed": false, "shorthand": false, "value": { "type": "NullLiteral", @@ -125,7 +125,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 22, @@ -143,10 +142,10 @@ }, "name": "__proto__" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-setter/expected.json b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-setter/expected.json index 3d984cf804..8dc996e315 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-setter/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-object-initialiser/proto-literal-setter/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "StringLiteral", "start": 3, @@ -93,6 +92,7 @@ }, "value": "__proto__" }, + "computed": false, "shorthand": false, "value": { "type": "NullLiteral", @@ -125,7 +125,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 26, @@ -143,10 +142,10 @@ }, "name": "__proto__" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-object-literal-property-value-shorthand/migrated_0000/expected.json b/packages/babylon/test/fixtures/esprima/es2015-object-literal-property-value-shorthand/migrated_0000/expected.json index 620e423e0a..abd80881c6 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-object-literal-property-value-shorthand/migrated_0000/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-object-literal-property-value-shorthand/migrated_0000/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "y" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -159,7 +159,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -177,6 +176,7 @@ }, "name": "z" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/esprima/es2015-object-pattern/elision/expected.json b/packages/babylon/test/fixtures/esprima/es2015-object-pattern/elision/expected.json index 6dcfe66427..f546a66df9 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-object-pattern/elision/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-object-pattern/elision/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/esprima/es2015-object-pattern/empty-fn/expected.json b/packages/babylon/test/fixtures/esprima/es2015-object-pattern/empty-fn/expected.json index 62f2520c8c..842fde6287 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-object-pattern/empty-fn/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-object-pattern/empty-fn/expected.json @@ -60,7 +60,6 @@ "name": "a" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-object-pattern/nested/expected.json b/packages/babylon/test/fixtures/esprima/es2015-object-pattern/nested/expected.json index 5e1855da28..ae85f7ce66 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-object-pattern/nested/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-object-pattern/nested/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", diff --git a/packages/babylon/test/fixtures/esprima/es2015-object-pattern/properties/expected.json b/packages/babylon/test/fixtures/esprima/es2015-object-pattern/properties/expected.json index 8dde30d848..7d99f45aab 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-object-pattern/properties/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-object-pattern/properties/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -142,7 +142,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 7, @@ -160,6 +159,7 @@ }, "name": "b" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", @@ -232,7 +232,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 11, @@ -250,6 +249,7 @@ }, "name": "c" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", @@ -284,7 +284,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -302,6 +301,7 @@ }, "name": "e" }, + "computed": false, "shorthand": false, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0002/expected.json b/packages/babylon/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0002/expected.json index 8a3dd5608b..8ba09d6077 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0002/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0002/expected.json @@ -60,7 +60,6 @@ "name": "test" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0006/expected.json b/packages/babylon/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0006/expected.json index 95b01a403f..90750e471c 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0006/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-octal-integer-literal/migrated_0006/expected.json @@ -60,7 +60,6 @@ "name": "test" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/function-declaration/expected.json b/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/function-declaration/expected.json index 07716be5ae..81c2986660 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/function-declaration/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/function-declaration/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/function-expression/expected.json b/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/function-expression/expected.json index 8c72a24d81..9d6057b46c 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/function-expression/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/function-expression/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/object-method/expected.json b/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/object-method/expected.json index 220cb767a5..7f9a954a96 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/object-method/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/object-method/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "f" }, + "computed": false, "shorthand": false, "value": { "type": "FunctionExpression", @@ -139,7 +139,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/object-shorthand-method/expected.json b/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/object-shorthand-method/expected.json index 158fdcac2a..f7d12c635c 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/object-shorthand-method/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-rest-parameter/object-shorthand-method/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,10 +121,10 @@ }, "name": "method" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-super-property/arrow_super/expected.json b/packages/babylon/test/fixtures/esprima/es2015-super-property/arrow_super/expected.json index 6f97b22f32..c5cf38f22c 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-super-property/arrow_super/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-super-property/arrow_super/expected.json @@ -106,7 +106,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 24, @@ -124,10 +123,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -175,7 +174,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-super-property/constructor_super/expected.json b/packages/babylon/test/fixtures/esprima/es2015-super-property/constructor_super/expected.json index 1e275d8625..f7de748e96 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-super-property/constructor_super/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-super-property/constructor_super/expected.json @@ -106,7 +106,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 24, @@ -124,10 +123,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-super-property/new_super/expected.json b/packages/babylon/test/fixtures/esprima/es2015-super-property/new_super/expected.json index 270481875a..216a5660f4 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-super-property/new_super/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-super-property/new_super/expected.json @@ -106,7 +106,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 24, @@ -124,10 +123,10 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-super-property/super_computed/expected.json b/packages/babylon/test/fixtures/esprima/es2015-super-property/super_computed/expected.json index 0fc729cbe9..88b6fc7883 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-super-property/super_computed/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-super-property/super_computed/expected.json @@ -106,7 +106,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 24, @@ -124,10 +123,10 @@ }, "name": "X" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-super-property/super_member/expected.json b/packages/babylon/test/fixtures/esprima/es2015-super-property/super_member/expected.json index 7b48047fec..13b4db2bc4 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-super-property/super_member/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-super-property/super_member/expected.json @@ -106,7 +106,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 24, @@ -124,10 +123,10 @@ }, "name": "X" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-concise-body/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-concise-body/expected.json index 979a5b2d8f..a5418d6717 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-concise-body/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-concise-body/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-function-body/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-function-body/expected.json index f21f16b122..0eede033eb 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-function-body/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-function-body/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-parameter-default/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-parameter-default/expected.json index 4e9be7eb6c..078bdf09bd 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-parameter-default/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-parameter-default/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-parameter-name/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-parameter-name/expected.json index 482f30d4af..a479ba89d8 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-parameter-name/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-arrow-parameter-name/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-binding-element/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-binding-element/expected.json index 21e8a75108..f3203cac78 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-binding-element/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-binding-element/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -105,6 +104,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-binding-property/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-binding-property/expected.json index 185e1b80fc..5f10e8fb03 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-binding-property/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-binding-property/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -105,6 +104,7 @@ }, "name": "yield" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-call-expression-property/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-call-expression-property/expected.json index 96faaad623..d062c8843e 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-call-expression-property/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-call-expression-property/expected.json @@ -60,7 +60,6 @@ "name": "g" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-expression-precedence/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-expression-precedence/expected.json index 0af9249a29..71eabf68b7 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-expression-precedence/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-expression-precedence/expected.json @@ -60,7 +60,6 @@ "name": "g" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-declaration-formal-parameter/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-declaration-formal-parameter/expected.json index 1bcf0b31b8..db59de998c 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-declaration-formal-parameter/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-declaration-formal-parameter/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-declaration/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-declaration/expected.json index 7a94e29140..94e5595e85 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-declaration/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-declaration/expected.json @@ -60,7 +60,6 @@ "name": "yield" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-expression-parameter/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-expression-parameter/expected.json index 792d4b5170..18adc56381 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-expression-parameter/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-expression-parameter/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-expression/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-expression/expected.json index 69b03706fd..524c1fed7f 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-expression/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-function-expression/expected.json @@ -74,7 +74,6 @@ "name": "yield" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-arrow-concise-body/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-arrow-concise-body/expected.json index aa434f16dc..7290cfd959 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-arrow-concise-body/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-arrow-concise-body/expected.json @@ -60,7 +60,6 @@ "name": "g" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -108,7 +107,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-arrow-function-body/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-arrow-function-body/expected.json index 5e171cab8f..426b0ef2de 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-arrow-function-body/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-arrow-function-body/expected.json @@ -60,7 +60,6 @@ "name": "g" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -108,7 +107,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-declaration/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-declaration/expected.json index b8920d91bb..f18ed953be 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-declaration/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-declaration/expected.json @@ -60,7 +60,6 @@ "name": "yield" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-function-expression/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-function-expression/expected.json index dfddec406d..c4c376b55d 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-function-expression/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-function-expression/expected.json @@ -60,7 +60,6 @@ "name": "g" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -156,7 +155,6 @@ "name": "yield" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-function-parameter/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-function-parameter/expected.json index 553f0518f2..f8ccf6154e 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-function-parameter/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-function-parameter/expected.json @@ -60,7 +60,6 @@ "name": "g" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -140,7 +139,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-method/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-method/expected.json index 79c30e517e..74dab07b2f 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-method/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-method/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 4, @@ -90,10 +89,10 @@ }, "name": "yield" }, + "computed": false, "kind": "method", "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-parameter-object-pattern/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-parameter-object-pattern/expected.json index 4ede8e5d8e..f726177339 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-parameter-object-pattern/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-generator-parameter-object-pattern/expected.json @@ -60,7 +60,6 @@ "name": "g" }, "generator": true, - "expression": false, "async": false, "params": [ { @@ -93,7 +92,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 13, @@ -111,6 +109,7 @@ }, "name": "yield" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-member-expression-property/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-member-expression-property/expected.json index fe001abdb5..bb1a6d1640 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-member-expression-property/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-member-expression-property/expected.json @@ -60,7 +60,6 @@ "name": "g" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-method/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-method/expected.json index 0e9ebaaa33..306f6642c0 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-method/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-method/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -90,10 +89,10 @@ }, "name": "yield" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-parameter-object-pattern/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-parameter-object-pattern/expected.json index e16e19c653..76c95ba068 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-parameter-object-pattern/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-parameter-object-pattern/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -93,7 +92,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -111,6 +109,7 @@ }, "name": "yield" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-rest-parameter/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-rest-parameter/expected.json index 90d608359f..8c9a82f272 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-rest-parameter/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-rest-parameter/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-strict-binding-property/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-strict-binding-property/expected.json index 0a5773facc..b8da000b14 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-strict-binding-property/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-strict-binding-property/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 20, @@ -105,6 +104,7 @@ }, "name": "yield" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-strict-method/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-strict-method/expected.json index e3f77abfeb..6bdf706ad6 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-strict-method/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-strict-method/expected.json @@ -72,7 +72,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 17, @@ -90,10 +89,10 @@ }, "name": "yield" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-super-property/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-super-property/expected.json index 0801ae0ade..b7a768b0a0 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-super-property/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-super-property/expected.json @@ -106,7 +106,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 20, @@ -124,10 +123,10 @@ }, "name": "X" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-yield-expression-delegate/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-yield-expression-delegate/expected.json index d0d73e72ff..8b5641d1a3 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-yield-expression-delegate/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-yield-expression-delegate/expected.json @@ -60,7 +60,6 @@ "name": "g" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-yield-expression/expected.json b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-yield-expression/expected.json index d5adbff2e1..37960a2ef1 100644 --- a/packages/babylon/test/fixtures/esprima/es2015-yield/yield-yield-expression/expected.json +++ b/packages/babylon/test/fixtures/esprima/es2015-yield/yield-yield-expression/expected.json @@ -60,7 +60,6 @@ "name": "g" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/rest-parameter/arrow-rest-parameter-array/expected.json b/packages/babylon/test/fixtures/esprima/rest-parameter/arrow-rest-parameter-array/expected.json index 4bdc1344d7..721b70528d 100644 --- a/packages/babylon/test/fixtures/esprima/rest-parameter/arrow-rest-parameter-array/expected.json +++ b/packages/babylon/test/fixtures/esprima/rest-parameter/arrow-rest-parameter-array/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/rest-parameter/arrow-rest-parameter-object/expected.json b/packages/babylon/test/fixtures/esprima/rest-parameter/arrow-rest-parameter-object/expected.json index 3ab154002e..f2235c6b51 100644 --- a/packages/babylon/test/fixtures/esprima/rest-parameter/arrow-rest-parameter-object/expected.json +++ b/packages/babylon/test/fixtures/esprima/rest-parameter/arrow-rest-parameter-object/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -122,7 +121,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 8, @@ -140,6 +138,7 @@ }, "name": "b" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/esprima/rest-parameter/function-declaration/expected.json b/packages/babylon/test/fixtures/esprima/rest-parameter/function-declaration/expected.json index 07716be5ae..81c2986660 100644 --- a/packages/babylon/test/fixtures/esprima/rest-parameter/function-declaration/expected.json +++ b/packages/babylon/test/fixtures/esprima/rest-parameter/function-declaration/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/rest-parameter/function-expression/expected.json b/packages/babylon/test/fixtures/esprima/rest-parameter/function-expression/expected.json index 8c72a24d81..9d6057b46c 100644 --- a/packages/babylon/test/fixtures/esprima/rest-parameter/function-expression/expected.json +++ b/packages/babylon/test/fixtures/esprima/rest-parameter/function-expression/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/rest-parameter/invalid-setter-rest/expected.json b/packages/babylon/test/fixtures/esprima/rest-parameter/invalid-setter-rest/expected.json index 7ca9b46fe2..8d4bed2eb1 100644 --- a/packages/babylon/test/fixtures/esprima/rest-parameter/invalid-setter-rest/expected.json +++ b/packages/babylon/test/fixtures/esprima/rest-parameter/invalid-setter-rest/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -122,10 +121,10 @@ }, "name": "f" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/rest-parameter/object-method/expected.json b/packages/babylon/test/fixtures/esprima/rest-parameter/object-method/expected.json index 220cb767a5..7f9a954a96 100644 --- a/packages/babylon/test/fixtures/esprima/rest-parameter/object-method/expected.json +++ b/packages/babylon/test/fixtures/esprima/rest-parameter/object-method/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,6 +121,7 @@ }, "name": "f" }, + "computed": false, "shorthand": false, "value": { "type": "FunctionExpression", @@ -139,7 +139,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/rest-parameter/object-shorthand-method/expected.json b/packages/babylon/test/fixtures/esprima/rest-parameter/object-shorthand-method/expected.json index 158fdcac2a..f7d12c635c 100644 --- a/packages/babylon/test/fixtures/esprima/rest-parameter/object-shorthand-method/expected.json +++ b/packages/babylon/test/fixtures/esprima/rest-parameter/object-shorthand-method/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -122,10 +121,10 @@ }, "name": "method" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/rest-parameter/rest-parameter-array/expected.json b/packages/babylon/test/fixtures/esprima/rest-parameter/rest-parameter-array/expected.json index 5baa9cff60..ae4c2ed557 100644 --- a/packages/babylon/test/fixtures/esprima/rest-parameter/rest-parameter-array/expected.json +++ b/packages/babylon/test/fixtures/esprima/rest-parameter/rest-parameter-array/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/esprima/rest-parameter/rest-parameter-object/expected.json b/packages/babylon/test/fixtures/esprima/rest-parameter/rest-parameter-object/expected.json index 42ce27cb2a..76c00e3fcd 100644 --- a/packages/babylon/test/fixtures/esprima/rest-parameter/rest-parameter-object/expected.json +++ b/packages/babylon/test/fixtures/esprima/rest-parameter/rest-parameter-object/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -125,6 +123,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/esprima/statement-if/migrated_0001/expected.json b/packages/babylon/test/fixtures/esprima/statement-if/migrated_0001/expected.json index 38198e3d25..e51a4dc3c2 100644 --- a/packages/babylon/test/fixtures/esprima/statement-if/migrated_0001/expected.json +++ b/packages/babylon/test/fixtures/esprima/statement-if/migrated_0001/expected.json @@ -89,7 +89,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/statement-return/migrated_0000/expected.json b/packages/babylon/test/fixtures/esprima/statement-return/migrated_0000/expected.json index fe9666a99e..210a3c49ea 100644 --- a/packages/babylon/test/fixtures/esprima/statement-return/migrated_0000/expected.json +++ b/packages/babylon/test/fixtures/esprima/statement-return/migrated_0000/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/statement-return/migrated_0001/expected.json b/packages/babylon/test/fixtures/esprima/statement-return/migrated_0001/expected.json index 1f4ff8a16a..4e4569aa91 100644 --- a/packages/babylon/test/fixtures/esprima/statement-return/migrated_0001/expected.json +++ b/packages/babylon/test/fixtures/esprima/statement-return/migrated_0001/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/statement-return/migrated_0002/expected.json b/packages/babylon/test/fixtures/esprima/statement-return/migrated_0002/expected.json index 05b71f8cff..91a57f13b5 100644 --- a/packages/babylon/test/fixtures/esprima/statement-return/migrated_0002/expected.json +++ b/packages/babylon/test/fixtures/esprima/statement-return/migrated_0002/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/statement-return/migrated_0003/expected.json b/packages/babylon/test/fixtures/esprima/statement-return/migrated_0003/expected.json index bd73928291..d459bf8ae3 100644 --- a/packages/babylon/test/fixtures/esprima/statement-return/migrated_0003/expected.json +++ b/packages/babylon/test/fixtures/esprima/statement-return/migrated_0003/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/esprima/statement-throw/migrated_0002/expected.json b/packages/babylon/test/fixtures/esprima/statement-throw/migrated_0002/expected.json index 9c4a377caa..fec4e5ed08 100644 --- a/packages/babylon/test/fixtures/esprima/statement-throw/migrated_0002/expected.json +++ b/packages/babylon/test/fixtures/esprima/statement-throw/migrated_0002/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 8, @@ -90,6 +89,7 @@ }, "name": "message" }, + "computed": false, "shorthand": false, "value": { "type": "StringLiteral", diff --git a/packages/babylon/test/fixtures/estree/class-method/basic/expected.json b/packages/babylon/test/fixtures/estree/class-method/basic/expected.json index 8b70b14f6d..ed044addab 100644 --- a/packages/babylon/test/fixtures/estree/class-method/basic/expected.json +++ b/packages/babylon/test/fixtures/estree/class-method/basic/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -108,6 +107,7 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "value": { "type": "FunctionExpression", @@ -125,8 +125,8 @@ }, "id": null, "generator": false, - "expression": false, "async": false, + "expression": false, "params": [], "body": { "type": "BlockStatement", diff --git a/packages/babylon/test/fixtures/estree/class-method/flow/expected.json b/packages/babylon/test/fixtures/estree/class-method/flow/expected.json index ff4523d0f1..268bd8439f 100644 --- a/packages/babylon/test/fixtures/estree/class-method/flow/expected.json +++ b/packages/babylon/test/fixtures/estree/class-method/flow/expected.json @@ -106,7 +106,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 39, @@ -124,6 +123,7 @@ }, "name": "finishNodeAt" }, + "computed": false, "kind": "method", "value": { "type": "FunctionExpression", @@ -141,8 +141,8 @@ }, "id": null, "generator": false, - "expression": false, "async": false, + "expression": false, "params": [ { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/estree/directives/block/expected.json b/packages/babylon/test/fixtures/estree/directives/block/expected.json index 1370348bc2..6723fdbf0e 100644 --- a/packages/babylon/test/fixtures/estree/directives/block/expected.json +++ b/packages/babylon/test/fixtures/estree/directives/block/expected.json @@ -60,8 +60,8 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, + "expression": false, "params": [], "body": { "type": "BlockStatement", diff --git a/packages/babylon/test/fixtures/estree/directives/function-non-strict/expected.json b/packages/babylon/test/fixtures/estree/directives/function-non-strict/expected.json index 9e22c6306c..bb3b781e74 100644 --- a/packages/babylon/test/fixtures/estree/directives/function-non-strict/expected.json +++ b/packages/babylon/test/fixtures/estree/directives/function-non-strict/expected.json @@ -60,8 +60,8 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, + "expression": false, "params": [], "body": { "type": "BlockStatement", diff --git a/packages/babylon/test/fixtures/estree/directives/raw/expected.json b/packages/babylon/test/fixtures/estree/directives/raw/expected.json index b1d0f267c4..220249c4aa 100644 --- a/packages/babylon/test/fixtures/estree/directives/raw/expected.json +++ b/packages/babylon/test/fixtures/estree/directives/raw/expected.json @@ -63,4 +63,4 @@ } ] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/estree/object-method/basic/expected.json b/packages/babylon/test/fixtures/estree/object-method/basic/expected.json index de9baf8dff..2ca56f0679 100644 --- a/packages/babylon/test/fixtures/estree/object-method/basic/expected.json +++ b/packages/babylon/test/fixtures/estree/object-method/basic/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -122,6 +121,7 @@ }, "name": "foo" }, + "computed": false, "kind": "init", "value": { "type": "FunctionExpression", @@ -139,8 +139,8 @@ }, "id": null, "generator": false, - "expression": false, "async": false, + "expression": false, "params": [], "body": { "type": "BlockStatement", diff --git a/packages/babylon/test/fixtures/estree/object-property/basic/expected.json b/packages/babylon/test/fixtures/estree/object-property/basic/expected.json index c2051e303a..e9b55b9b2b 100644 --- a/packages/babylon/test/fixtures/estree/object-property/basic/expected.json +++ b/packages/babylon/test/fixtures/estree/object-property/basic/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -122,6 +121,7 @@ }, "name": "foo" }, + "computed": false, "shorthand": false, "value": { "type": "Literal", diff --git a/packages/babylon/test/fixtures/experimental/async-generators/class-method-2/expected.json b/packages/babylon/test/fixtures/experimental/async-generators/class-method-2/expected.json index ea451fd3cb..5e4225b342 100644 --- a/packages/babylon/test/fixtures/experimental/async-generators/class-method-2/expected.json +++ b/packages/babylon/test/fixtures/experimental/async-generators/class-method-2/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 22, @@ -108,10 +107,10 @@ }, "name": "a" }, + "computed": false, "kind": "method", "id": null, "generator": true, - "expression": false, "async": true, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/async-generators/class-method/expected.json b/packages/babylon/test/fixtures/experimental/async-generators/class-method/expected.json index 82b6bd579f..63eff9eccc 100644 --- a/packages/babylon/test/fixtures/experimental/async-generators/class-method/expected.json +++ b/packages/babylon/test/fixtures/experimental/async-generators/class-method/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 25, @@ -108,10 +107,10 @@ }, "name": "queryAll" }, + "computed": false, "kind": "method", "id": null, "generator": true, - "expression": false, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/experimental/async-generators/for-await/expected.json b/packages/babylon/test/fixtures/experimental/async-generators/for-await/expected.json index b69586316e..a60988eac1 100644 --- a/packages/babylon/test/fixtures/experimental/async-generators/for-await/expected.json +++ b/packages/babylon/test/fixtures/experimental/async-generators/for-await/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": true, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/async-generators/object-method/expected.json b/packages/babylon/test/fixtures/experimental/async-generators/object-method/expected.json index 24a82e11c9..ecb5ae7de8 100644 --- a/packages/babylon/test/fixtures/experimental/async-generators/object-method/expected.json +++ b/packages/babylon/test/fixtures/experimental/async-generators/object-method/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 27, @@ -122,10 +121,10 @@ }, "name": "queryAll" }, + "computed": false, "kind": "method", "id": null, "generator": true, - "expression": false, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/experimental/bigint/valid-large/expected.json b/packages/babylon/test/fixtures/experimental/bigint/valid-large/expected.json index 1536e3c7ae..e236ac8dd6 100644 --- a/packages/babylon/test/fixtures/experimental/bigint/valid-large/expected.json +++ b/packages/babylon/test/fixtures/experimental/bigint/valid-large/expected.json @@ -66,4 +66,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/bigint/valid-small/expected.json b/packages/babylon/test/fixtures/experimental/bigint/valid-small/expected.json index 736974a559..9d0c84e40c 100644 --- a/packages/babylon/test/fixtures/experimental/bigint/valid-small/expected.json +++ b/packages/babylon/test/fixtures/experimental/bigint/valid-small/expected.json @@ -66,4 +66,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/class-private-methods/async-generator/expected.json b/packages/babylon/test/fixtures/experimental/class-private-methods/async-generator/expected.json index 3e909dd1f8..f5ed3dfdaf 100644 --- a/packages/babylon/test/fixtures/experimental/class-private-methods/async-generator/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-private-methods/async-generator/expected.json @@ -126,7 +126,6 @@ "kind": "method", "id": null, "generator": true, - "expression": false, "async": true, "params": [ { @@ -652,4 +651,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/class-private-methods/async/expected.json b/packages/babylon/test/fixtures/experimental/class-private-methods/async/expected.json index b394a81918..b1ab4f613f 100644 --- a/packages/babylon/test/fixtures/experimental/class-private-methods/async/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-private-methods/async/expected.json @@ -126,7 +126,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": true, "params": [], "body": { @@ -217,4 +216,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/class-private-methods/combined/expected.json b/packages/babylon/test/fixtures/experimental/class-private-methods/combined/expected.json index b4e752bd77..0c8a7b0944 100644 --- a/packages/babylon/test/fixtures/experimental/class-private-methods/combined/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-private-methods/combined/expected.json @@ -179,7 +179,6 @@ }, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -369,7 +368,6 @@ "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -477,7 +475,6 @@ "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -599,7 +596,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -708,4 +704,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/class-private-methods/generator/expected.json b/packages/babylon/test/fixtures/experimental/class-private-methods/generator/expected.json index b2e3395a98..9a535e389d 100644 --- a/packages/babylon/test/fixtures/experimental/class-private-methods/generator/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-private-methods/generator/expected.json @@ -125,7 +125,6 @@ }, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -217,4 +216,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/class-private-methods/get-set/expected.json b/packages/babylon/test/fixtures/experimental/class-private-methods/get-set/expected.json index 13ffb2624a..1c19ce1d31 100644 --- a/packages/babylon/test/fixtures/experimental/class-private-methods/get-set/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-private-methods/get-set/expected.json @@ -126,7 +126,6 @@ "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -247,7 +246,6 @@ "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -359,4 +357,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/class-private-methods/method/expected.json b/packages/babylon/test/fixtures/experimental/class-private-methods/method/expected.json index 063445a73b..9384092c3d 100644 --- a/packages/babylon/test/fixtures/experimental/class-private-methods/method/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-private-methods/method/expected.json @@ -125,7 +125,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -201,4 +200,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/class-private-properties/asi-success/expected.json b/packages/babylon/test/fixtures/experimental/class-private-properties/asi-success/expected.json index afb8c6a200..b15a053d32 100644 --- a/packages/babylon/test/fixtures/experimental/class-private-properties/asi-success/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-private-properties/asi-success/expected.json @@ -179,4 +179,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/class-private-properties/inline/expected.json b/packages/babylon/test/fixtures/experimental/class-private-properties/inline/expected.json index c29aba9665..f04ba741da 100644 --- a/packages/babylon/test/fixtures/experimental/class-private-properties/inline/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-private-properties/inline/expected.json @@ -365,4 +365,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/class-private-properties/nested/expected.json b/packages/babylon/test/fixtures/experimental/class-private-properties/nested/expected.json index 6560e19220..6cf439e413 100644 --- a/packages/babylon/test/fixtures/experimental/class-private-properties/nested/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-private-properties/nested/expected.json @@ -247,7 +247,6 @@ "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -912,7 +911,6 @@ "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -1337,7 +1335,6 @@ "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -1473,7 +1470,6 @@ "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -1680,7 +1676,6 @@ "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -1816,7 +1811,6 @@ "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -2023,7 +2017,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -2418,7 +2411,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -2705,7 +2697,6 @@ "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -2841,7 +2832,6 @@ "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -3048,7 +3038,6 @@ "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -3184,7 +3173,6 @@ "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -3391,7 +3379,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -3786,7 +3773,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -4034,4 +4020,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/class-private-properties/pbn-success/expected.json b/packages/babylon/test/fixtures/experimental/class-private-properties/pbn-success/expected.json index 65eae7c21d..d016c37afe 100644 --- a/packages/babylon/test/fixtures/experimental/class-private-properties/pbn-success/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-private-properties/pbn-success/expected.json @@ -247,7 +247,6 @@ "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -672,7 +671,6 @@ "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -808,7 +806,6 @@ "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -1015,7 +1012,6 @@ "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -1151,7 +1147,6 @@ "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -1358,7 +1353,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -1753,7 +1747,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -2001,4 +1994,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/class-private-properties/static/expected.json b/packages/babylon/test/fixtures/experimental/class-private-properties/static/expected.json index 363faa2c47..4089a843c7 100644 --- a/packages/babylon/test/fixtures/experimental/class-private-properties/static/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-private-properties/static/expected.json @@ -198,4 +198,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/class-properties/asi-success/expected.json b/packages/babylon/test/fixtures/experimental/class-properties/asi-success/expected.json index 180c9fa44d..174d224de1 100644 --- a/packages/babylon/test/fixtures/experimental/class-properties/asi-success/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-properties/asi-success/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,6 +107,7 @@ }, "name": "x" }, + "computed": false, "value": null }, { @@ -125,7 +125,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -143,6 +142,7 @@ }, "name": "y" }, + "computed": false, "value": null } ] @@ -210,7 +210,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 37, @@ -228,6 +227,7 @@ }, "name": "p" }, + "computed": false, "value": null }, { @@ -266,7 +266,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/class-properties/computed/expected.json b/packages/babylon/test/fixtures/experimental/class-properties/computed/expected.json index dcdd64b2d8..5427d9b8b2 100644 --- a/packages/babylon/test/fixtures/experimental/class-properties/computed/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-properties/computed/expected.json @@ -269,7 +269,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/class-properties/edge-cases/expected.json b/packages/babylon/test/fixtures/experimental/class-properties/edge-cases/expected.json index e029628a70..1f2961c076 100644 --- a/packages/babylon/test/fixtures/experimental/class-properties/edge-cases/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-properties/edge-cases/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 22, @@ -108,6 +107,7 @@ }, "name": "a" }, + "computed": false, "value": null }, { @@ -124,7 +124,6 @@ "column": 8 } }, - "static": false, "computed": false, "key": { "type": "Identifier", @@ -143,6 +142,7 @@ }, "name": "static" }, + "static": false, "value": null } ] @@ -210,7 +210,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 47, @@ -228,6 +227,7 @@ }, "name": "a" }, + "computed": false, "value": null } ] @@ -295,7 +295,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 62, @@ -313,6 +312,7 @@ }, "name": "get" }, + "computed": false, "value": null } ] @@ -380,7 +380,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 79, @@ -398,6 +397,7 @@ }, "name": "set" }, + "computed": false, "value": null } ] @@ -464,7 +464,6 @@ "column": 17 } }, - "static": false, "computed": false, "key": { "type": "Identifier", @@ -483,6 +482,7 @@ }, "name": "static" }, + "static": false, "value": null } ] @@ -550,7 +550,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 116, @@ -568,6 +567,7 @@ }, "name": "async" }, + "computed": false, "value": null } ] @@ -635,7 +635,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 138, @@ -653,6 +652,7 @@ }, "name": "get" }, + "computed": false, "value": null }, { @@ -671,7 +671,6 @@ }, "static": false, "kind": "method", - "computed": false, "key": { "type": "Identifier", "start": 145, @@ -689,9 +688,9 @@ }, "name": "a" }, + "computed": false, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -778,7 +777,6 @@ }, "static": true, "kind": "method", - "computed": false, "key": { "type": "Identifier", "start": 177, @@ -796,9 +794,9 @@ }, "name": "a" }, + "computed": false, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { @@ -884,7 +882,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 199, @@ -902,6 +899,7 @@ }, "name": "async" }, + "computed": false, "value": null }, { @@ -919,7 +917,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 207, @@ -937,10 +934,10 @@ }, "name": "a" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -1026,7 +1023,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 239, @@ -1044,6 +1040,7 @@ }, "name": "async" }, + "computed": false, "value": null }, { @@ -1061,7 +1058,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 247, @@ -1079,6 +1075,7 @@ }, "name": "a" }, + "computed": false, "value": null } ] @@ -1145,7 +1142,6 @@ "column": 19 } }, - "static": false, "computed": false, "key": { "type": "Identifier", @@ -1164,6 +1160,7 @@ }, "name": "static" }, + "static": false, "value": null } ] @@ -1230,7 +1227,6 @@ "column": 13 } }, - "static": false, "computed": false, "key": { "type": "Identifier", @@ -1249,6 +1245,7 @@ }, "name": "static" }, + "static": false, "value": { "type": "NumericLiteral", "start": 298, @@ -1335,7 +1332,6 @@ } }, "static": false, - "computed": true, "key": { "type": "StringLiteral", "start": 325, @@ -1356,10 +1352,10 @@ }, "value": "a" }, + "computed": true, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -1445,7 +1441,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 366, @@ -1463,10 +1458,10 @@ }, "name": "static" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/class-properties/inline/expected.json b/packages/babylon/test/fixtures/experimental/class-properties/inline/expected.json index d5369121bb..26ed38ab62 100644 --- a/packages/babylon/test/fixtures/experimental/class-properties/inline/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-properties/inline/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -108,6 +107,7 @@ }, "name": "x" }, + "computed": false, "value": null }, { @@ -125,7 +125,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 13, @@ -143,6 +142,7 @@ }, "name": "y" }, + "computed": false, "value": null } ] @@ -210,7 +210,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 29, @@ -228,6 +227,7 @@ }, "name": "x" }, + "computed": false, "value": { "type": "NumericLiteral", "start": 33, @@ -264,7 +264,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 36, @@ -282,6 +281,7 @@ }, "name": "y" }, + "computed": false, "value": { "type": "NumericLiteral", "start": 40, diff --git a/packages/babylon/test/fixtures/experimental/class-properties/new-target-with-flow/expected.json b/packages/babylon/test/fixtures/experimental/class-properties/new-target-with-flow/expected.json index 2f28593957..235483266b 100644 --- a/packages/babylon/test/fixtures/experimental/class-properties/new-target-with-flow/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-properties/new-target-with-flow/expected.json @@ -400,7 +400,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { @@ -504,7 +503,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -933,7 +931,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { @@ -1037,7 +1034,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/experimental/class-properties/new-target/expected.json b/packages/babylon/test/fixtures/experimental/class-properties/new-target/expected.json index 0f9788579b..b145601ec9 100644 --- a/packages/babylon/test/fixtures/experimental/class-properties/new-target/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-properties/new-target/expected.json @@ -397,7 +397,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { @@ -500,7 +499,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -926,7 +924,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { @@ -1029,7 +1026,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/experimental/class-properties/super/expected.json b/packages/babylon/test/fixtures/experimental/class-properties/super/expected.json index 3460702b3b..9a0a37ede6 100644 --- a/packages/babylon/test/fixtures/experimental/class-properties/super/expected.json +++ b/packages/babylon/test/fixtures/experimental/class-properties/super/expected.json @@ -105,7 +105,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 28, @@ -123,10 +122,10 @@ }, "name": "c" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -180,7 +179,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 40, @@ -198,6 +196,7 @@ }, "name": "c" }, + "computed": false, "value": { "type": "CallExpression", "start": 44, diff --git a/packages/babylon/test/fixtures/experimental/decorators-2/class-expression/expected.json b/packages/babylon/test/fixtures/experimental/decorators-2/class-expression/expected.json index af3ed887d2..72dc5339c8 100644 --- a/packages/babylon/test/fixtures/experimental/decorators-2/class-expression/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators-2/class-expression/expected.json @@ -204,7 +204,6 @@ } ], "static": false, - "computed": false, "key": { "type": "Identifier", "start": 36, @@ -222,10 +221,10 @@ }, "name": "bam" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/decorators-2/class-generator/expected.json b/packages/babylon/test/fixtures/experimental/decorators-2/class-generator/expected.json index 87b73b717a..83bddbb347 100644 --- a/packages/babylon/test/fixtures/experimental/decorators-2/class-generator/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators-2/class-generator/expected.json @@ -125,7 +125,6 @@ ], "static": false, "kind": "method", - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -143,9 +142,9 @@ }, "name": "m" }, + "computed": false, "id": null, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/decorators-2/complex-expr/expected.json b/packages/babylon/test/fixtures/experimental/decorators-2/complex-expr/expected.json index b048d367ee..d1e5d66b3a 100644 --- a/packages/babylon/test/fixtures/experimental/decorators-2/complex-expr/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators-2/complex-expr/expected.json @@ -274,7 +274,6 @@ } ], "static": false, - "computed": false, "key": { "type": "Identifier", "start": 29, @@ -292,10 +291,10 @@ }, "name": "m" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/decorators-2/decoratorception-class/expected.json b/packages/babylon/test/fixtures/experimental/decorators-2/decoratorception-class/expected.json index b18168fe0d..5ee1bc7345 100644 --- a/packages/babylon/test/fixtures/experimental/decorators-2/decoratorception-class/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators-2/decoratorception-class/expected.json @@ -119,7 +119,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 11, @@ -137,6 +136,7 @@ }, "name": "store" }, + "computed": false, "shorthand": false, "value": { "type": "ClassExpression", diff --git a/packages/babylon/test/fixtures/experimental/decorators-2/decoratorception-method/expected.json b/packages/babylon/test/fixtures/experimental/decorators-2/decoratorception-method/expected.json index 472e83b492..b05b9fcf61 100644 --- a/packages/babylon/test/fixtures/experimental/decorators-2/decoratorception-method/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators-2/decoratorception-method/expected.json @@ -250,7 +250,6 @@ } ], "static": false, - "computed": false, "key": { "type": "Identifier", "start": 64, @@ -268,10 +267,10 @@ }, "name": "innerMethod" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -300,7 +299,6 @@ } ], "static": false, - "computed": false, "key": { "type": "Identifier", "start": 94, @@ -318,10 +316,10 @@ }, "name": "outerMethod" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -348,4 +346,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/decorators-2/get-decorator/expected.json b/packages/babylon/test/fixtures/experimental/decorators-2/get-decorator/expected.json index 8c47184dac..5db365b958 100644 --- a/packages/babylon/test/fixtures/experimental/decorators-2/get-decorator/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators-2/get-decorator/expected.json @@ -145,7 +145,6 @@ "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/decorators-2/on-computed-name-method/expected.json b/packages/babylon/test/fixtures/experimental/decorators-2/on-computed-name-method/expected.json index 7e9968743f..0abd604dcf 100644 --- a/packages/babylon/test/fixtures/experimental/decorators-2/on-computed-name-method/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators-2/on-computed-name-method/expected.json @@ -148,7 +148,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/decorators-2/set-decorator/expected.json b/packages/babylon/test/fixtures/experimental/decorators-2/set-decorator/expected.json index 03fe0b732c..90cf5e8b03 100644 --- a/packages/babylon/test/fixtures/experimental/decorators-2/set-decorator/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators-2/set-decorator/expected.json @@ -145,7 +145,6 @@ "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/experimental/decorators-2/static-method/expected.json b/packages/babylon/test/fixtures/experimental/decorators-2/static-method/expected.json index 43de7c771c..79bd82fd29 100644 --- a/packages/babylon/test/fixtures/experimental/decorators-2/static-method/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators-2/static-method/expected.json @@ -124,7 +124,6 @@ } ], "static": true, - "computed": false, "key": { "type": "Identifier", "start": 28, @@ -142,10 +141,10 @@ }, "name": "bar" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/decorators/class-decorator-getter/expected.json b/packages/babylon/test/fixtures/experimental/decorators/class-decorator-getter/expected.json index f8c9ea1a41..eae716dff6 100644 --- a/packages/babylon/test/fixtures/experimental/decorators/class-decorator-getter/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators/class-decorator-getter/expected.json @@ -124,7 +124,6 @@ } ], "static": false, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -142,10 +141,10 @@ }, "name": "bar" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/decorators/class-decorator-setter/expected.json b/packages/babylon/test/fixtures/experimental/decorators/class-decorator-setter/expected.json index 54943162d1..6787d02b98 100644 --- a/packages/babylon/test/fixtures/experimental/decorators/class-decorator-setter/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators/class-decorator-setter/expected.json @@ -124,7 +124,6 @@ } ], "static": false, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -142,10 +141,10 @@ }, "name": "bar" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/experimental/decorators/class-decorators-multiple/expected.json b/packages/babylon/test/fixtures/experimental/decorators/class-decorators-multiple/expected.json index 2a5f2b5987..ebcbd85f3d 100644 --- a/packages/babylon/test/fixtures/experimental/decorators/class-decorators-multiple/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators/class-decorators-multiple/expected.json @@ -156,7 +156,6 @@ } ], "static": false, - "computed": false, "key": { "type": "Identifier", "start": 22, @@ -174,10 +173,10 @@ }, "name": "bar" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/decorators/class-method-parameter/expected.json b/packages/babylon/test/fixtures/experimental/decorators/class-method-parameter/expected.json index 4fa42e9a70..63933c49d6 100644 --- a/packages/babylon/test/fixtures/experimental/decorators/class-method-parameter/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators/class-method-parameter/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,10 +107,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -274,7 +273,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 43, @@ -292,6 +290,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/experimental/decorators/computed-member-expr-on-prop/expected.json b/packages/babylon/test/fixtures/experimental/decorators/computed-member-expr-on-prop/expected.json index 89b5631e82..0064500c2d 100644 --- a/packages/babylon/test/fixtures/experimental/decorators/computed-member-expr-on-prop/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators/computed-member-expr-on-prop/expected.json @@ -157,7 +157,6 @@ } ], "static": false, - "computed": false, "key": { "type": "Identifier", "start": 24, @@ -175,6 +174,7 @@ }, "name": "a" }, + "computed": false, "value": { "type": "NumericLiteral", "start": 28, diff --git a/packages/babylon/test/fixtures/experimental/decorators/computed-member-expression/expected.json b/packages/babylon/test/fixtures/experimental/decorators/computed-member-expression/expected.json index babebd47ef..bf99b74320 100644 --- a/packages/babylon/test/fixtures/experimental/decorators/computed-member-expression/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators/computed-member-expression/expected.json @@ -157,7 +157,6 @@ } ], "static": false, - "computed": false, "key": { "type": "Identifier", "start": 27, @@ -175,10 +174,10 @@ }, "name": "abc" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/decorators/export-default-declaration-function-declaration-parameter/expected.json b/packages/babylon/test/fixtures/experimental/decorators/export-default-declaration-function-declaration-parameter/expected.json index e52e8cbb64..1297f4920f 100644 --- a/packages/babylon/test/fixtures/experimental/decorators/export-default-declaration-function-declaration-parameter/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators/export-default-declaration-function-declaration-parameter/expected.json @@ -74,7 +74,6 @@ "name": "func" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -237,7 +236,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 46, @@ -255,6 +253,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/experimental/decorators/export-default-with-nested-class/expected.json b/packages/babylon/test/fixtures/experimental/decorators/export-default-with-nested-class/expected.json index 51940d688d..c247e9e09f 100644 --- a/packages/babylon/test/fixtures/experimental/decorators/export-default-with-nested-class/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators/export-default-with-nested-class/expected.json @@ -138,7 +138,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 54, @@ -156,10 +155,10 @@ }, "name": "makeNestedClass" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/decorators/function-declaration-parameter/expected.json b/packages/babylon/test/fixtures/experimental/decorators/function-declaration-parameter/expected.json index 2c9ec156dd..907c3b783b 100644 --- a/packages/babylon/test/fixtures/experimental/decorators/function-declaration-parameter/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators/function-declaration-parameter/expected.json @@ -60,7 +60,6 @@ "name": "func" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -223,7 +222,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 31, @@ -241,6 +239,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/experimental/decorators/function-expression-parameter/expected.json b/packages/babylon/test/fixtures/experimental/decorators/function-expression-parameter/expected.json index 32b529a664..4e6198ddf7 100644 --- a/packages/babylon/test/fixtures/experimental/decorators/function-expression-parameter/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators/function-expression-parameter/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -253,7 +252,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 40, @@ -271,6 +269,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/experimental/decorators/method-decorator/expected.json b/packages/babylon/test/fixtures/experimental/decorators/method-decorator/expected.json index 0f924d4cca..95acd52c44 100644 --- a/packages/babylon/test/fixtures/experimental/decorators/method-decorator/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators/method-decorator/expected.json @@ -124,7 +124,6 @@ } ], "static": false, - "computed": false, "key": { "type": "Identifier", "start": 17, @@ -142,10 +141,10 @@ }, "name": "bar" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/decorators/object-decorator/expected.json b/packages/babylon/test/fixtures/experimental/decorators/object-decorator/expected.json index d0c0ff0180..8ceeef6f0e 100644 --- a/packages/babylon/test/fixtures/experimental/decorators/object-decorator/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators/object-decorator/expected.json @@ -153,7 +153,6 @@ } ], "method": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -171,6 +170,7 @@ }, "name": "foo" }, + "computed": false, "shorthand": false, "value": { "type": "StringLiteral", diff --git a/packages/babylon/test/fixtures/experimental/decorators/object-method-parameter/expected.json b/packages/babylon/test/fixtures/experimental/decorators/object-method-parameter/expected.json index d0ec8b5295..90ccc20f02 100644 --- a/packages/babylon/test/fixtures/experimental/decorators/object-method-parameter/expected.json +++ b/packages/babylon/test/fixtures/experimental/decorators/object-method-parameter/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -122,10 +121,10 @@ }, "name": "method" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -288,7 +287,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 38, @@ -306,6 +304,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", diff --git a/packages/babylon/test/fixtures/experimental/do-expressions/with-jsx/expected.json b/packages/babylon/test/fixtures/experimental/do-expressions/with-jsx/expected.json index 0096627dd9..8f6e605515 100644 --- a/packages/babylon/test/fixtures/experimental/do-expressions/with-jsx/expected.json +++ b/packages/babylon/test/fixtures/experimental/do-expressions/with-jsx/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/dynamic-import/generator/expected.json b/packages/babylon/test/fixtures/experimental/dynamic-import/generator/expected.json index e2aff25e73..ff3147a217 100644 --- a/packages/babylon/test/fixtures/experimental/dynamic-import/generator/expected.json +++ b/packages/babylon/test/fixtures/experimental/dynamic-import/generator/expected.json @@ -60,7 +60,6 @@ "name": "a" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/dynamic-import/inside-function/expected.json b/packages/babylon/test/fixtures/experimental/dynamic-import/inside-function/expected.json index e677f47a4e..2ea3c7fb50 100644 --- a/packages/babylon/test/fixtures/experimental/dynamic-import/inside-function/expected.json +++ b/packages/babylon/test/fixtures/experimental/dynamic-import/inside-function/expected.json @@ -60,7 +60,6 @@ "name": "loadImport" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/experimental/dynamic-import/top-level/expected.json b/packages/babylon/test/fixtures/experimental/dynamic-import/top-level/expected.json index 3fe68aabcc..44349a3fa6 100644 --- a/packages/babylon/test/fixtures/experimental/dynamic-import/top-level/expected.json +++ b/packages/babylon/test/fixtures/experimental/dynamic-import/top-level/expected.json @@ -418,7 +418,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/dynamic-import/variable-arguments/expected.json b/packages/babylon/test/fixtures/experimental/dynamic-import/variable-arguments/expected.json index 9b9dc9d289..a05af57a70 100644 --- a/packages/babylon/test/fixtures/experimental/dynamic-import/variable-arguments/expected.json +++ b/packages/babylon/test/fixtures/experimental/dynamic-import/variable-arguments/expected.json @@ -225,7 +225,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/function-sent/enabled-asi-funciton-declaration/expected.json b/packages/babylon/test/fixtures/experimental/function-sent/enabled-asi-funciton-declaration/expected.json index 53c4079fde..7c2f1a8cdb 100644 --- a/packages/babylon/test/fixtures/experimental/function-sent/enabled-asi-funciton-declaration/expected.json +++ b/packages/babylon/test/fixtures/experimental/function-sent/enabled-asi-funciton-declaration/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/function-sent/enabled-call-statement/expected.json b/packages/babylon/test/fixtures/experimental/function-sent/enabled-call-statement/expected.json index 0edf1696eb..20907c3380 100644 --- a/packages/babylon/test/fixtures/experimental/function-sent/enabled-call-statement/expected.json +++ b/packages/babylon/test/fixtures/experimental/function-sent/enabled-call-statement/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/function-sent/enabled-call/expected.json b/packages/babylon/test/fixtures/experimental/function-sent/enabled-call/expected.json index 968f3af3d4..6053afed26 100644 --- a/packages/babylon/test/fixtures/experimental/function-sent/enabled-call/expected.json +++ b/packages/babylon/test/fixtures/experimental/function-sent/enabled-call/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/function-sent/enabled-if-statement/expected.json b/packages/babylon/test/fixtures/experimental/function-sent/enabled-if-statement/expected.json index 7ed356f20a..97299864d8 100644 --- a/packages/babylon/test/fixtures/experimental/function-sent/enabled-if-statement/expected.json +++ b/packages/babylon/test/fixtures/experimental/function-sent/enabled-if-statement/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/function-sent/enabled-inside-generator/expected.json b/packages/babylon/test/fixtures/experimental/function-sent/enabled-inside-generator/expected.json index bfacd5b28e..6d03a012ab 100644 --- a/packages/babylon/test/fixtures/experimental/function-sent/enabled-inside-generator/expected.json +++ b/packages/babylon/test/fixtures/experimental/function-sent/enabled-inside-generator/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/function-sent/enabled-statement/expected.json b/packages/babylon/test/fixtures/experimental/function-sent/enabled-statement/expected.json index fd3ef8617b..1fafacae87 100644 --- a/packages/babylon/test/fixtures/experimental/function-sent/enabled-statement/expected.json +++ b/packages/babylon/test/fixtures/experimental/function-sent/enabled-statement/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/object-rest-spread/10/expected.json b/packages/babylon/test/fixtures/experimental/object-rest-spread/10/expected.json index 169e1ee02d..8f25c2d95d 100644 --- a/packages/babylon/test/fixtures/experimental/object-rest-spread/10/expected.json +++ b/packages/babylon/test/fixtures/experimental/object-rest-spread/10/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 6, @@ -105,6 +104,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -142,7 +142,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -160,6 +159,7 @@ }, "name": "y" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/experimental/object-rest-spread/2/expected.json b/packages/babylon/test/fixtures/experimental/object-rest-spread/2/expected.json index f03eed64e8..7e5f5f53f8 100644 --- a/packages/babylon/test/fixtures/experimental/object-rest-spread/2/expected.json +++ b/packages/babylon/test/fixtures/experimental/object-rest-spread/2/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/experimental/object-rest-spread/3/expected.json b/packages/babylon/test/fixtures/experimental/object-rest-spread/3/expected.json index 4de6807268..5e11b8cf1a 100644 --- a/packages/babylon/test/fixtures/experimental/object-rest-spread/3/expected.json +++ b/packages/babylon/test/fixtures/experimental/object-rest-spread/3/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -91,7 +90,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 11, @@ -109,6 +107,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/experimental/object-rest-spread/5/expected.json b/packages/babylon/test/fixtures/experimental/object-rest-spread/5/expected.json index edfb47e37b..471b7c59d6 100644 --- a/packages/babylon/test/fixtures/experimental/object-rest-spread/5/expected.json +++ b/packages/babylon/test/fixtures/experimental/object-rest-spread/5/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -122,6 +121,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/experimental/object-rest-spread/6/expected.json b/packages/babylon/test/fixtures/experimental/object-rest-spread/6/expected.json index b6b781d209..53ef3f7245 100644 --- a/packages/babylon/test/fixtures/experimental/object-rest-spread/6/expected.json +++ b/packages/babylon/test/fixtures/experimental/object-rest-spread/6/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 2, @@ -90,6 +89,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -159,7 +159,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 11, @@ -177,6 +176,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -246,7 +246,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 20, @@ -264,6 +263,7 @@ }, "name": "c" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/experimental/optional-chaining/class-contructor-call/expected.json b/packages/babylon/test/fixtures/experimental/optional-chaining/class-contructor-call/expected.json index cd91d5b86e..49911ff155 100644 --- a/packages/babylon/test/fixtures/experimental/optional-chaining/class-contructor-call/expected.json +++ b/packages/babylon/test/fixtures/experimental/optional-chaining/class-contructor-call/expected.json @@ -73,8 +73,8 @@ }, "name": "C" }, - "arguments": [], - "optional": true + "optional": true, + "arguments": [] } }, { @@ -122,6 +122,7 @@ }, "name": "C" }, + "optional": true, "arguments": [ { "type": "Identifier", @@ -157,8 +158,7 @@ }, "name": "b" } - ], - "optional": true + ] } }, { @@ -220,7 +220,6 @@ }, "name": "B" }, - "optional": true, "property": { "type": "Identifier", "start": 33, @@ -238,10 +237,11 @@ }, "name": "C" }, - "computed": false + "computed": false, + "optional": true }, - "arguments": [], - "optional": true + "optional": true, + "arguments": [] } }, { @@ -303,7 +303,6 @@ }, "name": "B" }, - "optional": true, "property": { "type": "Identifier", "start": 47, @@ -321,8 +320,10 @@ }, "name": "C" }, - "computed": false + "computed": false, + "optional": true }, + "optional": true, "arguments": [ { "type": "Identifier", @@ -358,8 +359,7 @@ }, "name": "b" } - ], - "optional": true + ] } }, { @@ -421,7 +421,6 @@ }, "name": "B" }, - "optional": true, "property": { "type": "Identifier", "start": 65, @@ -439,7 +438,8 @@ }, "name": "C" }, - "computed": false + "computed": false, + "optional": true }, "arguments": [] } @@ -447,4 +447,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/optional-chaining/conditional-decimal/expected.json b/packages/babylon/test/fixtures/experimental/optional-chaining/conditional-decimal/expected.json index a7c530f542..70feddd253 100644 --- a/packages/babylon/test/fixtures/experimental/optional-chaining/conditional-decimal/expected.json +++ b/packages/babylon/test/fixtures/experimental/optional-chaining/conditional-decimal/expected.json @@ -203,4 +203,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/optional-chaining/function-call/expected.json b/packages/babylon/test/fixtures/experimental/optional-chaining/function-call/expected.json index 6b21fceb08..92e841058e 100644 --- a/packages/babylon/test/fixtures/experimental/optional-chaining/function-call/expected.json +++ b/packages/babylon/test/fixtures/experimental/optional-chaining/function-call/expected.json @@ -220,7 +220,6 @@ }, "name": "a" }, - "optional": true, "property": { "type": "Identifier", "start": 27, @@ -238,7 +237,8 @@ }, "name": "func" }, - "computed": false + "computed": false, + "optional": true }, "arguments": [], "optional": true @@ -303,7 +303,6 @@ }, "name": "a" }, - "optional": true, "property": { "type": "Identifier", "start": 40, @@ -321,7 +320,8 @@ }, "name": "func" }, - "computed": false + "computed": false, + "optional": true }, "arguments": [ { @@ -365,4 +365,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/optional-chaining/member-access/expected.json b/packages/babylon/test/fixtures/experimental/optional-chaining/member-access/expected.json index f3e110ea14..db9bb6bc0d 100644 --- a/packages/babylon/test/fixtures/experimental/optional-chaining/member-access/expected.json +++ b/packages/babylon/test/fixtures/experimental/optional-chaining/member-access/expected.json @@ -90,8 +90,8 @@ }, "name": "bar" }, - "optional": true, - "computed": false + "computed": false, + "optional": true } }, { @@ -170,8 +170,8 @@ }, "name": "bar" }, - "optional": true, - "computed": false + "computed": false, + "optional": true }, "property": { "type": "Identifier", @@ -190,8 +190,8 @@ }, "name": "baz" }, - "optional": true, - "computed": false + "computed": false, + "optional": true } } ], diff --git a/packages/babylon/test/fixtures/experimental/pipeline-operator/chain/expected.json b/packages/babylon/test/fixtures/experimental/pipeline-operator/chain/expected.json index 70ad3a44d7..f7ce4802a1 100644 --- a/packages/babylon/test/fixtures/experimental/pipeline-operator/chain/expected.json +++ b/packages/babylon/test/fixtures/experimental/pipeline-operator/chain/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/experimental/pipeline-operator/precedence/expected.json b/packages/babylon/test/fixtures/experimental/pipeline-operator/precedence/expected.json index 054a9a9dad..3bd3f8913c 100644 --- a/packages/babylon/test/fixtures/experimental/pipeline-operator/precedence/expected.json +++ b/packages/babylon/test/fixtures/experimental/pipeline-operator/precedence/expected.json @@ -269,4 +269,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/experimental/pipeline-operator/with-arrow/expected.json b/packages/babylon/test/fixtures/experimental/pipeline-operator/with-arrow/expected.json index 1a3fed18dc..979db6b9e6 100644 --- a/packages/babylon/test/fixtures/experimental/pipeline-operator/with-arrow/expected.json +++ b/packages/babylon/test/fixtures/experimental/pipeline-operator/with-arrow/expected.json @@ -93,7 +93,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/experimental/throw-expression/comma/expected.json b/packages/babylon/test/fixtures/experimental/throw-expression/comma/expected.json index 77b94cdde9..82ce22ff1e 100644 --- a/packages/babylon/test/fixtures/experimental/throw-expression/comma/expected.json +++ b/packages/babylon/test/fixtures/experimental/throw-expression/comma/expected.json @@ -60,7 +60,6 @@ "name": "test" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/throw-expression/expression/expected.json b/packages/babylon/test/fixtures/experimental/throw-expression/expression/expected.json index 14f3d23c12..a081583277 100644 --- a/packages/babylon/test/fixtures/experimental/throw-expression/expression/expected.json +++ b/packages/babylon/test/fixtures/experimental/throw-expression/expression/expected.json @@ -60,7 +60,6 @@ "name": "test" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/throw-expression/logical/expected.json b/packages/babylon/test/fixtures/experimental/throw-expression/logical/expected.json index 9567c711e4..3d656ed8d8 100644 --- a/packages/babylon/test/fixtures/experimental/throw-expression/logical/expected.json +++ b/packages/babylon/test/fixtures/experimental/throw-expression/logical/expected.json @@ -60,7 +60,6 @@ "name": "test" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/throw-expression/statement/expected.json b/packages/babylon/test/fixtures/experimental/throw-expression/statement/expected.json index 35c16d0838..d9c37d2029 100644 --- a/packages/babylon/test/fixtures/experimental/throw-expression/statement/expected.json +++ b/packages/babylon/test/fixtures/experimental/throw-expression/statement/expected.json @@ -60,7 +60,6 @@ "name": "test" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/experimental/uncategorised/43/expected.json b/packages/babylon/test/fixtures/experimental/uncategorised/43/expected.json index b5e0eed1ee..9dd5e9905e 100644 --- a/packages/babylon/test/fixtures/experimental/uncategorised/43/expected.json +++ b/packages/babylon/test/fixtures/experimental/uncategorised/43/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -108,6 +107,7 @@ }, "name": "foo" }, + "computed": false, "value": { "type": "StringLiteral", "start": 18, diff --git a/packages/babylon/test/fixtures/experimental/uncategorised/44/expected.json b/packages/babylon/test/fixtures/experimental/uncategorised/44/expected.json index 0bd96ae88c..4025c61637 100644 --- a/packages/babylon/test/fixtures/experimental/uncategorised/44/expected.json +++ b/packages/babylon/test/fixtures/experimental/uncategorised/44/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -108,6 +107,7 @@ }, "name": "foo" }, + "computed": false, "value": null } ] diff --git a/packages/babylon/test/fixtures/experimental/uncategorised/45/expected.json b/packages/babylon/test/fixtures/experimental/uncategorised/45/expected.json index 9c603e0ed1..47363a3864 100644 --- a/packages/babylon/test/fixtures/experimental/uncategorised/45/expected.json +++ b/packages/babylon/test/fixtures/experimental/uncategorised/45/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 19, @@ -108,6 +107,7 @@ }, "name": "foo" }, + "computed": false, "value": null } ] diff --git a/packages/babylon/test/fixtures/experimental/uncategorised/46/expected.json b/packages/babylon/test/fixtures/experimental/uncategorised/46/expected.json index 221e6c8c0a..ce6d78e0a7 100644 --- a/packages/babylon/test/fixtures/experimental/uncategorised/46/expected.json +++ b/packages/babylon/test/fixtures/experimental/uncategorised/46/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 19, @@ -108,6 +107,7 @@ }, "name": "foo" }, + "computed": false, "value": { "type": "StringLiteral", "start": 25, diff --git a/packages/babylon/test/fixtures/experimental/uncategorised/47/expected.json b/packages/babylon/test/fixtures/experimental/uncategorised/47/expected.json index 63eed136a3..37fe3d9890 100644 --- a/packages/babylon/test/fixtures/experimental/uncategorised/47/expected.json +++ b/packages/babylon/test/fixtures/experimental/uncategorised/47/expected.json @@ -124,7 +124,6 @@ } ], "static": false, - "computed": false, "key": { "type": "Identifier", "start": 17, @@ -142,6 +141,7 @@ }, "name": "foo" }, + "computed": false, "value": { "type": "StringLiteral", "start": 23, diff --git a/packages/babylon/test/fixtures/experimental/uncategorised/48/expected.json b/packages/babylon/test/fixtures/experimental/uncategorised/48/expected.json index 126bbc97f9..1c84e7bbb5 100644 --- a/packages/babylon/test/fixtures/experimental/uncategorised/48/expected.json +++ b/packages/babylon/test/fixtures/experimental/uncategorised/48/expected.json @@ -124,7 +124,6 @@ } ], "static": true, - "computed": false, "key": { "type": "Identifier", "start": 24, @@ -142,6 +141,7 @@ }, "name": "foo" }, + "computed": false, "value": { "type": "StringLiteral", "start": 30, diff --git a/packages/babylon/test/fixtures/experimental/uncategorised/49/expected.json b/packages/babylon/test/fixtures/experimental/uncategorised/49/expected.json index a222166ebe..b5a8d458eb 100644 --- a/packages/babylon/test/fixtures/experimental/uncategorised/49/expected.json +++ b/packages/babylon/test/fixtures/experimental/uncategorised/49/expected.json @@ -138,7 +138,6 @@ } ], "method": false, - "computed": false, "key": { "type": "Identifier", "start": 17, @@ -156,6 +155,7 @@ }, "name": "bar" }, + "computed": false, "shorthand": false, "value": { "type": "StringLiteral", diff --git a/packages/babylon/test/fixtures/experimental/uncategorised/62/expected.json b/packages/babylon/test/fixtures/experimental/uncategorised/62/expected.json index 7ca7768fc9..9c37f72e9c 100644 --- a/packages/babylon/test/fixtures/experimental/uncategorised/62/expected.json +++ b/packages/babylon/test/fixtures/experimental/uncategorised/62/expected.json @@ -105,7 +105,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_03/expected.json b/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_03/expected.json index ce0e1324e4..d5f57fab6e 100644 --- a/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_03/expected.json +++ b/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_03/expected.json @@ -121,7 +121,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_04/expected.json b/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_04/expected.json index 2baac05e21..a32abb2448 100644 --- a/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_04/expected.json +++ b/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_04/expected.json @@ -153,7 +153,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_05/expected.json b/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_05/expected.json index cf7d1a24f7..0e9d4cc366 100644 --- a/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_05/expected.json +++ b/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_05/expected.json @@ -177,7 +177,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_13/expected.json b/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_13/expected.json index ad9ad5c630..9714ca6255 100644 --- a/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_13/expected.json +++ b/packages/babylon/test/fixtures/flow/anonymous-function-no-parens-types/good_13/expected.json @@ -121,7 +121,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -149,4 +148,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/flow/anonymous-function-types/good_10/expected.json b/packages/babylon/test/fixtures/flow/anonymous-function-types/good_10/expected.json index acd3af9b78..684ce54799 100644 --- a/packages/babylon/test/fixtures/flow/anonymous-function-types/good_10/expected.json +++ b/packages/babylon/test/fixtures/flow/anonymous-function-types/good_10/expected.json @@ -193,7 +193,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/anonymous-function-types/good_11/expected.json b/packages/babylon/test/fixtures/flow/anonymous-function-types/good_11/expected.json index 794fbace18..2baa8d8eae 100644 --- a/packages/babylon/test/fixtures/flow/anonymous-function-types/good_11/expected.json +++ b/packages/babylon/test/fixtures/flow/anonymous-function-types/good_11/expected.json @@ -121,7 +121,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/anonymous-function-types/good_12/expected.json b/packages/babylon/test/fixtures/flow/anonymous-function-types/good_12/expected.json index c70e9e0bae..db335e4d45 100644 --- a/packages/babylon/test/fixtures/flow/anonymous-function-types/good_12/expected.json +++ b/packages/babylon/test/fixtures/flow/anonymous-function-types/good_12/expected.json @@ -153,7 +153,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/anonymous-function-types/good_13/expected.json b/packages/babylon/test/fixtures/flow/anonymous-function-types/good_13/expected.json index dd51dd08b7..9e4ef9fa83 100644 --- a/packages/babylon/test/fixtures/flow/anonymous-function-types/good_13/expected.json +++ b/packages/babylon/test/fixtures/flow/anonymous-function-types/good_13/expected.json @@ -177,7 +177,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/anonymous-function-types/good_14/expected.json b/packages/babylon/test/fixtures/flow/anonymous-function-types/good_14/expected.json index 1844409016..897affda59 100644 --- a/packages/babylon/test/fixtures/flow/anonymous-function-types/good_14/expected.json +++ b/packages/babylon/test/fixtures/flow/anonymous-function-types/good_14/expected.json @@ -163,7 +163,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/bounded-polymorphism/2/expected.json b/packages/babylon/test/fixtures/flow/bounded-polymorphism/2/expected.json index e7f5ee680d..096f90c649 100644 --- a/packages/babylon/test/fixtures/flow/bounded-polymorphism/2/expected.json +++ b/packages/babylon/test/fixtures/flow/bounded-polymorphism/2/expected.json @@ -60,7 +60,6 @@ "name": "bar" }, "generator": false, - "expression": false, "async": false, "typeParameters": { "type": "TypeParameterDeclaration", diff --git a/packages/babylon/test/fixtures/flow/classes/constructor-override-with-class-prop-plugin/expected.json b/packages/babylon/test/fixtures/flow/classes/constructor-override-with-class-prop-plugin/expected.json index 2d268761f8..11506344af 100644 --- a/packages/babylon/test/fixtures/flow/classes/constructor-override-with-class-prop-plugin/expected.json +++ b/packages/babylon/test/fixtures/flow/classes/constructor-override-with-class-prop-plugin/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,6 +107,7 @@ }, "name": "constructor" }, + "computed": false, "variance": null, "typeAnnotation": { "type": "TypeAnnotation", diff --git a/packages/babylon/test/fixtures/flow/classes/constructor-with-class-prop-plugin/expected.json b/packages/babylon/test/fixtures/flow/classes/constructor-with-class-prop-plugin/expected.json index 661a2f5828..dd1ca6a3f9 100644 --- a/packages/babylon/test/fixtures/flow/classes/constructor-with-class-prop-plugin/expected.json +++ b/packages/babylon/test/fixtures/flow/classes/constructor-with-class-prop-plugin/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -108,10 +107,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "predicate": null, diff --git a/packages/babylon/test/fixtures/flow/comment/spread/expected.json b/packages/babylon/test/fixtures/flow/comment/spread/expected.json index 313e33c4ac..f2a0db913c 100644 --- a/packages/babylon/test/fixtures/flow/comment/spread/expected.json +++ b/packages/babylon/test/fixtures/flow/comment/spread/expected.json @@ -61,7 +61,6 @@ "leadingComments": null }, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -141,7 +140,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/def-site-variance/1/expected.json b/packages/babylon/test/fixtures/flow/def-site-variance/1/expected.json index 2ee9a406c5..5f77fd7ae9 100644 --- a/packages/babylon/test/fixtures/flow/def-site-variance/1/expected.json +++ b/packages/babylon/test/fixtures/flow/def-site-variance/1/expected.json @@ -190,7 +190,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "typeParameters": { "type": "TypeParameterDeclaration", diff --git a/packages/babylon/test/fixtures/flow/literal-types/string-double/expected.json b/packages/babylon/test/fixtures/flow/literal-types/string-double/expected.json index 010fa630f4..f401a068a5 100644 --- a/packages/babylon/test/fixtures/flow/literal-types/string-double/expected.json +++ b/packages/babylon/test/fixtures/flow/literal-types/string-double/expected.json @@ -60,7 +60,6 @@ "name": "createElement" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/literal-types/string-single/expected.json b/packages/babylon/test/fixtures/flow/literal-types/string-single/expected.json index bd14fc10ac..daadb6c9ec 100644 --- a/packages/babylon/test/fixtures/flow/literal-types/string-single/expected.json +++ b/packages/babylon/test/fixtures/flow/literal-types/string-single/expected.json @@ -60,7 +60,6 @@ "name": "createElement" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/optional-type/1/expected.json b/packages/babylon/test/fixtures/flow/optional-type/1/expected.json index da459cf18d..a990fa57dc 100644 --- a/packages/babylon/test/fixtures/flow/optional-type/1/expected.json +++ b/packages/babylon/test/fixtures/flow/optional-type/1/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/optional-type/3/expected.json b/packages/babylon/test/fixtures/flow/optional-type/3/expected.json index 338ba4dbb9..d9660e5976 100644 --- a/packages/babylon/test/fixtures/flow/optional-type/3/expected.json +++ b/packages/babylon/test/fixtures/flow/optional-type/3/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/optional-type/4/expected.json b/packages/babylon/test/fixtures/flow/optional-type/4/expected.json index 8a9c1e5b99..c1e981bffe 100644 --- a/packages/babylon/test/fixtures/flow/optional-type/4/expected.json +++ b/packages/babylon/test/fixtures/flow/optional-type/4/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/predicates/2/expected.json b/packages/babylon/test/fixtures/flow/predicates/2/expected.json index 79772c2417..2c82788abc 100644 --- a/packages/babylon/test/fixtures/flow/predicates/2/expected.json +++ b/packages/babylon/test/fixtures/flow/predicates/2/expected.json @@ -106,7 +106,6 @@ "returnType": null, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/predicates/3/expected.json b/packages/babylon/test/fixtures/flow/predicates/3/expected.json index 85e6105aca..942e6dcdf9 100644 --- a/packages/babylon/test/fixtures/flow/predicates/3/expected.json +++ b/packages/babylon/test/fixtures/flow/predicates/3/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/regression/issue-166/expected.json b/packages/babylon/test/fixtures/flow/regression/issue-166/expected.json index 8d34b98069..a1ccf297cd 100644 --- a/packages/babylon/test/fixtures/flow/regression/issue-166/expected.json +++ b/packages/babylon/test/fixtures/flow/regression/issue-166/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/regression/issue-2083/expected.json b/packages/babylon/test/fixtures/flow/regression/issue-2083/expected.json index ff7b01c2f5..a9058d0c71 100644 --- a/packages/babylon/test/fixtures/flow/regression/issue-2083/expected.json +++ b/packages/babylon/test/fixtures/flow/regression/issue-2083/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,10 +107,10 @@ }, "name": "foo" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -321,7 +320,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 114, @@ -339,10 +337,10 @@ }, "name": "bar" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/regression/issue-2493/expected.json b/packages/babylon/test/fixtures/flow/regression/issue-2493/expected.json index 9e890e3ca3..ef69096e03 100644 --- a/packages/babylon/test/fixtures/flow/regression/issue-2493/expected.json +++ b/packages/babylon/test/fixtures/flow/regression/issue-2493/expected.json @@ -121,7 +121,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/regression/issue-321/expected.json b/packages/babylon/test/fixtures/flow/regression/issue-321/expected.json index b9585cf17a..cbc65da5aa 100644 --- a/packages/babylon/test/fixtures/flow/regression/issue-321/expected.json +++ b/packages/babylon/test/fixtures/flow/regression/issue-321/expected.json @@ -254,7 +254,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -540,7 +539,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/regression/issue-336/expected.json b/packages/babylon/test/fixtures/flow/regression/issue-336/expected.json index 3c169bcd54..656a7e4cad 100644 --- a/packages/babylon/test/fixtures/flow/regression/issue-336/expected.json +++ b/packages/babylon/test/fixtures/flow/regression/issue-336/expected.json @@ -169,7 +169,6 @@ }, "id": null, "generator": false, - "expression": false, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/regression/issue-58/expected.json b/packages/babylon/test/fixtures/flow/regression/issue-58/expected.json index 44381d5f03..ea2faebfbc 100644 --- a/packages/babylon/test/fixtures/flow/regression/issue-58/expected.json +++ b/packages/babylon/test/fixtures/flow/regression/issue-58/expected.json @@ -111,7 +111,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -300,7 +299,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -527,7 +525,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -715,7 +712,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -775,7 +771,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -980,7 +975,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -1030,7 +1024,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -1303,7 +1296,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -1581,7 +1573,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -1862,7 +1853,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -2085,7 +2075,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -2189,7 +2178,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -2410,7 +2398,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -2496,7 +2483,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -2691,7 +2677,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -2777,7 +2762,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -3001,7 +2985,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -3094,7 +3077,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -3250,7 +3232,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -3309,7 +3290,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -3496,7 +3476,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -3555,7 +3534,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -3778,7 +3756,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -3815,7 +3792,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -3875,7 +3851,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -4062,7 +4037,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -4121,7 +4095,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -4158,7 +4131,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -4219,7 +4191,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -4493,7 +4464,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -4733,7 +4703,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -4937,7 +4906,6 @@ }, "id": null, "generator": false, - "expression": true, "async": true, "params": [ { @@ -5126,7 +5094,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -5183,7 +5150,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -5323,7 +5289,6 @@ }, "id": null, "generator": false, - "expression": true, "async": true, "params": [ { @@ -5360,7 +5325,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -5420,7 +5384,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -5644,7 +5607,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -5872,7 +5834,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/regression/issue-593/expected.json b/packages/babylon/test/fixtures/flow/regression/issue-593/expected.json index 03be1e5167..5b1ebef2fb 100644 --- a/packages/babylon/test/fixtures/flow/regression/issue-593/expected.json +++ b/packages/babylon/test/fixtures/flow/regression/issue-593/expected.json @@ -139,7 +139,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/regression/issue-92/expected.json b/packages/babylon/test/fixtures/flow/regression/issue-92/expected.json index 5a037f32c3..39f20b48ad 100644 --- a/packages/babylon/test/fixtures/flow/regression/issue-92/expected.json +++ b/packages/babylon/test/fixtures/flow/regression/issue-92/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/trailing-function-commas-type/1/expected.json b/packages/babylon/test/fixtures/flow/trailing-function-commas-type/1/expected.json index 806ebcd4b7..c74f63c116 100644 --- a/packages/babylon/test/fixtures/flow/trailing-function-commas-type/1/expected.json +++ b/packages/babylon/test/fixtures/flow/trailing-function-commas-type/1/expected.json @@ -107,7 +107,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/1/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/1/expected.json index ae49055627..491625a095 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/1/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/1/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/10/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/10/expected.json index 9e46f1b9bf..c60dca869a 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/10/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/10/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/100/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/100/expected.json index 3a0d91cfaa..04a0242562 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/100/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/100/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -108,10 +107,10 @@ }, "name": "bar" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "predicate": null, diff --git a/packages/babylon/test/fixtures/flow/type-annotations/101/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/101/expected.json index aaf4345455..20097db468 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/101/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/101/expected.json @@ -122,7 +122,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/102/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/102/expected.json index e48ab5b500..a99c108857 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/102/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/102/expected.json @@ -138,7 +138,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/103/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/103/expected.json index fd5baadca1..746377acc8 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/103/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/103/expected.json @@ -139,7 +139,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/104/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/104/expected.json index 6ff300d7c7..c90378eba6 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/104/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/104/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,6 +107,7 @@ }, "name": "get" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TypeParameterDeclaration", @@ -145,7 +145,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -231,7 +230,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 43, @@ -249,6 +247,7 @@ }, "name": "set" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TypeParameterDeclaration", @@ -286,7 +285,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/105/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/105/expected.json index a8d2cfdcfd..b74182b704 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/105/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/105/expected.json @@ -60,7 +60,6 @@ "name": "g" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/107/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/107/expected.json index c077e69e8d..d0b1887a69 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/107/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/107/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -137,7 +136,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 11, @@ -155,6 +153,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/flow/type-annotations/108/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/108/expected.json index 9e8df837d4..33daa2c034 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/108/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/108/expected.json @@ -241,7 +241,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 39, @@ -259,6 +258,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", @@ -296,7 +296,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 45, @@ -314,6 +313,7 @@ }, "name": "y" }, + "computed": false, "shorthand": false, "value": { "type": "StringLiteral", @@ -555,7 +555,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 97, @@ -573,6 +572,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", @@ -610,7 +610,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 103, @@ -628,6 +627,7 @@ }, "name": "y" }, + "computed": false, "shorthand": false, "value": { "type": "StringLiteral", @@ -1076,7 +1076,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 193, @@ -1094,6 +1093,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectExpression", @@ -1125,7 +1125,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 198, @@ -1143,6 +1142,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", @@ -1180,7 +1180,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 204, @@ -1198,6 +1197,7 @@ }, "name": "y" }, + "computed": false, "shorthand": false, "value": { "type": "StringLiteral", @@ -1238,7 +1238,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 216, @@ -1256,6 +1255,7 @@ }, "name": "b" }, + "computed": false, "shorthand": false, "value": { "type": "BooleanLiteral", @@ -1600,7 +1600,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 286, @@ -1618,6 +1617,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectExpression", @@ -1649,7 +1649,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 291, @@ -1667,6 +1666,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", @@ -1704,7 +1704,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 297, @@ -1722,6 +1721,7 @@ }, "name": "y" }, + "computed": false, "shorthand": false, "value": { "type": "StringLiteral", @@ -1762,7 +1762,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 309, @@ -1780,6 +1779,7 @@ }, "name": "b" }, + "computed": false, "shorthand": false, "value": { "type": "BooleanLiteral", diff --git a/packages/babylon/test/fixtures/flow/type-annotations/11/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/11/expected.json index 10d10e3696..caf6d560da 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/11/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/11/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/118/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/118/expected.json index 86dba55ab3..ac1c19ce07 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/118/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/118/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -108,6 +107,7 @@ }, "name": "p" }, + "computed": false, "variance": { "type": "Variance", "start": 9, diff --git a/packages/babylon/test/fixtures/flow/type-annotations/119/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/119/expected.json index b975624266..7da63b4458 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/119/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/119/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -108,6 +107,7 @@ }, "name": "p" }, + "computed": false, "variance": { "type": "Variance", "start": 9, diff --git a/packages/babylon/test/fixtures/flow/type-annotations/12/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/12/expected.json index 22f2c3c9df..2b934f0b63 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/12/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/12/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [], "predicate": null, diff --git a/packages/babylon/test/fixtures/flow/type-annotations/13/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/13/expected.json index 3a78824d22..82d29632c0 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/13/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/13/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [], "predicate": null, diff --git a/packages/babylon/test/fixtures/flow/type-annotations/130/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/130/expected.json index 15ad52dcb9..434225d7a4 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/130/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/130/expected.json @@ -60,7 +60,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/14/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/14/expected.json index 807aa5b5a4..b1c54261a3 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/14/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/14/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [], "predicate": null, diff --git a/packages/babylon/test/fixtures/flow/type-annotations/15/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/15/expected.json index 9d52a5cde3..e3cd131aae 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/15/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/15/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [], "predicate": null, diff --git a/packages/babylon/test/fixtures/flow/type-annotations/16/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/16/expected.json index 51bc95587f..501f89e149 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/16/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/16/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [], "predicate": null, diff --git a/packages/babylon/test/fixtures/flow/type-annotations/17/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/17/expected.json index ca24d0c90a..ee8e99410c 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/17/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/17/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "typeParameters": { "type": "TypeParameterDeclaration", diff --git a/packages/babylon/test/fixtures/flow/type-annotations/18/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/18/expected.json index 56d24c9789..1c1d05ac16 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/18/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/18/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "typeParameters": { "type": "TypeParameterDeclaration", diff --git a/packages/babylon/test/fixtures/flow/type-annotations/19/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/19/expected.json index 6155d2e0f5..7c154441d3 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/19/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/19/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "typeParameters": { "type": "TypeParameterDeclaration", diff --git a/packages/babylon/test/fixtures/flow/type-annotations/2/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/2/expected.json index 39c2e55c4f..e1b3a7657f 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/2/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/2/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/20/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/20/expected.json index 9290cd973c..98598a5864 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/20/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/20/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 7, @@ -122,11 +121,11 @@ }, "name": "fooProp" }, + "computed": false, "kind": "set", "variance": null, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/21/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/21/expected.json index ea57e98499..f62b2f1b10 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/21/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/21/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 7, @@ -122,11 +121,11 @@ }, "name": "fooProp" }, + "computed": false, "kind": "set", "variance": null, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/22/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/22/expected.json index e9eb17db9d..49ef8f8f3b 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/22/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/22/expected.json @@ -104,7 +104,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 7, @@ -122,11 +121,11 @@ }, "name": "fooProp" }, + "computed": false, "kind": "get", "variance": null, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "predicate": null, diff --git a/packages/babylon/test/fixtures/flow/type-annotations/23/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/23/expected.json index 590ac53b43..ee3d4f1448 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/23/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/23/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -122,10 +121,10 @@ }, "name": "id" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/24/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/24/expected.json index b42844e0b6..0379912527 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/24/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/24/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 4, @@ -122,10 +121,10 @@ }, "name": "id" }, + "computed": false, "kind": "method", "id": null, "generator": true, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/25/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/25/expected.json index b3c441c97f..0f108626dd 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/25/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/25/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 9, @@ -122,10 +121,10 @@ }, "name": "id" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/26/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/26/expected.json index 920a06a06b..fe2819b2e9 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/26/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/26/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "NumericLiteral", "start": 3, @@ -125,10 +124,10 @@ }, "value": 123 }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/27/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/27/expected.json index 07d8b8fd2d..bfa442c300 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/27/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/27/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -108,10 +107,10 @@ }, "name": "fooProp" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/28/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/28/expected.json index 4dc6a8495b..f25748ad0c 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/28/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/28/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -108,10 +107,10 @@ }, "name": "fooProp" }, + "computed": false, "kind": "set", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/29/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/29/expected.json index 14dda0a969..48fafbaec7 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/29/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/29/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -108,10 +107,10 @@ }, "name": "fooProp" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "predicate": null, diff --git a/packages/babylon/test/fixtures/flow/type-annotations/3/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/3/expected.json index ad0533f545..8d8fdde795 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/3/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/3/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/4/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/4/expected.json index 5535d3d0de..30a66bd5fc 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/4/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/4/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/5/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/5/expected.json index 17d938d5d6..d197814ee7 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/5/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/5/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/50/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/50/expected.json index 2682c49d27..fde771d294 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/50/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/50/expected.json @@ -124,7 +124,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -142,6 +141,7 @@ }, "name": "bar" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TypeParameterDeclaration", @@ -179,7 +179,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "predicate": null, diff --git a/packages/babylon/test/fixtures/flow/type-annotations/51/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/51/expected.json index 333398285e..fc6ea59222 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/51/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/51/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "StringLiteral", "start": 12, @@ -111,6 +110,7 @@ }, "value": "bar" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TypeParameterDeclaration", @@ -148,7 +148,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/52/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/52/expected.json index ccd862000e..fd58f7d1bb 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/52/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/52/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/53/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/53/expected.json index c07a57c007..b5a5c92dbc 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/53/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/53/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -108,6 +107,7 @@ }, "name": "prop1" }, + "computed": false, "variance": null, "typeAnnotation": { "type": "TypeAnnotation", @@ -156,7 +156,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 26, @@ -174,6 +173,7 @@ }, "name": "prop2" }, + "computed": false, "variance": null, "typeAnnotation": { "type": "TypeAnnotation", diff --git a/packages/babylon/test/fixtures/flow/type-annotations/54/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/54/expected.json index 4090718b15..0d68f46546 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/54/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/54/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 19, @@ -108,6 +107,7 @@ }, "name": "prop1" }, + "computed": false, "variance": null, "typeAnnotation": { "type": "TypeAnnotation", @@ -156,7 +156,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 33, @@ -174,6 +173,7 @@ }, "name": "prop2" }, + "computed": false, "variance": null, "typeAnnotation": { "type": "TypeAnnotation", diff --git a/packages/babylon/test/fixtures/flow/type-annotations/56/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/56/expected.json index e21a5ba16d..ef0f6bab87 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/56/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/56/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,10 +107,10 @@ }, "name": "concat" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/6/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/6/expected.json index 9e785ac1c7..371509c8bb 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/6/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/6/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/60/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/60/expected.json index 8dfba881ef..984fb4515b 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/60/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/60/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -245,7 +245,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 27, @@ -263,6 +262,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "StringLiteral", diff --git a/packages/babylon/test/fixtures/flow/type-annotations/61/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/61/expected.json index 37f870ae0d..d5033f3c84 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/61/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/61/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 5, @@ -105,6 +104,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -245,7 +245,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 26, @@ -263,6 +262,7 @@ }, "name": "x" }, + "computed": false, "shorthand": false, "value": { "type": "StringLiteral", diff --git a/packages/babylon/test/fixtures/flow/type-annotations/63/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/63/expected.json index 7b384938b2..e985f1ee8c 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/63/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/63/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -93,7 +92,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -111,6 +109,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/flow/type-annotations/64/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/64/expected.json index fe08875e33..bcb0b2b2dd 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/64/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/64/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/65/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/65/expected.json index 4b88153abb..5a5929a9e3 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/65/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/65/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/66/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/66/expected.json index e384b2d0cd..81939ad4be 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/66/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/66/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/67/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/67/expected.json index 5d9f3d2448..014e59edaf 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/67/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/67/expected.json @@ -121,7 +121,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/68/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/68/expected.json index 68c74a61bf..68e8a61873 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/68/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/68/expected.json @@ -121,7 +121,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/69/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/69/expected.json index 9a862eea68..855b83d20c 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/69/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/69/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/7/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/7/expected.json index 3233cf98e6..a9888e2615 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/7/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/7/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/70/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/70/expected.json index 349a54e218..772d25698f 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/70/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/70/expected.json @@ -120,7 +120,6 @@ }, "id": null, "generator": false, - "expression": true, "async": true, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/71/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/71/expected.json index 635549a0b6..e76a0f8b8c 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/71/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/71/expected.json @@ -120,7 +120,6 @@ }, "id": null, "generator": false, - "expression": true, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/72/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/72/expected.json index c43076a1e5..4be3d18560 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/72/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/72/expected.json @@ -121,7 +121,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/73/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/73/expected.json index 84c65077ec..983b45ca12 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/73/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/73/expected.json @@ -121,7 +121,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/74/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/74/expected.json index a3fcb6dbeb..2df6932388 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/74/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/74/expected.json @@ -135,7 +135,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/75/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/75/expected.json index 7c9d750b34..34a6d23e14 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/75/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/75/expected.json @@ -120,7 +120,6 @@ }, "id": null, "generator": false, - "expression": true, "async": true, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/76/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/76/expected.json index 0da85e881f..6b409a54b3 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/76/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/76/expected.json @@ -120,7 +120,6 @@ }, "id": null, "generator": false, - "expression": true, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/77/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/77/expected.json index 04a3bb7902..8653428f7e 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/77/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/77/expected.json @@ -134,7 +134,6 @@ }, "id": null, "generator": false, - "expression": true, "async": true, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/79/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/79/expected.json index eac4bddf31..faff277cf4 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/79/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/79/expected.json @@ -152,7 +152,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/8/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/8/expected.json index 2d082a8233..6ea7abed95 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/8/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/8/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/80/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/80/expected.json index a86ca15185..6d8716a79b 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/80/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/80/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/9/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/9/expected.json index a966a64756..e5d8f59a06 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/9/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/9/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/97/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/97/expected.json index a65d8fd551..0fb6573641 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/97/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/97/expected.json @@ -72,7 +72,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 2, @@ -90,6 +89,7 @@ }, "name": "f" }, + "computed": false, "shorthand": false, "value": { "type": "FunctionExpression", @@ -107,7 +107,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "typeParameters": { "type": "TypeParameterDeclaration", diff --git a/packages/babylon/test/fixtures/flow/type-annotations/99/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/99/expected.json index ed05f4b8f0..d294a2bad5 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/99/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/99/expected.json @@ -107,7 +107,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/arrow-func-return-newline/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/arrow-func-return-newline/expected.json index 10e6b1850a..d751c6ada1 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/arrow-func-return-newline/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/arrow-func-return-newline/expected.json @@ -121,7 +121,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/existential-type-param-2/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/existential-type-param-2/expected.json index a5657a79d5..ae95ed1a00 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/existential-type-param-2/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/existential-type-param-2/expected.json @@ -151,7 +151,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/function-expression-inside-jsx-attr/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/function-expression-inside-jsx-attr/expected.json index 75d1eb85f5..db629db9c3 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/function-expression-inside-jsx-attr/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/function-expression-inside-jsx-attr/expected.json @@ -131,7 +131,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-annotations/with-default-valid/expected.json b/packages/babylon/test/fixtures/flow/type-annotations/with-default-valid/expected.json index 49e6fd1fae..f23e477ef0 100644 --- a/packages/babylon/test/fixtures/flow/type-annotations/with-default-valid/expected.json +++ b/packages/babylon/test/fixtures/flow/type-annotations/with-default-valid/expected.json @@ -60,7 +60,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-generics/1/expected.json b/packages/babylon/test/fixtures/flow/type-generics/1/expected.json index 0efdcd9066..0d2d8cf425 100644 --- a/packages/babylon/test/fixtures/flow/type-generics/1/expected.json +++ b/packages/babylon/test/fixtures/flow/type-generics/1/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { @@ -123,7 +122,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 51, @@ -141,6 +139,7 @@ }, "name": "id" }, + "computed": false, "shorthand": false, "value": { "type": "ArrowFunctionExpression", @@ -207,7 +206,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-generics/2/expected.json b/packages/babylon/test/fixtures/flow/type-generics/2/expected.json index 07043bb8c9..ff620eb13a 100644 --- a/packages/babylon/test/fixtures/flow/type-generics/2/expected.json +++ b/packages/babylon/test/fixtures/flow/type-generics/2/expected.json @@ -139,7 +139,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-generics/async-arrow/expected.json b/packages/babylon/test/fixtures/flow/type-generics/async-arrow/expected.json index b4ae7a1225..48ac689619 100644 --- a/packages/babylon/test/fixtures/flow/type-generics/async-arrow/expected.json +++ b/packages/babylon/test/fixtures/flow/type-generics/async-arrow/expected.json @@ -56,10 +56,6 @@ "column": 28 } }, - "id": null, - "generator": false, - "expression": true, - "async": true, "typeParameters": { "type": "TypeParameterDeclaration", "start": 6, @@ -179,6 +175,9 @@ } } ], + "id": null, + "generator": false, + "async": true, "body": { "type": "Identifier", "start": 26, diff --git a/packages/babylon/test/fixtures/flow/type-parameter-declaration/arrow_with_jsx/expected.json b/packages/babylon/test/fixtures/flow/type-parameter-declaration/arrow_with_jsx/expected.json index 357be6ee1e..64edc57c02 100644 --- a/packages/babylon/test/fixtures/flow/type-parameter-declaration/arrow_with_jsx/expected.json +++ b/packages/babylon/test/fixtures/flow/type-parameter-declaration/arrow_with_jsx/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -254,7 +252,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -391,7 +388,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-parameter-declaration/arrow_without_jsx/expected.json b/packages/babylon/test/fixtures/flow/type-parameter-declaration/arrow_without_jsx/expected.json index 357be6ee1e..64edc57c02 100644 --- a/packages/babylon/test/fixtures/flow/type-parameter-declaration/arrow_without_jsx/expected.json +++ b/packages/babylon/test/fixtures/flow/type-parameter-declaration/arrow_without_jsx/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [], "body": { @@ -147,7 +146,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -254,7 +252,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -391,7 +388,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-parameter-declaration/class-method-reserved-word/expected.json b/packages/babylon/test/fixtures/flow/type-parameter-declaration/class-method-reserved-word/expected.json index a836b16d41..d53b916b17 100644 --- a/packages/babylon/test/fixtures/flow/type-parameter-declaration/class-method-reserved-word/expected.json +++ b/packages/babylon/test/fixtures/flow/type-parameter-declaration/class-method-reserved-word/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 12, @@ -108,6 +107,7 @@ }, "name": "foobar" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TypeParameterDeclaration", @@ -145,7 +145,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -181,7 +180,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 29, @@ -199,6 +197,7 @@ }, "name": "delete" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TypeParameterDeclaration", @@ -236,7 +235,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -272,7 +270,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 46, @@ -290,6 +287,7 @@ }, "name": "yield" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TypeParameterDeclaration", @@ -327,7 +325,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -363,7 +360,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 62, @@ -381,6 +377,7 @@ }, "name": "do" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TypeParameterDeclaration", @@ -418,7 +415,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -454,7 +450,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 82, @@ -472,6 +467,7 @@ }, "name": "foobar" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TypeParameterDeclaration", @@ -509,7 +505,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -545,7 +540,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 106, @@ -563,6 +557,7 @@ }, "name": "delete" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TypeParameterDeclaration", @@ -600,7 +595,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -636,7 +630,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 130, @@ -654,6 +647,7 @@ }, "name": "yield" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TypeParameterDeclaration", @@ -691,7 +685,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -727,7 +720,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 153, @@ -745,6 +737,7 @@ }, "name": "do" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TypeParameterDeclaration", @@ -782,7 +775,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/type-parameter-declaration/object-method-type-param-jsx/expected.json b/packages/babylon/test/fixtures/flow/type-parameter-declaration/object-method-type-param-jsx/expected.json index cd52fb7e74..58ea586d72 100644 --- a/packages/babylon/test/fixtures/flow/type-parameter-declaration/object-method-type-param-jsx/expected.json +++ b/packages/babylon/test/fixtures/flow/type-parameter-declaration/object-method-type-param-jsx/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -122,10 +121,10 @@ }, "name": "delete" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/type-parameter-declaration/object-reserved-word/expected.json b/packages/babylon/test/fixtures/flow/type-parameter-declaration/object-reserved-word/expected.json index 934c0fddb3..12381a2e97 100644 --- a/packages/babylon/test/fixtures/flow/type-parameter-declaration/object-reserved-word/expected.json +++ b/packages/babylon/test/fixtures/flow/type-parameter-declaration/object-reserved-word/expected.json @@ -104,7 +104,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -122,10 +121,10 @@ }, "name": "foobar" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -195,7 +194,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 32, @@ -213,10 +211,10 @@ }, "name": "delete" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -286,7 +284,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 50, @@ -304,10 +301,10 @@ }, "name": "yield" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -377,7 +374,6 @@ } }, "method": true, - "computed": false, "key": { "type": "Identifier", "start": 67, @@ -395,10 +391,10 @@ }, "name": "do" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/flow/typecasts/2/expected.json b/packages/babylon/test/fixtures/flow/typecasts/2/expected.json index ac27cb40c4..e0f4f47e44 100644 --- a/packages/babylon/test/fixtures/flow/typecasts/2/expected.json +++ b/packages/babylon/test/fixtures/flow/typecasts/2/expected.json @@ -86,7 +86,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 2, @@ -104,6 +103,7 @@ }, "name": "xxx" }, + "computed": false, "shorthand": false, "value": { "type": "NumericLiteral", @@ -141,7 +141,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 10, @@ -159,6 +158,7 @@ }, "name": "yyy" }, + "computed": false, "shorthand": false, "value": { "type": "StringLiteral", diff --git a/packages/babylon/test/fixtures/flow/typecasts/3/expected.json b/packages/babylon/test/fixtures/flow/typecasts/3/expected.json index b47396af29..b95e8cb512 100644 --- a/packages/babylon/test/fixtures/flow/typecasts/3/expected.json +++ b/packages/babylon/test/fixtures/flow/typecasts/3/expected.json @@ -72,7 +72,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/typecasts/yield-extra-parentheses/expected.json b/packages/babylon/test/fixtures/flow/typecasts/yield-extra-parentheses/expected.json index 75f6b756bf..b1bbfe5c3f 100644 --- a/packages/babylon/test/fixtures/flow/typecasts/yield-extra-parentheses/expected.json +++ b/packages/babylon/test/fixtures/flow/typecasts/yield-extra-parentheses/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/flow/typecasts/yield/expected.json b/packages/babylon/test/fixtures/flow/typecasts/yield/expected.json index b6e005a8e2..c10a198674 100644 --- a/packages/babylon/test/fixtures/flow/typecasts/yield/expected.json +++ b/packages/babylon/test/fixtures/flow/typecasts/yield/expected.json @@ -60,7 +60,6 @@ "name": "foo" }, "generator": true, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/jsx/basic/asi/expected.json b/packages/babylon/test/fixtures/jsx/basic/asi/expected.json index 120125cf19..88a40d2acd 100644 --- a/packages/babylon/test/fixtures/jsx/basic/asi/expected.json +++ b/packages/babylon/test/fixtures/jsx/basic/asi/expected.json @@ -60,7 +60,6 @@ "name": "x" }, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/jsx/basic/fragment-1/expected.json b/packages/babylon/test/fixtures/jsx/basic/fragment-1/expected.json index b374291c56..069d44cd8a 100644 --- a/packages/babylon/test/fixtures/jsx/basic/fragment-1/expected.json +++ b/packages/babylon/test/fixtures/jsx/basic/fragment-1/expected.json @@ -92,4 +92,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/jsx/basic/yield-tag/expected.json b/packages/babylon/test/fixtures/jsx/basic/yield-tag/expected.json index 3cb2a5908c..159a4073c8 100644 --- a/packages/babylon/test/fixtures/jsx/basic/yield-tag/expected.json +++ b/packages/babylon/test/fixtures/jsx/basic/yield-tag/expected.json @@ -60,7 +60,6 @@ "name": "it" }, "generator": true, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/jsx/regression/3/expected.json b/packages/babylon/test/fixtures/jsx/regression/3/expected.json index d314d03df0..fb641431e7 100644 --- a/packages/babylon/test/fixtures/jsx/regression/3/expected.json +++ b/packages/babylon/test/fixtures/jsx/regression/3/expected.json @@ -165,7 +165,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 8, @@ -183,6 +182,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-array/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-array/expected.json index e52b51e72f..5fa5502e79 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-array/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-array/expected.json @@ -60,7 +60,6 @@ "name": "emptyWithArray" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-leading/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-leading/expected.json index 6e97288c68..d20d944c2c 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-leading/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-leading/expected.json @@ -60,7 +60,6 @@ "name": "emptyWithLeading" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-object/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-object/expected.json index fae5451a85..0efa49196e 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-object/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-object/expected.json @@ -60,7 +60,6 @@ "name": "emptyWithObject" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-rest/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-rest/expected.json index 619f048343..dc9dbdd08e 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-rest/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty-with-rest/expected.json @@ -60,7 +60,6 @@ "name": "emptyWithRest" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty/expected.json index 8fce044f0d..219d91111a 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-empty/expected.json @@ -60,7 +60,6 @@ "name": "empty" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-array/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-array/expected.json index 365a587997..24b84a8d67 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-array/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-array/expected.json @@ -60,7 +60,6 @@ "name": "multiElementWithArray" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-initializer/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-initializer/expected.json index 31e27ace56..27b717de8b 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-initializer/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-initializer/expected.json @@ -60,7 +60,6 @@ "name": "multiElementWithInitializer" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-leading/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-leading/expected.json index d2f274ab0a..9ee3a314f2 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-leading/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-leading/expected.json @@ -60,7 +60,6 @@ "name": "multiElementWithLeading" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-object/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-object/expected.json index e46cd87e8d..2f24442f75 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-object/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-object/expected.json @@ -60,7 +60,6 @@ "name": "multiElementWithObject" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -122,7 +121,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 37, @@ -140,6 +138,7 @@ }, "name": "p" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", @@ -191,7 +190,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 45, @@ -209,6 +207,7 @@ }, "name": "r" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -263,7 +262,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 50, @@ -281,6 +279,7 @@ }, "name": "s" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-rest/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-rest/expected.json index a37e75f801..3a29ed2976 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-rest/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element-with-rest/expected.json @@ -60,7 +60,6 @@ "name": "multiElementWithRest" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element/expected.json index 86cdf203a2..a307255fee 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-multi-element/expected.json @@ -60,7 +60,6 @@ "name": "multiElement" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-array/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-array/expected.json index 7184320ff8..870841280c 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-array/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-array/expected.json @@ -60,7 +60,6 @@ "name": "singleElementWithArray" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-initializer/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-initializer/expected.json index 300640612a..dd9c205ee8 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-initializer/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-initializer/expected.json @@ -60,7 +60,6 @@ "name": "singleElementWithInitializer" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-leading/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-leading/expected.json index 616bb91824..c1e3ec168a 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-leading/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-leading/expected.json @@ -60,7 +60,6 @@ "name": "singleElementWithLeading" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-object/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-object/expected.json index ad6ee909e9..55665b21f1 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-object/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-object/expected.json @@ -60,7 +60,6 @@ "name": "singleElementWithObject" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -122,7 +121,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 38, @@ -140,6 +138,7 @@ }, "name": "p" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-rest/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-rest/expected.json index faed59b185..2339c7e4a6 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-rest/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-rest/expected.json @@ -60,7 +60,6 @@ "name": "singleElementWithRest" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element/expected.json index 0416e8d857..ca72b910da 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/array-pattern-single-element/expected.json @@ -60,7 +60,6 @@ "name": "singleElement" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty-with-array/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty-with-array/expected.json index d16c7b6b46..8efaf3e0fd 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty-with-array/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty-with-array/expected.json @@ -60,7 +60,6 @@ "name": "emptyWithArray" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 28, @@ -125,6 +123,7 @@ }, "name": "p" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayPattern", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty-with-leading/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty-with-leading/expected.json index 76ca5482f5..941708c023 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty-with-leading/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty-with-leading/expected.json @@ -60,7 +60,6 @@ "name": "emptyWithLeading" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty-with-object/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty-with-object/expected.json index 4977ba0df5..7bd4ed378f 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty-with-object/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty-with-object/expected.json @@ -60,7 +60,6 @@ "name": "emptyWithObject" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 29, @@ -125,6 +123,7 @@ }, "name": "p" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty/expected.json index 38447d9767..2c390105fa 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-empty/expected.json @@ -60,7 +60,6 @@ "name": "empty" }, "generator": false, - "expression": false, "async": false, "params": [ { diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-array/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-array/expected.json index 4b32aef8fb..f6fb403b2d 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-array/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-array/expected.json @@ -60,7 +60,6 @@ "name": "multiElementWithArray" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 35, @@ -125,6 +123,7 @@ }, "name": "p" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayPattern", @@ -176,7 +175,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 43, @@ -194,6 +192,7 @@ }, "name": "b" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -231,7 +230,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 46, @@ -249,6 +247,7 @@ }, "name": "q" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayPattern", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-initializer/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-initializer/expected.json index 00fb663d0e..ccdff6f9e4 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-initializer/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-initializer/expected.json @@ -60,7 +60,6 @@ "name": "multiElementWithInitializer" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 41, @@ -125,6 +123,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "AssignmentPattern", @@ -194,7 +193,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 51, @@ -212,6 +210,7 @@ }, "name": "b" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", @@ -246,7 +245,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 57, @@ -264,6 +262,7 @@ }, "name": "c" }, + "computed": false, "shorthand": false, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-leading/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-leading/expected.json index fd80d529d9..baf8cb6552 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-leading/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-leading/expected.json @@ -60,7 +60,6 @@ "name": "multiElementWithLeading" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -141,7 +140,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 43, @@ -159,6 +157,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", @@ -193,7 +192,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 49, @@ -211,6 +209,7 @@ }, "name": "b" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", @@ -245,7 +244,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 55, @@ -263,6 +261,7 @@ }, "name": "c" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-object/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-object/expected.json index 0a51e17c59..e5ed8d05ff 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-object/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element-with-object/expected.json @@ -60,7 +60,6 @@ "name": "multiElementWithObject" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 36, @@ -125,6 +123,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -156,7 +155,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 40, @@ -174,6 +172,7 @@ }, "name": "p" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", @@ -211,7 +210,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 47, @@ -229,6 +227,7 @@ }, "name": "b" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -260,7 +259,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 51, @@ -278,6 +276,7 @@ }, "name": "r" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -318,7 +317,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 55, @@ -336,6 +334,7 @@ }, "name": "c" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -367,7 +366,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 59, @@ -385,6 +383,7 @@ }, "name": "s" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element/expected.json index e79b67a273..0bcbd0f3b4 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-multi-element/expected.json @@ -60,7 +60,6 @@ "name": "multiElement" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 26, @@ -125,6 +123,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", @@ -159,7 +158,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 32, @@ -177,6 +175,7 @@ }, "name": "b" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", @@ -211,7 +210,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 38, @@ -229,6 +227,7 @@ }, "name": "c" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-array/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-array/expected.json index f3e9810813..ee8aa6fd37 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-array/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-array/expected.json @@ -60,7 +60,6 @@ "name": "singleElementWithArray" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 36, @@ -125,6 +123,7 @@ }, "name": "p" }, + "computed": false, "shorthand": false, "value": { "type": "ArrayPattern", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-initializer/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-initializer/expected.json index ff62b03d63..661d15e6b6 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-initializer/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-initializer/expected.json @@ -60,7 +60,6 @@ "name": "singleElementWithInitializer" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 42, @@ -125,6 +123,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-leading/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-leading/expected.json index 554a4ebf3d..9378881123 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-leading/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-leading/expected.json @@ -60,7 +60,6 @@ "name": "singleElementWithLeading" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -124,7 +123,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 41, @@ -142,6 +140,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-object/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-object/expected.json index 92b741d8a9..241c565c13 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-object/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element-with-object/expected.json @@ -60,7 +60,6 @@ "name": "singleElementWithObject" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 37, @@ -125,6 +123,7 @@ }, "name": "p" }, + "computed": false, "shorthand": false, "value": { "type": "ObjectPattern", @@ -156,7 +155,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 41, @@ -174,6 +172,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element/expected.json b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element/expected.json index 3685c479ca..8e9fa389cf 100644 --- a/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element/expected.json +++ b/packages/babylon/test/fixtures/test262/rest-parameter/object-pattern-single-element/expected.json @@ -60,7 +60,6 @@ "name": "singleElement" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -107,7 +106,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 27, @@ -125,6 +123,7 @@ }, "name": "a" }, + "computed": false, "shorthand": false, "value": { "type": "Identifier", diff --git a/packages/babylon/test/fixtures/typescript/arrow-function/annotated/expected.json b/packages/babylon/test/fixtures/typescript/arrow-function/annotated/expected.json index 2e5151144e..c6ab02976c 100644 --- a/packages/babylon/test/fixtures/typescript/arrow-function/annotated/expected.json +++ b/packages/babylon/test/fixtures/typescript/arrow-function/annotated/expected.json @@ -88,7 +88,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -161,4 +160,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/arrow-function/async-generic-false-positive/expected.json b/packages/babylon/test/fixtures/typescript/arrow-function/async-generic-false-positive/expected.json index 6eb11c91b9..4a0f82f410 100644 --- a/packages/babylon/test/fixtures/typescript/arrow-function/async-generic-false-positive/expected.json +++ b/packages/babylon/test/fixtures/typescript/arrow-function/async-generic-false-positive/expected.json @@ -232,4 +232,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/arrow-function/async-generic/expected.json b/packages/babylon/test/fixtures/typescript/arrow-function/async-generic/expected.json index 07e14382d3..8b93cc3d10 100644 --- a/packages/babylon/test/fixtures/typescript/arrow-function/async-generic/expected.json +++ b/packages/babylon/test/fixtures/typescript/arrow-function/async-generic/expected.json @@ -228,4 +228,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/arrow-function/async/expected.json b/packages/babylon/test/fixtures/typescript/arrow-function/async/expected.json index bdbbd4d0c1..0feb64e1da 100644 --- a/packages/babylon/test/fixtures/typescript/arrow-function/async/expected.json +++ b/packages/babylon/test/fixtures/typescript/arrow-function/async/expected.json @@ -88,7 +88,6 @@ }, "id": null, "generator": false, - "expression": true, "async": true, "params": [ { @@ -162,4 +161,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/arrow-function/default-parameter-values/expected.json b/packages/babylon/test/fixtures/typescript/arrow-function/default-parameter-values/expected.json index 7a118ee403..364bf0c555 100644 --- a/packages/babylon/test/fixtures/typescript/arrow-function/default-parameter-values/expected.json +++ b/packages/babylon/test/fixtures/typescript/arrow-function/default-parameter-values/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -169,4 +168,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/arrow-function/destructuring/expected.json b/packages/babylon/test/fixtures/typescript/arrow-function/destructuring/expected.json index c48ece9678..f196c7d6fd 100644 --- a/packages/babylon/test/fixtures/typescript/arrow-function/destructuring/expected.json +++ b/packages/babylon/test/fixtures/typescript/arrow-function/destructuring/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -91,7 +90,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 3, @@ -109,6 +107,7 @@ }, "name": "a" }, + "computed": false, "shorthand": true, "value": { "type": "AssignmentPattern", diff --git a/packages/babylon/test/fixtures/typescript/arrow-function/generic-tsx/expected.json b/packages/babylon/test/fixtures/typescript/arrow-function/generic-tsx/expected.json index 2108e3ce7c..2240eb71da 100644 --- a/packages/babylon/test/fixtures/typescript/arrow-function/generic-tsx/expected.json +++ b/packages/babylon/test/fixtures/typescript/arrow-function/generic-tsx/expected.json @@ -105,7 +105,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -266,4 +265,4 @@ } } ] -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/arrow-function/generic/expected.json b/packages/babylon/test/fixtures/typescript/arrow-function/generic/expected.json index efe03ee846..bfbf98f1d9 100644 --- a/packages/babylon/test/fixtures/typescript/arrow-function/generic/expected.json +++ b/packages/babylon/test/fixtures/typescript/arrow-function/generic/expected.json @@ -105,7 +105,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -228,4 +227,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/arrow-function/optional-parameter/expected.json b/packages/babylon/test/fixtures/typescript/arrow-function/optional-parameter/expected.json index 6052af3280..90cf613b67 100644 --- a/packages/babylon/test/fixtures/typescript/arrow-function/optional-parameter/expected.json +++ b/packages/babylon/test/fixtures/typescript/arrow-function/optional-parameter/expected.json @@ -88,7 +88,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -162,4 +161,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/arrow-function/predicate-types/expected.json b/packages/babylon/test/fixtures/typescript/arrow-function/predicate-types/expected.json index 92cca09f8e..50c70df25f 100644 --- a/packages/babylon/test/fixtures/typescript/arrow-function/predicate-types/expected.json +++ b/packages/babylon/test/fixtures/typescript/arrow-function/predicate-types/expected.json @@ -135,7 +135,6 @@ }, "id": null, "generator": false, - "expression": true, "async": false, "params": [ { @@ -207,4 +206,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/constructor/expected.json b/packages/babylon/test/fixtures/typescript/class/constructor/expected.json index 036af003ec..885bc79c1d 100644 --- a/packages/babylon/test/fixtures/typescript/class/constructor/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/constructor/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,10 +107,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -225,7 +224,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 53, @@ -243,10 +241,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -360,7 +358,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 92, @@ -378,10 +375,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -503,4 +500,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/declare/expected.json b/packages/babylon/test/fixtures/typescript/class/declare/expected.json index bd147bd119..51bc54c2f8 100644 --- a/packages/babylon/test/fixtures/typescript/class/declare/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/declare/expected.json @@ -184,7 +184,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 44, @@ -202,6 +201,7 @@ }, "name": "x" }, + "computed": false, "value": null }, { @@ -219,7 +219,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 51, @@ -237,6 +236,7 @@ }, "name": "x" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 52, @@ -284,7 +284,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 66, @@ -302,10 +301,10 @@ }, "name": "f" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [] }, @@ -324,7 +323,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 75, @@ -342,10 +340,10 @@ }, "name": "f" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -386,4 +384,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/expression-extends-implements/expected.json b/packages/babylon/test/fixtures/typescript/class/expression-extends-implements/expected.json index 38a24d0e62..1fa3f69f20 100644 --- a/packages/babylon/test/fixtures/typescript/class/expression-extends-implements/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/expression-extends-implements/expected.json @@ -543,4 +543,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/expression-extends/expected.json b/packages/babylon/test/fixtures/typescript/class/expression-extends/expected.json index 384e5f9076..a473be22e0 100644 --- a/packages/babylon/test/fixtures/typescript/class/expression-extends/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/expression-extends/expected.json @@ -313,4 +313,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/expression-generic/expected.json b/packages/babylon/test/fixtures/typescript/class/expression-generic/expected.json index f5be828a4b..6094c0a4b5 100644 --- a/packages/babylon/test/fixtures/typescript/class/expression-generic/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/expression-generic/expected.json @@ -217,4 +217,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/expression-implements/expected.json b/packages/babylon/test/fixtures/typescript/class/expression-implements/expected.json index 553326421a..7a36a596e5 100644 --- a/packages/babylon/test/fixtures/typescript/class/expression-implements/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/expression-implements/expected.json @@ -380,4 +380,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/extends-implements/expected.json b/packages/babylon/test/fixtures/typescript/class/extends-implements/expected.json index 502c1a712f..7fca5413db 100644 --- a/packages/babylon/test/fixtures/typescript/class/extends-implements/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/extends-implements/expected.json @@ -276,4 +276,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/extends/expected.json b/packages/babylon/test/fixtures/typescript/class/extends/expected.json index 151bed4e19..9d774f7d17 100644 --- a/packages/babylon/test/fixtures/typescript/class/extends/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/extends/expected.json @@ -161,4 +161,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/generic/expected.json b/packages/babylon/test/fixtures/typescript/class/generic/expected.json index 2d114fa489..77598a6dbd 100644 --- a/packages/babylon/test/fixtures/typescript/class/generic/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/generic/expected.json @@ -133,7 +133,6 @@ "column": 38 } }, - "computed": false, "key": { "type": "Identifier", "start": 29, @@ -151,6 +150,7 @@ }, "name": "x" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 30, @@ -208,4 +208,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/get-generic/expected.json b/packages/babylon/test/fixtures/typescript/class/get-generic/expected.json index 28eaf264cf..43ecdb4668 100644 --- a/packages/babylon/test/fixtures/typescript/class/get-generic/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/get-generic/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 22, @@ -108,6 +107,7 @@ }, "name": "get" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TSTypeParameterDeclaration", @@ -144,7 +144,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -185,4 +184,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/implements/expected.json b/packages/babylon/test/fixtures/typescript/class/implements/expected.json index dd732987b9..1f561339f8 100644 --- a/packages/babylon/test/fixtures/typescript/class/implements/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/implements/expected.json @@ -195,4 +195,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/index-signature/expected.json b/packages/babylon/test/fixtures/typescript/class/index-signature/expected.json index 0fb90f1421..e6bb160607 100644 --- a/packages/babylon/test/fixtures/typescript/class/index-signature/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/index-signature/expected.json @@ -270,4 +270,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/members-with-modifier-names/expected.json b/packages/babylon/test/fixtures/typescript/class/members-with-modifier-names/expected.json index 725f034a2d..b9d208a6b5 100644 --- a/packages/babylon/test/fixtures/typescript/class/members-with-modifier-names/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/members-with-modifier-names/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,10 +107,10 @@ }, "name": "public" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -182,7 +181,6 @@ "static": false, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -231,7 +229,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 61, @@ -249,6 +246,7 @@ }, "name": "readonly" }, + "computed": false, "value": { "type": "NumericLiteral", "start": 72, @@ -285,7 +283,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 79, @@ -303,6 +300,7 @@ }, "name": "async" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TSTypeParameterDeclaration", @@ -339,7 +337,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -379,4 +376,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/members-with-reserved-names/expected.json b/packages/babylon/test/fixtures/typescript/class/members-with-reserved-names/expected.json index 41ebcaecb0..5acb0ad5d3 100644 --- a/packages/babylon/test/fixtures/typescript/class/members-with-reserved-names/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/members-with-reserved-names/expected.json @@ -91,7 +91,6 @@ }, "accessibility": "public", "static": false, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -109,10 +108,10 @@ }, "name": "delete" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -152,4 +151,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/method-computed/expected.json b/packages/babylon/test/fixtures/typescript/class/method-computed/expected.json index 41e32efb45..4e1d81c2e8 100644 --- a/packages/babylon/test/fixtures/typescript/class/method-computed/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/method-computed/expected.json @@ -144,7 +144,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -248,7 +247,6 @@ "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -288,4 +286,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/method-generic/expected.json b/packages/babylon/test/fixtures/typescript/class/method-generic/expected.json index 6e7a33919b..685eef0e73 100644 --- a/packages/babylon/test/fixtures/typescript/class/method-generic/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/method-generic/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,6 +107,7 @@ }, "name": "f" }, + "computed": false, "kind": "method", "typeParameters": { "type": "TSTypeParameterDeclaration", @@ -144,7 +144,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -538,7 +537,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -612,4 +610,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/method-no-body/expected.json b/packages/babylon/test/fixtures/typescript/class/method-no-body/expected.json index 2fdba33290..8888451a5d 100644 --- a/packages/babylon/test/fixtures/typescript/class/method-no-body/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/method-no-body/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,10 +107,10 @@ }, "name": "f" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [] }, @@ -130,7 +129,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 23, @@ -148,10 +146,10 @@ }, "name": "f" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -191,4 +189,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/method-optional/expected.json b/packages/babylon/test/fixtures/typescript/class/method-optional/expected.json index a76097048d..f34b845bff 100644 --- a/packages/babylon/test/fixtures/typescript/class/method-optional/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/method-optional/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,11 +107,11 @@ }, "name": "m" }, + "computed": false, "optional": true, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -169,4 +168,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/method-return-type/expected.json b/packages/babylon/test/fixtures/typescript/class/method-return-type/expected.json index 96d99504d3..91a943e354 100644 --- a/packages/babylon/test/fixtures/typescript/class/method-return-type/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/method-return-type/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,10 +107,10 @@ }, "name": "f" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -168,4 +167,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/method-with-newline-with-body/expected.json b/packages/babylon/test/fixtures/typescript/class/method-with-newline-with-body/expected.json index 585a5b2920..697d2796a7 100644 --- a/packages/babylon/test/fixtures/typescript/class/method-with-newline-with-body/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/method-with-newline-with-body/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,10 +107,10 @@ }, "name": "m" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/typescript/class/method-with-newline-without-body/expected.json b/packages/babylon/test/fixtures/typescript/class/method-with-newline-without-body/expected.json index 5252a1bbd5..a74167df5b 100644 --- a/packages/babylon/test/fixtures/typescript/class/method-with-newline-without-body/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/method-with-newline-without-body/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,10 +107,10 @@ }, "name": "m" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [] }, @@ -130,7 +129,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 22, @@ -148,10 +146,10 @@ }, "name": "n" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [] } diff --git a/packages/babylon/test/fixtures/typescript/class/modifiers-accessors/expected.json b/packages/babylon/test/fixtures/typescript/class/modifiers-accessors/expected.json index 953516b92d..4e6c6db8bf 100644 --- a/packages/babylon/test/fixtures/typescript/class/modifiers-accessors/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/modifiers-accessors/expected.json @@ -92,7 +92,6 @@ }, "abstract": true, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 76, @@ -110,10 +109,10 @@ }, "name": "a" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [] }, @@ -132,7 +131,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 96, @@ -150,10 +148,10 @@ }, "name": "s" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -227,7 +225,6 @@ "accessibility": "public", "abstract": true, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 138, @@ -245,10 +242,10 @@ }, "name": "pua" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [] }, @@ -268,7 +265,6 @@ }, "accessibility": "public", "static": true, - "computed": false, "key": { "type": "Identifier", "start": 167, @@ -286,10 +282,10 @@ }, "name": "pus" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -362,7 +358,6 @@ }, "accessibility": "public", "static": false, - "computed": false, "key": { "type": "Identifier", "start": 203, @@ -380,10 +375,10 @@ }, "name": "pu" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -456,7 +451,6 @@ }, "accessibility": "protected", "static": false, - "computed": false, "key": { "type": "Identifier", "start": 240, @@ -474,10 +468,10 @@ }, "name": "po" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { @@ -550,7 +544,6 @@ }, "accessibility": "private", "static": false, - "computed": false, "key": { "type": "Identifier", "start": 275, @@ -568,10 +561,10 @@ }, "name": "pi" }, + "computed": false, "kind": "get", "id": null, "generator": false, - "expression": false, "async": false, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/typescript/class/modifiers-methods-async/expected.json b/packages/babylon/test/fixtures/typescript/class/modifiers-methods-async/expected.json index d35e4a6d64..fe4150a005 100644 --- a/packages/babylon/test/fixtures/typescript/class/modifiers-methods-async/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/modifiers-methods-async/expected.json @@ -92,7 +92,6 @@ }, "abstract": true, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 80, @@ -110,10 +109,10 @@ }, "name": "a" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": true, "params": [] }, @@ -132,7 +131,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 102, @@ -150,10 +148,10 @@ }, "name": "s" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": true, "params": [], "body": { @@ -191,7 +189,6 @@ "accessibility": "public", "abstract": true, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 135, @@ -209,10 +206,10 @@ }, "name": "pua" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": true, "params": [] }, @@ -232,7 +229,6 @@ }, "accessibility": "public", "static": true, - "computed": false, "key": { "type": "Identifier", "start": 166, @@ -250,10 +246,10 @@ }, "name": "pus" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": true, "params": [], "body": { @@ -290,7 +286,6 @@ }, "accessibility": "public", "static": false, - "computed": false, "key": { "type": "Identifier", "start": 193, @@ -308,10 +303,10 @@ }, "name": "pu" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": true, "params": [], "body": { @@ -348,7 +343,6 @@ }, "accessibility": "protected", "static": false, - "computed": false, "key": { "type": "Identifier", "start": 221, @@ -366,10 +360,10 @@ }, "name": "po" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": true, "params": [], "body": { @@ -406,7 +400,6 @@ }, "accessibility": "private", "static": false, - "computed": false, "key": { "type": "Identifier", "start": 247, @@ -424,10 +417,10 @@ }, "name": "pi" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": true, "params": [], "body": { diff --git a/packages/babylon/test/fixtures/typescript/class/modifiers-properties/expected.json b/packages/babylon/test/fixtures/typescript/class/modifiers-properties/expected.json index e3358572f3..922827e480 100644 --- a/packages/babylon/test/fixtures/typescript/class/modifiers-properties/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/modifiers-properties/expected.json @@ -92,7 +92,6 @@ }, "readonly": true, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 32, @@ -110,6 +109,7 @@ }, "name": "r" }, + "computed": false, "value": null }, { @@ -128,7 +128,6 @@ }, "readonly": true, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 48, @@ -146,6 +145,7 @@ }, "name": "r2" }, + "computed": false, "optional": true, "typeAnnotation": { "type": "TSTypeAnnotation", @@ -195,7 +195,6 @@ }, "abstract": true, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 74, @@ -213,6 +212,7 @@ }, "name": "a" }, + "computed": false, "value": null }, { @@ -230,7 +230,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 88, @@ -248,6 +247,7 @@ }, "name": "s" }, + "computed": false, "value": null }, { @@ -266,7 +266,6 @@ }, "accessibility": "public", "static": false, - "computed": false, "key": { "type": "Identifier", "start": 103, @@ -284,6 +283,7 @@ }, "name": "pu" }, + "computed": false, "value": null }, { @@ -302,7 +302,6 @@ }, "accessibility": "protected", "static": false, - "computed": false, "key": { "type": "Identifier", "start": 121, @@ -320,6 +319,7 @@ }, "name": "po" }, + "computed": false, "value": null }, { @@ -338,7 +338,6 @@ }, "accessibility": "private", "static": false, - "computed": false, "key": { "type": "Identifier", "start": 137, @@ -356,6 +355,7 @@ }, "name": "pi" }, + "computed": false, "value": null }, { @@ -375,7 +375,6 @@ "abstract": true, "readonly": true, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 164, @@ -393,6 +392,7 @@ }, "name": "ra" }, + "computed": false, "value": null }, { @@ -412,7 +412,6 @@ "abstract": true, "readonly": true, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 190, @@ -430,6 +429,7 @@ }, "name": "ar" }, + "computed": false, "value": null }, { @@ -448,7 +448,6 @@ }, "readonly": true, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 214, @@ -466,6 +465,7 @@ }, "name": "sr" }, + "computed": false, "value": null }, { @@ -485,7 +485,6 @@ "accessibility": "public", "readonly": true, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 239, @@ -503,6 +502,7 @@ }, "name": "pur" }, + "computed": false, "value": null }, { @@ -522,7 +522,6 @@ "accessibility": "public", "abstract": true, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 264, @@ -540,6 +539,7 @@ }, "name": "pua" }, + "computed": false, "value": null }, { @@ -558,7 +558,6 @@ }, "accessibility": "public", "static": true, - "computed": false, "key": { "type": "Identifier", "start": 287, @@ -576,6 +575,7 @@ }, "name": "pus" }, + "computed": false, "value": null }, { @@ -596,7 +596,6 @@ "abstract": true, "readonly": true, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 321, @@ -614,6 +613,7 @@ }, "name": "pura" }, + "computed": false, "value": null }, { @@ -634,7 +634,6 @@ "abstract": true, "readonly": true, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 356, @@ -652,6 +651,7 @@ }, "name": "puar" }, + "computed": false, "value": null }, { @@ -671,7 +671,6 @@ "accessibility": "public", "readonly": true, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 389, @@ -689,6 +688,7 @@ }, "name": "pusr" }, + "computed": false, "value": null } ] @@ -697,4 +697,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/parameter-properties-with-decorators/expected.json b/packages/babylon/test/fixtures/typescript/class/parameter-properties-with-decorators/expected.json index bbf13dd6fb..4096b04c95 100644 --- a/packages/babylon/test/fixtures/typescript/class/parameter-properties-with-decorators/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/parameter-properties-with-decorators/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,10 +107,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -236,4 +235,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/parameter-properties/expected.json b/packages/babylon/test/fixtures/typescript/class/parameter-properties/expected.json index 8db9ca16a0..4f0f32b462 100644 --- a/packages/babylon/test/fixtures/typescript/class/parameter-properties/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/parameter-properties/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,10 +107,10 @@ }, "name": "constructor" }, + "computed": false, "kind": "constructor", "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -572,4 +571,4 @@ } } ] -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/properties/expected.json b/packages/babylon/test/fixtures/typescript/class/properties/expected.json index b956b43172..edbf544f70 100644 --- a/packages/babylon/test/fixtures/typescript/class/properties/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/properties/expected.json @@ -90,7 +90,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 14, @@ -108,6 +107,7 @@ }, "name": "x" }, + "computed": false, "value": null }, { @@ -125,7 +125,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -143,6 +142,7 @@ }, "name": "x" }, + "computed": false, "optional": true, "value": null }, @@ -161,7 +161,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 29, @@ -179,6 +178,7 @@ }, "name": "x" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 30, @@ -226,7 +226,6 @@ } }, "static": false, - "computed": false, "key": { "type": "Identifier", "start": 44, @@ -244,6 +243,7 @@ }, "name": "x" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 45, @@ -301,4 +301,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/property-computed/expected.json b/packages/babylon/test/fixtures/typescript/class/property-computed/expected.json index 961a435eaa..623b5d3a26 100644 --- a/packages/babylon/test/fixtures/typescript/class/property-computed/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/property-computed/expected.json @@ -278,4 +278,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/class/static/expected.json b/packages/babylon/test/fixtures/typescript/class/static/expected.json index f8a95e4d32..7af9fb66d1 100644 --- a/packages/babylon/test/fixtures/typescript/class/static/expected.json +++ b/packages/babylon/test/fixtures/typescript/class/static/expected.json @@ -90,7 +90,6 @@ } }, "static": true, - "computed": false, "key": { "type": "Identifier", "start": 21, @@ -108,10 +107,10 @@ }, "name": "f" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [] }, @@ -131,7 +130,6 @@ }, "accessibility": "public", "static": true, - "computed": false, "key": { "type": "Identifier", "start": 44, @@ -149,10 +147,10 @@ }, "name": "f" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [] }, @@ -172,7 +170,6 @@ }, "accessibility": "protected", "static": true, - "computed": false, "key": { "type": "Identifier", "start": 70, @@ -190,10 +187,10 @@ }, "name": "f" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [] }, @@ -213,7 +210,6 @@ }, "accessibility": "private", "static": true, - "computed": false, "key": { "type": "Identifier", "start": 94, @@ -231,10 +227,10 @@ }, "name": "f" }, + "computed": false, "kind": "method", "id": null, "generator": false, - "expression": false, "async": false, "params": [] } diff --git a/packages/babylon/test/fixtures/typescript/const/no-initializer/expected.json b/packages/babylon/test/fixtures/typescript/const/no-initializer/expected.json index 755d88c279..73282f9cac 100644 --- a/packages/babylon/test/fixtures/typescript/const/no-initializer/expected.json +++ b/packages/babylon/test/fixtures/typescript/const/no-initializer/expected.json @@ -112,4 +112,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/declare/const/expected.json b/packages/babylon/test/fixtures/typescript/declare/const/expected.json index 86df9f11df..03f882b46f 100644 --- a/packages/babylon/test/fixtures/typescript/declare/const/expected.json +++ b/packages/babylon/test/fixtures/typescript/declare/const/expected.json @@ -176,4 +176,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/declare/destructure/expected.json b/packages/babylon/test/fixtures/typescript/declare/destructure/expected.json index cb1a93f503..46f8d32d97 100644 --- a/packages/babylon/test/fixtures/typescript/declare/destructure/expected.json +++ b/packages/babylon/test/fixtures/typescript/declare/destructure/expected.json @@ -87,7 +87,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 16, @@ -105,6 +104,7 @@ }, "name": "x" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -142,7 +142,6 @@ } }, "method": false, - "computed": false, "key": { "type": "Identifier", "start": 19, @@ -160,6 +159,7 @@ }, "name": "y" }, + "computed": false, "shorthand": true, "value": { "type": "Identifier", @@ -226,7 +226,6 @@ "column": 36 } }, - "computed": false, "key": { "type": "Identifier", "start": 26, @@ -244,6 +243,7 @@ }, "name": "x" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 27, @@ -289,7 +289,6 @@ "column": 46 } }, - "computed": false, "key": { "type": "Identifier", "start": 37, @@ -307,6 +306,7 @@ }, "name": "y" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 38, @@ -351,4 +351,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/declare/var/expected.json b/packages/babylon/test/fixtures/typescript/declare/var/expected.json index b5083a4e86..372542b626 100644 --- a/packages/babylon/test/fixtures/typescript/declare/var/expected.json +++ b/packages/babylon/test/fixtures/typescript/declare/var/expected.json @@ -165,4 +165,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/export/declare/expected.json b/packages/babylon/test/fixtures/typescript/export/declare/expected.json index b3f3f055d9..ac7210f467 100644 --- a/packages/babylon/test/fixtures/typescript/export/declare/expected.json +++ b/packages/babylon/test/fixtures/typescript/export/declare/expected.json @@ -175,7 +175,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -544,4 +543,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/function/annotated/expected.json b/packages/babylon/test/fixtures/typescript/function/annotated/expected.json index fdb62268bf..dbe62d2389 100644 --- a/packages/babylon/test/fixtures/typescript/function/annotated/expected.json +++ b/packages/babylon/test/fixtures/typescript/function/annotated/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "typeParameters": { "type": "TSTypeParameterDeclaration", @@ -230,4 +229,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/function/anonymous/expected.json b/packages/babylon/test/fixtures/typescript/function/anonymous/expected.json index 1367ea39a2..ab4bed5fb2 100644 --- a/packages/babylon/test/fixtures/typescript/function/anonymous/expected.json +++ b/packages/babylon/test/fixtures/typescript/function/anonymous/expected.json @@ -90,7 +90,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "typeParameters": { "type": "TSTypeParameterDeclaration", @@ -264,4 +263,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/function/declare/expected.json b/packages/babylon/test/fixtures/typescript/function/declare/expected.json index 5a6f89e48c..62e8819853 100644 --- a/packages/babylon/test/fixtures/typescript/function/declare/expected.json +++ b/packages/babylon/test/fixtures/typescript/function/declare/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [], "returnType": { @@ -127,7 +126,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "typeParameters": { "type": "TSTypeParameterDeclaration", @@ -215,4 +213,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/function/export-default/expected.json b/packages/babylon/test/fixtures/typescript/function/export-default/expected.json index 5778c653ff..d3d9fe5b2c 100644 --- a/packages/babylon/test/fixtures/typescript/function/export-default/expected.json +++ b/packages/babylon/test/fixtures/typescript/function/export-default/expected.json @@ -58,7 +58,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -145,4 +144,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/function/overloads/expected.json b/packages/babylon/test/fixtures/typescript/function/overloads/expected.json index acd9bc0685..f8a102813f 100644 --- a/packages/babylon/test/fixtures/typescript/function/overloads/expected.json +++ b/packages/babylon/test/fixtures/typescript/function/overloads/expected.json @@ -76,7 +76,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -207,7 +206,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -293,4 +291,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/function/predicate-types/expected.json b/packages/babylon/test/fixtures/typescript/function/predicate-types/expected.json index 79233238ad..06e9467b0b 100644 --- a/packages/babylon/test/fixtures/typescript/function/predicate-types/expected.json +++ b/packages/babylon/test/fixtures/typescript/function/predicate-types/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "params": [ { @@ -236,7 +235,6 @@ }, "id": null, "generator": false, - "expression": false, "async": false, "params": [ { @@ -390,4 +388,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/call-signature/expected.json b/packages/babylon/test/fixtures/typescript/interface/call-signature/expected.json index 592614057f..cab7e0c380 100644 --- a/packages/babylon/test/fixtures/typescript/interface/call-signature/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/call-signature/expected.json @@ -174,4 +174,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/construct-signature/expected.json b/packages/babylon/test/fixtures/typescript/interface/construct-signature/expected.json index 3693d03b2a..6111250356 100644 --- a/packages/babylon/test/fixtures/typescript/interface/construct-signature/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/construct-signature/expected.json @@ -174,4 +174,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/extends/expected.json b/packages/babylon/test/fixtures/typescript/interface/extends/expected.json index 85164503ee..c214e51536 100644 --- a/packages/babylon/test/fixtures/typescript/interface/extends/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/extends/expected.json @@ -194,4 +194,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/generic/expected.json b/packages/babylon/test/fixtures/typescript/interface/generic/expected.json index 26726c6f1c..bf15723014 100644 --- a/packages/babylon/test/fixtures/typescript/interface/generic/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/generic/expected.json @@ -133,7 +133,6 @@ "column": 42 } }, - "computed": false, "key": { "type": "Identifier", "start": 33, @@ -151,6 +150,7 @@ }, "name": "x" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 34, @@ -207,4 +207,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/index-signature/expected.json b/packages/babylon/test/fixtures/typescript/interface/index-signature/expected.json index 2a5c04a9c7..ddb1b29f0f 100644 --- a/packages/babylon/test/fixtures/typescript/interface/index-signature/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/index-signature/expected.json @@ -174,4 +174,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/method-computed/expected.json b/packages/babylon/test/fixtures/typescript/interface/method-computed/expected.json index 78e9e5e9dc..73f4a5fc10 100644 --- a/packages/babylon/test/fixtures/typescript/interface/method-computed/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/method-computed/expected.json @@ -275,4 +275,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/method-generic/expected.json b/packages/babylon/test/fixtures/typescript/interface/method-generic/expected.json index 6ab7ab2486..42e2222aa7 100644 --- a/packages/babylon/test/fixtures/typescript/interface/method-generic/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/method-generic/expected.json @@ -88,7 +88,6 @@ "column": 45 } }, - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -106,6 +105,7 @@ }, "name": "m" }, + "computed": false, "typeParameters": { "type": "TSTypeParameterDeclaration", "start": 19, @@ -180,7 +180,6 @@ "column": 36 } }, - "computed": false, "key": { "type": "Identifier", "start": 41, @@ -198,6 +197,7 @@ }, "name": "x" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 42, @@ -289,4 +289,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/method-optional/expected.json b/packages/babylon/test/fixtures/typescript/interface/method-optional/expected.json index 96219530ec..7ffe92548b 100644 --- a/packages/babylon/test/fixtures/typescript/interface/method-optional/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/method-optional/expected.json @@ -88,7 +88,6 @@ "column": 15 } }, - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -106,6 +105,7 @@ }, "name": "m" }, + "computed": false, "optional": true, "parameters": [], "typeAnnotation": { @@ -145,4 +145,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/method-plain/expected.json b/packages/babylon/test/fixtures/typescript/interface/method-plain/expected.json index 66336652d8..c76219cc8c 100644 --- a/packages/babylon/test/fixtures/typescript/interface/method-plain/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/method-plain/expected.json @@ -88,7 +88,6 @@ "column": 8 } }, - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -106,6 +105,7 @@ }, "name": "m" }, + "computed": false, "parameters": [] }, { @@ -122,7 +122,6 @@ "column": 40 } }, - "computed": false, "key": { "type": "Identifier", "start": 27, @@ -140,6 +139,7 @@ }, "name": "m" }, + "computed": false, "parameters": [ { "type": "Identifier", @@ -304,4 +304,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/modifiers/expected.json b/packages/babylon/test/fixtures/typescript/interface/modifiers/expected.json index 36ddaccaa5..0e221ddc9b 100644 --- a/packages/babylon/test/fixtures/typescript/interface/modifiers/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/modifiers/expected.json @@ -88,7 +88,6 @@ "column": 23 } }, - "computed": false, "key": { "type": "Identifier", "start": 27, @@ -106,6 +105,7 @@ }, "name": "x" }, + "computed": false, "readonly": true, "typeAnnotation": { "type": "TSTypeAnnotation", @@ -144,4 +144,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/properties/expected.json b/packages/babylon/test/fixtures/typescript/interface/properties/expected.json index 724cc96c52..085f95c94f 100644 --- a/packages/babylon/test/fixtures/typescript/interface/properties/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/properties/expected.json @@ -88,7 +88,6 @@ "column": 6 } }, - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -105,7 +104,8 @@ "identifierName": "x" }, "name": "x" - } + }, + "computed": false }, { "type": "TSPropertySignature", @@ -121,7 +121,6 @@ "column": 14 } }, - "computed": false, "key": { "type": "Identifier", "start": 25, @@ -139,6 +138,7 @@ }, "name": "y" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 26, @@ -184,7 +184,6 @@ "column": 15 } }, - "computed": false, "key": { "type": "Identifier", "start": 40, @@ -202,6 +201,7 @@ }, "name": "z" }, + "computed": false, "optional": true, "typeAnnotation": { "type": "TSTypeAnnotation", @@ -240,4 +240,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/property-computed/expected.json b/packages/babylon/test/fixtures/typescript/interface/property-computed/expected.json index c8fce660e5..b307fb7f19 100644 --- a/packages/babylon/test/fixtures/typescript/interface/property-computed/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/property-computed/expected.json @@ -273,4 +273,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/property-named-public/expected.json b/packages/babylon/test/fixtures/typescript/interface/property-named-public/expected.json index 398b976c15..c8118a771c 100644 --- a/packages/babylon/test/fixtures/typescript/interface/property-named-public/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/property-named-public/expected.json @@ -88,7 +88,6 @@ "column": 16 } }, - "computed": false, "key": { "type": "Identifier", "start": 15, @@ -106,6 +105,7 @@ }, "name": "public" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 21, @@ -143,4 +143,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/reserved-method-name/expected.json b/packages/babylon/test/fixtures/typescript/interface/reserved-method-name/expected.json index baa7894bf9..2903237240 100644 --- a/packages/babylon/test/fixtures/typescript/interface/reserved-method-name/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/reserved-method-name/expected.json @@ -88,7 +88,6 @@ "column": 18 } }, - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -106,6 +105,7 @@ }, "name": "catch" }, + "computed": false, "parameters": [], "typeAnnotation": { "type": "TSTypeAnnotation", @@ -144,4 +144,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/interface/separators/expected.json b/packages/babylon/test/fixtures/typescript/interface/separators/expected.json index b5a74595a6..c2ff470d3f 100644 --- a/packages/babylon/test/fixtures/typescript/interface/separators/expected.json +++ b/packages/babylon/test/fixtures/typescript/interface/separators/expected.json @@ -88,7 +88,6 @@ "column": 28 } }, - "computed": false, "key": { "type": "Identifier", "start": 18, @@ -106,6 +105,7 @@ }, "name": "x" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 19, @@ -151,7 +151,6 @@ "column": 38 } }, - "computed": false, "key": { "type": "Identifier", "start": 29, @@ -169,6 +168,7 @@ }, "name": "y" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 30, @@ -263,7 +263,6 @@ "column": 27 } }, - "computed": false, "key": { "type": "Identifier", "start": 58, @@ -281,6 +280,7 @@ }, "name": "x" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 59, @@ -326,7 +326,6 @@ "column": 37 } }, - "computed": false, "key": { "type": "Identifier", "start": 69, @@ -344,6 +343,7 @@ }, "name": "y" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 70, @@ -438,7 +438,6 @@ "column": 13 } }, - "computed": false, "key": { "type": "Identifier", "start": 105, @@ -456,6 +455,7 @@ }, "name": "x" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 106, @@ -501,7 +501,6 @@ "column": 13 } }, - "computed": false, "key": { "type": "Identifier", "start": 119, @@ -519,6 +518,7 @@ }, "name": "y" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 120, @@ -556,4 +556,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/module-namespace/body-declare/expected.json b/packages/babylon/test/fixtures/typescript/module-namespace/body-declare/expected.json index 29b72b3683..8966dbe43c 100644 --- a/packages/babylon/test/fixtures/typescript/module-namespace/body-declare/expected.json +++ b/packages/babylon/test/fixtures/typescript/module-namespace/body-declare/expected.json @@ -162,4 +162,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/module-namespace/body-nested-declare/expected.json b/packages/babylon/test/fixtures/typescript/module-namespace/body-nested-declare/expected.json index 4108c0c349..8536bd222e 100644 --- a/packages/babylon/test/fixtures/typescript/module-namespace/body-nested-declare/expected.json +++ b/packages/babylon/test/fixtures/typescript/module-namespace/body-nested-declare/expected.json @@ -211,4 +211,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/module-namespace/global-in-module/expected.json b/packages/babylon/test/fixtures/typescript/module-namespace/global-in-module/expected.json index 577f1309c4..6255c18edc 100644 --- a/packages/babylon/test/fixtures/typescript/module-namespace/global-in-module/expected.json +++ b/packages/babylon/test/fixtures/typescript/module-namespace/global-in-module/expected.json @@ -215,4 +215,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/tsx/brace-is-block/expected.json b/packages/babylon/test/fixtures/typescript/tsx/brace-is-block/expected.json index 0c844437fe..3031876fda 100644 --- a/packages/babylon/test/fixtures/typescript/tsx/brace-is-block/expected.json +++ b/packages/babylon/test/fixtures/typescript/tsx/brace-is-block/expected.json @@ -247,4 +247,4 @@ } } ] -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/type-alias/generic-complex/expected.json b/packages/babylon/test/fixtures/typescript/type-alias/generic-complex/expected.json index d3d0752a89..2cf9422555 100644 --- a/packages/babylon/test/fixtures/typescript/type-alias/generic-complex/expected.json +++ b/packages/babylon/test/fixtures/typescript/type-alias/generic-complex/expected.json @@ -133,7 +133,6 @@ "column": 37 } }, - "computed": false, "key": { "type": "Identifier", "start": 28, @@ -151,6 +150,7 @@ }, "name": "x" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 29, @@ -272,4 +272,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/type-alias/generic/expected.json b/packages/babylon/test/fixtures/typescript/type-alias/generic/expected.json index d678126487..830d5da4f7 100644 --- a/packages/babylon/test/fixtures/typescript/type-alias/generic/expected.json +++ b/packages/babylon/test/fixtures/typescript/type-alias/generic/expected.json @@ -128,4 +128,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/type-arguments/call/expected.json b/packages/babylon/test/fixtures/typescript/type-arguments/call/expected.json index fc786c74e6..6b46457d5b 100644 --- a/packages/babylon/test/fixtures/typescript/type-arguments/call/expected.json +++ b/packages/babylon/test/fixtures/typescript/type-arguments/call/expected.json @@ -257,4 +257,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/type-arguments/new/expected.json b/packages/babylon/test/fixtures/typescript/type-arguments/new/expected.json index c766c79171..4c88ddb72c 100644 --- a/packages/babylon/test/fixtures/typescript/type-arguments/new/expected.json +++ b/packages/babylon/test/fixtures/typescript/type-arguments/new/expected.json @@ -257,4 +257,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/type-arguments/whitespace/expected.json b/packages/babylon/test/fixtures/typescript/type-arguments/whitespace/expected.json index cb13db6b68..589b3ce984 100644 --- a/packages/babylon/test/fixtures/typescript/type-arguments/whitespace/expected.json +++ b/packages/babylon/test/fixtures/typescript/type-arguments/whitespace/expected.json @@ -60,7 +60,6 @@ "name": "f" }, "generator": false, - "expression": false, "async": false, "typeParameters": { "type": "TSTypeParameterDeclaration", @@ -117,4 +116,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/array/expected.json b/packages/babylon/test/fixtures/typescript/types/array/expected.json index c3ad6ce3ee..17c8c69668 100644 --- a/packages/babylon/test/fixtures/typescript/types/array/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/array/expected.json @@ -142,4 +142,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/function-generic/expected.json b/packages/babylon/test/fixtures/typescript/types/function-generic/expected.json index 1892869ac5..60d0b783eb 100644 --- a/packages/babylon/test/fixtures/typescript/types/function-generic/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/function-generic/expected.json @@ -258,4 +258,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/function-in-generic/expected.json b/packages/babylon/test/fixtures/typescript/types/function-in-generic/expected.json index b41c055bd5..d7029f82c9 100644 --- a/packages/babylon/test/fixtures/typescript/types/function-in-generic/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/function-in-generic/expected.json @@ -192,4 +192,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/function-with-this/expected.json b/packages/babylon/test/fixtures/typescript/types/function-with-this/expected.json index a9cecff60f..280491d4da 100644 --- a/packages/babylon/test/fixtures/typescript/types/function-with-this/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/function-with-this/expected.json @@ -191,4 +191,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/function/expected.json b/packages/babylon/test/fixtures/typescript/types/function/expected.json index 0266c62539..418bb00eb7 100644 --- a/packages/babylon/test/fixtures/typescript/types/function/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/function/expected.json @@ -316,4 +316,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/indexed/expected.json b/packages/babylon/test/fixtures/typescript/types/indexed/expected.json index 17e9952a50..eb436a3283 100644 --- a/packages/babylon/test/fixtures/typescript/types/indexed/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/indexed/expected.json @@ -176,4 +176,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/keywords/expected.json b/packages/babylon/test/fixtures/typescript/types/keywords/expected.json index 6d2bf6bab3..379b01360f 100644 --- a/packages/babylon/test/fixtures/typescript/types/keywords/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/keywords/expected.json @@ -841,4 +841,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/literal-boolean/expected.json b/packages/babylon/test/fixtures/typescript/types/literal-boolean/expected.json index 0ff1d7a1db..85d7b7c306 100644 --- a/packages/babylon/test/fixtures/typescript/types/literal-boolean/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/literal-boolean/expected.json @@ -225,4 +225,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/literal-number-negative/expected.json b/packages/babylon/test/fixtures/typescript/types/literal-number-negative/expected.json index 10eb0df16c..737724b7e2 100644 --- a/packages/babylon/test/fixtures/typescript/types/literal-number-negative/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/literal-number-negative/expected.json @@ -132,4 +132,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/literal-number/expected.json b/packages/babylon/test/fixtures/typescript/types/literal-number/expected.json index 56642c8900..1f8b83072f 100644 --- a/packages/babylon/test/fixtures/typescript/types/literal-number/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/literal-number/expected.json @@ -132,4 +132,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/literal-string/expected.json b/packages/babylon/test/fixtures/typescript/types/literal-string/expected.json index 980e55a467..5dd4979fcb 100644 --- a/packages/babylon/test/fixtures/typescript/types/literal-string/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/literal-string/expected.json @@ -132,4 +132,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/mapped/expected.json b/packages/babylon/test/fixtures/typescript/types/mapped/expected.json index 1806d688fd..687868b0ec 100644 --- a/packages/babylon/test/fixtures/typescript/types/mapped/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/mapped/expected.json @@ -287,4 +287,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/reference-generic-nested/expected.json b/packages/babylon/test/fixtures/typescript/types/reference-generic-nested/expected.json index 5a5077fa8d..ad9b6e5b55 100644 --- a/packages/babylon/test/fixtures/typescript/types/reference-generic-nested/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/reference-generic-nested/expected.json @@ -210,4 +210,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/reference-generic/expected.json b/packages/babylon/test/fixtures/typescript/types/reference-generic/expected.json index 97bc623ec3..874f3c904f 100644 --- a/packages/babylon/test/fixtures/typescript/types/reference-generic/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/reference-generic/expected.json @@ -161,4 +161,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/reference/expected.json b/packages/babylon/test/fixtures/typescript/types/reference/expected.json index 336dded6c4..0115abf98b 100644 --- a/packages/babylon/test/fixtures/typescript/types/reference/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/reference/expected.json @@ -129,4 +129,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/type-literal/expected.json b/packages/babylon/test/fixtures/typescript/types/type-literal/expected.json index 5c448f85a5..b3b5bafb01 100644 --- a/packages/babylon/test/fixtures/typescript/types/type-literal/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/type-literal/expected.json @@ -116,7 +116,6 @@ "column": 20 } }, - "computed": false, "key": { "type": "Identifier", "start": 11, @@ -134,6 +133,7 @@ }, "name": "x" }, + "computed": false, "typeAnnotation": { "type": "TSTypeAnnotation", "start": 12, @@ -213,4 +213,4 @@ } } ] -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/type-operator/expected.json b/packages/babylon/test/fixtures/typescript/types/type-operator/expected.json index e5296f76c4..2ad318fae1 100644 --- a/packages/babylon/test/fixtures/typescript/types/type-operator/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/type-operator/expected.json @@ -145,4 +145,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/typeof/expected.json b/packages/babylon/test/fixtures/typescript/types/typeof/expected.json index 2845ec8dcd..53bcc636e8 100644 --- a/packages/babylon/test/fixtures/typescript/types/typeof/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/typeof/expected.json @@ -161,4 +161,4 @@ ], "directives": [] } -} +} \ No newline at end of file diff --git a/packages/babylon/test/fixtures/typescript/types/union-intersection/expected.json b/packages/babylon/test/fixtures/typescript/types/union-intersection/expected.json index 5a6e733747..f329933188 100644 --- a/packages/babylon/test/fixtures/typescript/types/union-intersection/expected.json +++ b/packages/babylon/test/fixtures/typescript/types/union-intersection/expected.json @@ -562,4 +562,4 @@ ], "directives": [] } -} +} \ No newline at end of file