From 13bebfdf45c0ce5264fa4339873ad2d9d45aadd8 Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Thu, 12 Jan 2017 22:38:41 +0100 Subject: [PATCH] Fail tests that have expected.json and throws-option (#285) * Fail tests that have expected.json and throws * Remove obsolete test files --- .../core/regression/T2921/expected.json | 97 ---- .../core/uncategorised/466/expected.json | 186 ------- .../core/uncategorised/467/expected.json | 184 ------- .../core/uncategorised/468/expected.json | 186 ------- .../core/uncategorised/469/expected.json | 186 ------- .../core/uncategorised/470/expected.json | 201 -------- .../core/uncategorised/471/expected.json | 201 -------- .../core/uncategorised/472/expected.json | 184 ------- .../core/uncategorised/473/expected.json | 184 ------- .../core/uncategorised/474/expected.json | 167 ------- .../core/uncategorised/475/expected.json | 167 ------- .../core/uncategorised/476/expected.json | 167 ------- .../core/uncategorised/477/expected.json | 167 ------- .../core/uncategorised/478/expected.json | 167 ------- .../core/uncategorised/479/expected.json | 167 ------- .../core/uncategorised/480/expected.json | 167 ------- .../core/uncategorised/481/expected.json | 167 ------- .../core/uncategorised/482/expected.json | 170 ------- .../core/uncategorised/483/expected.json | 170 ------- .../core/uncategorised/484/expected.json | 117 ----- .../core/uncategorised/485/expected.json | 117 ----- .../core/uncategorised/486/expected.json | 204 -------- .../core/uncategorised/487/expected.json | 204 -------- .../core/uncategorised/488/expected.json | 149 ------ .../core/uncategorised/489/expected.json | 149 ------ .../core/uncategorised/490/expected.json | 240 --------- .../core/uncategorised/491/expected.json | 149 ------ .../core/uncategorised/492/expected.json | 295 ----------- .../core/uncategorised/493/expected.json | 242 --------- .../core/uncategorised/494/expected.json | 257 ---------- .../core/uncategorised/495/expected.json | 134 ----- .../core/uncategorised/496/expected.json | 134 ----- .../core/uncategorised/497/expected.json | 187 ------- .../core/uncategorised/498/expected.json | 187 ------- .../core/uncategorised/499/expected.json | 150 ------ .../core/uncategorised/500/expected.json | 152 ------ .../core/uncategorised/501/expected.json | 209 -------- .../core/uncategorised/502/expected.json | 209 -------- .../core/uncategorised/503/expected.json | 203 -------- .../core/uncategorised/504/expected.json | 169 ------- .../core/uncategorised/505/expected.json | 169 ------- .../core/uncategorised/506/expected.json | 169 ------- .../core/uncategorised/507/expected.json | 169 ------- .../core/uncategorised/508/expected.json | 169 ------- .../core/uncategorised/509/expected.json | 169 ------- .../core/uncategorised/510/expected.json | 169 ------- .../core/uncategorised/511/expected.json | 134 ----- .../core/uncategorised/512/expected.json | 117 ----- .../core/uncategorised/513/expected.json | 118 ----- .../core/uncategorised/514/expected.json | 151 ------ .../core/uncategorised/515/expected.json | 134 ----- .../core/uncategorised/516/expected.json | 134 ----- .../core/uncategorised/517/expected.json | 218 -------- .../core/uncategorised/518/expected.json | 169 ------- .../core/uncategorised/519/expected.json | 221 -------- .../core/uncategorised/520/expected.json | 150 ------ .../core/uncategorised/521/expected.json | 150 ------ .../core/uncategorised/522/expected.json | 270 ---------- .../core/uncategorised/536/expected.json | 83 --- .../es2015/uncategorised/167/expected.json | 149 ------ .../es2015/uncategorised/168/expected.json | 420 ---------------- .../es2015/uncategorised/171/expected.json | 165 ------ .../es2015/uncategorised/172/expected.json | 436 ---------------- .../es2015/uncategorised/174/expected.json | 202 -------- .../es2015/uncategorised/175/expected.json | 473 ------------------ .../es2015/uncategorised/180/expected.json | 149 ------ .../es2015/uncategorised/181/expected.json | 149 ------ .../es2015/uncategorised/227/expected.json | 295 ----------- .../es2015/uncategorised/228/expected.json | 258 ---------- .../es2015/uncategorised/242/expected.json | 169 ------- .../es2015/uncategorised/243/expected.json | 136 ----- .../es2015/uncategorised/244/expected.json | 136 ----- .../es2015/uncategorised/245/expected.json | 152 ------ .../es2015/uncategorised/246/expected.json | 152 ------ .../es2015/uncategorised/247/expected.json | 185 ------- .../es2015/uncategorised/249/expected.json | 136 ----- .../es2015/uncategorised/280/expected.json | 203 -------- .../es2015/uncategorised/281/expected.json | 376 -------------- .../es2015/uncategorised/289/expected.json | 187 ------- .../es2015/uncategorised/296/expected.json | 136 ----- .../es2015/uncategorised/297/expected.json | 167 ------- .../es2015/uncategorised/332/expected.json | 162 ------ .../es2015/uncategorised/333/expected.json | 216 -------- .../es2015/uncategorised/334/expected.json | 128 ----- .../es2015/uncategorised/348/expected.json | 177 ------- .../es2015/uncategorised/349/expected.json | 174 ------- .../es2015/uncategorised/353/expected.json | 1 - .../dupe-param/expected.json | 151 ------ .../invalid-dup-param/expected.json | 183 ------- .../dupe-param-1/expected.json | 168 ------- .../dupe-param-2/expected.json | 183 ------- .../dupe-param-3/expected.json | 235 --------- .../patterned-catch-dupe/expected.json | 146 ------ .../invalid-param-strict-mode/expected.json | 134 ----- .../expected.json | 238 --------- .../expected.json | 168 ------- .../expected.json | 170 ------- .../invalid-proto-identifiers/expected.json | 167 ------- .../expected.json | 168 ------- .../expected.json | 172 ------- .../invalid-proto-literals/expected.json | 170 ------- .../expected.json | 255 ---------- .../expected.json | 170 ------- .../expected.json | 172 ------- .../invalid-proto-shorthands/expected.json | 168 ------- .../expected.json | 164 ------ .../expected.json | 134 ----- .../expected.json | 184 ------- .../expected.json | 149 ------ .../expected.json | 135 ----- .../expected.json | 117 ----- .../expected.json | 133 ----- .../expected.json | 148 ------ .../expected.json | 134 ----- .../expected.json | 150 ------ .../expected.json | 117 ----- .../migrated_0087/expected.json | 169 ------- .../migrated_0088/expected.json | 136 ----- .../migrated_0089/expected.json | 136 ----- .../migrated_0090/expected.json | 152 ------ .../migrated_0091/expected.json | 152 ------ .../migrated_0092/expected.json | 118 ----- .../migrated_0094/expected.json | 136 ----- .../migrated_0100/expected.json | 136 ----- .../migrated_0101/expected.json | 167 ------- .../migrated_0138/expected.json | 132 ----- .../migrated_0139/expected.json | 132 ----- .../migrated_0140/expected.json | 83 --- .../migrated_0183/expected.json | 186 ------- .../migrated_0184/expected.json | 184 ------- .../migrated_0185/expected.json | 186 ------- .../migrated_0186/expected.json | 186 ------- .../migrated_0187/expected.json | 201 -------- .../migrated_0188/expected.json | 201 -------- .../migrated_0189/expected.json | 184 ------- .../migrated_0190/expected.json | 184 ------- .../migrated_0191/expected.json | 167 ------- .../migrated_0192/expected.json | 167 ------- .../migrated_0193/expected.json | 167 ------- .../migrated_0194/expected.json | 167 ------- .../migrated_0195/expected.json | 167 ------- .../migrated_0196/expected.json | 167 ------- .../migrated_0197/expected.json | 167 ------- .../migrated_0198/expected.json | 167 ------- .../migrated_0199/expected.json | 170 ------- .../migrated_0200/expected.json | 170 ------- .../migrated_0201/expected.json | 117 ----- .../migrated_0202/expected.json | 117 ----- .../migrated_0203/expected.json | 204 -------- .../migrated_0204/expected.json | 204 -------- .../migrated_0205/expected.json | 149 ------ .../migrated_0206/expected.json | 149 ------ .../migrated_0207/expected.json | 240 --------- .../migrated_0208/expected.json | 149 ------ .../migrated_0209/expected.json | 295 ----------- .../migrated_0210/expected.json | 242 --------- .../migrated_0211/expected.json | 257 ---------- .../migrated_0212/expected.json | 134 ----- .../migrated_0213/expected.json | 134 ----- .../migrated_0214/expected.json | 187 ------- .../migrated_0215/expected.json | 187 ------- .../migrated_0216/expected.json | 99 ---- .../migrated_0217/expected.json | 150 ------ .../migrated_0218/expected.json | 152 ------ .../migrated_0219/expected.json | 209 -------- .../migrated_0220/expected.json | 209 -------- .../migrated_0221/expected.json | 150 ------ .../migrated_0222/expected.json | 183 ------- .../migrated_0223/expected.json | 203 -------- .../migrated_0224/expected.json | 169 ------- .../migrated_0225/expected.json | 169 ------- .../migrated_0226/expected.json | 169 ------- .../migrated_0227/expected.json | 169 ------- .../migrated_0228/expected.json | 169 ------- .../migrated_0229/expected.json | 169 ------- .../migrated_0230/expected.json | 169 ------- .../migrated_0231/expected.json | 169 ------- .../migrated_0233/expected.json | 134 ----- .../migrated_0234/expected.json | 117 ----- .../migrated_0235/expected.json | 134 ----- .../migrated_0236/expected.json | 134 ----- .../migrated_0238/expected.json | 83 --- .../migrated_0239/expected.json | 118 ----- .../migrated_0240/expected.json | 151 ------ .../migrated_0241/expected.json | 134 ----- .../migrated_0242/expected.json | 134 ----- .../migrated_0243/expected.json | 218 -------- .../migrated_0244/expected.json | 169 ------- .../migrated_0245/expected.json | 221 -------- .../migrated_0246/expected.json | 150 ------ .../migrated_0247/expected.json | 150 ------ .../migrated_0249/expected.json | 151 ------ .../migrated_0250/expected.json | 206 -------- .../migrated_0253/expected.json | 64 --- .../migrated_0270/expected.json | 151 ------ .../migrated_0271/expected.json | 153 ------ .../migrated_0278/expected.json | 151 ------ .../star/expected.json | 148 ------ test/utils/runFixtureTests.js | 6 +- 199 files changed, 5 insertions(+), 34058 deletions(-) delete mode 100644 test/fixtures/core/regression/T2921/expected.json delete mode 100644 test/fixtures/core/uncategorised/466/expected.json delete mode 100644 test/fixtures/core/uncategorised/467/expected.json delete mode 100644 test/fixtures/core/uncategorised/468/expected.json delete mode 100644 test/fixtures/core/uncategorised/469/expected.json delete mode 100644 test/fixtures/core/uncategorised/470/expected.json delete mode 100644 test/fixtures/core/uncategorised/471/expected.json delete mode 100644 test/fixtures/core/uncategorised/472/expected.json delete mode 100644 test/fixtures/core/uncategorised/473/expected.json delete mode 100644 test/fixtures/core/uncategorised/474/expected.json delete mode 100644 test/fixtures/core/uncategorised/475/expected.json delete mode 100644 test/fixtures/core/uncategorised/476/expected.json delete mode 100644 test/fixtures/core/uncategorised/477/expected.json delete mode 100644 test/fixtures/core/uncategorised/478/expected.json delete mode 100644 test/fixtures/core/uncategorised/479/expected.json delete mode 100644 test/fixtures/core/uncategorised/480/expected.json delete mode 100644 test/fixtures/core/uncategorised/481/expected.json delete mode 100644 test/fixtures/core/uncategorised/482/expected.json delete mode 100644 test/fixtures/core/uncategorised/483/expected.json delete mode 100644 test/fixtures/core/uncategorised/484/expected.json delete mode 100644 test/fixtures/core/uncategorised/485/expected.json delete mode 100644 test/fixtures/core/uncategorised/486/expected.json delete mode 100644 test/fixtures/core/uncategorised/487/expected.json delete mode 100644 test/fixtures/core/uncategorised/488/expected.json delete mode 100644 test/fixtures/core/uncategorised/489/expected.json delete mode 100644 test/fixtures/core/uncategorised/490/expected.json delete mode 100644 test/fixtures/core/uncategorised/491/expected.json delete mode 100644 test/fixtures/core/uncategorised/492/expected.json delete mode 100644 test/fixtures/core/uncategorised/493/expected.json delete mode 100644 test/fixtures/core/uncategorised/494/expected.json delete mode 100644 test/fixtures/core/uncategorised/495/expected.json delete mode 100644 test/fixtures/core/uncategorised/496/expected.json delete mode 100644 test/fixtures/core/uncategorised/497/expected.json delete mode 100644 test/fixtures/core/uncategorised/498/expected.json delete mode 100644 test/fixtures/core/uncategorised/499/expected.json delete mode 100644 test/fixtures/core/uncategorised/500/expected.json delete mode 100644 test/fixtures/core/uncategorised/501/expected.json delete mode 100644 test/fixtures/core/uncategorised/502/expected.json delete mode 100644 test/fixtures/core/uncategorised/503/expected.json delete mode 100644 test/fixtures/core/uncategorised/504/expected.json delete mode 100644 test/fixtures/core/uncategorised/505/expected.json delete mode 100644 test/fixtures/core/uncategorised/506/expected.json delete mode 100644 test/fixtures/core/uncategorised/507/expected.json delete mode 100644 test/fixtures/core/uncategorised/508/expected.json delete mode 100644 test/fixtures/core/uncategorised/509/expected.json delete mode 100644 test/fixtures/core/uncategorised/510/expected.json delete mode 100644 test/fixtures/core/uncategorised/511/expected.json delete mode 100644 test/fixtures/core/uncategorised/512/expected.json delete mode 100644 test/fixtures/core/uncategorised/513/expected.json delete mode 100644 test/fixtures/core/uncategorised/514/expected.json delete mode 100644 test/fixtures/core/uncategorised/515/expected.json delete mode 100644 test/fixtures/core/uncategorised/516/expected.json delete mode 100644 test/fixtures/core/uncategorised/517/expected.json delete mode 100644 test/fixtures/core/uncategorised/518/expected.json delete mode 100644 test/fixtures/core/uncategorised/519/expected.json delete mode 100644 test/fixtures/core/uncategorised/520/expected.json delete mode 100644 test/fixtures/core/uncategorised/521/expected.json delete mode 100644 test/fixtures/core/uncategorised/522/expected.json delete mode 100644 test/fixtures/core/uncategorised/536/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/167/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/168/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/171/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/172/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/174/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/175/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/180/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/181/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/227/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/228/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/242/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/243/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/244/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/245/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/246/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/247/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/249/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/280/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/281/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/289/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/296/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/297/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/332/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/333/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/334/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/348/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/349/expected.json delete mode 100644 test/fixtures/es2015/uncategorised/353/expected.json delete mode 100644 test/fixtures/esprima/declaration-function/dupe-param/expected.json delete mode 100644 test/fixtures/esprima/es2015-array-binding-pattern/invalid-dup-param/expected.json delete mode 100644 test/fixtures/esprima/es2015-array-pattern/dupe-param-1/expected.json delete mode 100644 test/fixtures/esprima/es2015-array-pattern/dupe-param-2/expected.json delete mode 100644 test/fixtures/esprima/es2015-array-pattern/dupe-param-3/expected.json delete mode 100644 test/fixtures/esprima/es2015-array-pattern/patterned-catch-dupe/expected.json delete mode 100644 test/fixtures/esprima/es2015-arrow-function/invalid-param-strict-mode/expected.json delete mode 100644 test/fixtures/esprima/es2015-object-initialiser/invalid-proto-getter-literal-identifier/expected.json delete mode 100644 test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-literal/expected.json delete mode 100644 test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-shorthand/expected.json delete mode 100644 test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifiers/expected.json delete mode 100644 test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-identifier/expected.json delete mode 100644 test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-shorthand/expected.json delete mode 100644 test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literals/expected.json delete mode 100644 test/fixtures/esprima/es2015-object-initialiser/invalid-proto-setter-literal-identifier/expected.json delete mode 100644 test/fixtures/esprima/es2015-object-initialiser/invalid-proto-shorthand-identifier/expected.json delete mode 100644 test/fixtures/esprima/es2015-object-initialiser/invalid-proto-shorthand-literal/expected.json delete mode 100644 test/fixtures/esprima/es2015-object-initialiser/invalid-proto-shorthands/expected.json delete mode 100644 test/fixtures/esprima/es2015-yield/invalid-yield-generator-catch/expected.json delete mode 100644 test/fixtures/esprima/es2015-yield/invalid-yield-generator-variable-declaration/expected.json delete mode 100644 test/fixtures/esprima/es2015-yield/invalid-yield-strict-binding-element/expected.json delete mode 100644 test/fixtures/esprima/es2015-yield/invalid-yield-strict-catch-parameter/expected.json delete mode 100644 test/fixtures/esprima/es2015-yield/invalid-yield-strict-formal-parameter/expected.json delete mode 100644 test/fixtures/esprima/es2015-yield/invalid-yield-strict-function-declaration/expected.json delete mode 100644 test/fixtures/esprima/es2015-yield/invalid-yield-strict-function-expression/expected.json delete mode 100644 test/fixtures/esprima/es2015-yield/invalid-yield-strict-identifier/expected.json delete mode 100644 test/fixtures/esprima/es2015-yield/invalid-yield-strict-lexical-declaration/expected.json delete mode 100644 test/fixtures/esprima/es2015-yield/invalid-yield-strict-rest-parameter/expected.json delete mode 100644 test/fixtures/esprima/es2015-yield/invalid-yield-strict-variable-declaration/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0087/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0088/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0089/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0090/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0091/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0092/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0094/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0100/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0101/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0138/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0139/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0140/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0183/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0184/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0185/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0186/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0187/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0188/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0189/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0190/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0191/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0192/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0193/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0194/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0195/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0196/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0197/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0198/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0199/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0200/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0201/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0202/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0203/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0204/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0205/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0206/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0207/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0208/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0209/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0210/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0211/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0212/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0213/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0214/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0215/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0216/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0217/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0218/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0219/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0220/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0221/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0222/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0223/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0224/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0225/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0226/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0227/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0228/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0229/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0230/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0231/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0233/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0234/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0235/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0236/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0238/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0239/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0240/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0241/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0242/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0243/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0244/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0245/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0246/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0247/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0249/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0250/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0253/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0270/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0271/expected.json delete mode 100644 test/fixtures/esprima/invalid-syntax/migrated_0278/expected.json delete mode 100644 test/fixtures/flow/type-parameter-declaration/star/expected.json diff --git a/test/fixtures/core/regression/T2921/expected.json b/test/fixtures/core/regression/T2921/expected.json deleted file mode 100644 index 9df924963b..0000000000 --- a/test/fixtures/core/regression/T2921/expected.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 8 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 8 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 8 - } - }, - "expression": { - "type": "BinaryExpression", - "start": 0, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "left": { - "type": "Identifier", - "start": 0, - "end": 1, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 1 - } - }, - "name": "a" - }, - "operator": "<==", - "right": { - "type": "Identifier", - "start": 6, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "name": "b" - } - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/466/expected.json b/test/fixtures/core/uncategorised/466/expected.json deleted file mode 100644 index 4888c9e77c..0000000000 --- a/test/fixtures/core/uncategorised/466/expected.json +++ /dev/null @@ -1,186 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 1, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 1, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 13, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 29, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "expression": { - "type": "UnaryExpression", - "start": 29, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "operator": "delete", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 36, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "name": "i" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 15, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 15, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - }, - "arguments": [], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/467/expected.json b/test/fixtures/core/uncategorised/467/expected.json deleted file mode 100644 index b5c7e063e3..0000000000 --- a/test/fixtures/core/uncategorised/467/expected.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 1, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 1, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 13, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "body": [ - { - "type": "WithStatement", - "start": 29, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 35, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "i" - }, - "body": { - "type": "EmptyStatement", - "start": 37, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 38 - } - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 15, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 15, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - }, - "arguments": [], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/468/expected.json b/test/fixtures/core/uncategorised/468/expected.json deleted file mode 100644 index 7616b5c4d0..0000000000 --- a/test/fixtures/core/uncategorised/468/expected.json +++ /dev/null @@ -1,186 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 32, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 36, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "id": { - "type": "Identifier", - "start": 36, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "name": "eval" - }, - "init": { - "type": "NumericLiteral", - "start": 43, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 43 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - } - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/469/expected.json b/test/fixtures/core/uncategorised/469/expected.json deleted file mode 100644 index 7c7fe68ad2..0000000000 --- a/test/fixtures/core/uncategorised/469/expected.json +++ /dev/null @@ -1,186 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 32, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 36, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "id": { - "type": "Identifier", - "start": 36, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "name": "arguments" - }, - "init": { - "type": "NumericLiteral", - "start": 48, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 48 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - } - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/470/expected.json b/test/fixtures/core/uncategorised/470/expected.json deleted file mode 100644 index 25732f3422..0000000000 --- a/test/fixtures/core/uncategorised/470/expected.json +++ /dev/null @@ -1,201 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "body": [ - { - "type": "TryStatement", - "start": 32, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "block": { - "type": "BlockStatement", - "start": 36, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "body": [], - "directives": [] - }, - "handler": { - "type": "CatchClause", - "start": 40, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "param": { - "type": "Identifier", - "start": 47, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "name": "eval" - }, - "body": { - "type": "BlockStatement", - "start": 53, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 53 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "body": [], - "directives": [] - } - }, - "guardedHandlers": [], - "finalizer": null - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/471/expected.json b/test/fixtures/core/uncategorised/471/expected.json deleted file mode 100644 index 14e6af099e..0000000000 --- a/test/fixtures/core/uncategorised/471/expected.json +++ /dev/null @@ -1,201 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "body": [ - { - "type": "TryStatement", - "start": 32, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "block": { - "type": "BlockStatement", - "start": 36, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "body": [], - "directives": [] - }, - "handler": { - "type": "CatchClause", - "start": 40, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "param": { - "type": "Identifier", - "start": 47, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "name": "arguments" - }, - "body": { - "type": "BlockStatement", - "start": 58, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 58 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "body": [], - "directives": [] - } - }, - "guardedHandlers": [], - "finalizer": null - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/472/expected.json b/test/fixtures/core/uncategorised/472/expected.json deleted file mode 100644 index 5096320c21..0000000000 --- a/test/fixtures/core/uncategorised/472/expected.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 32, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 32, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "eval" - }, - "right": { - "type": "NumericLiteral", - "start": 39, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 39 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/473/expected.json b/test/fixtures/core/uncategorised/473/expected.json deleted file mode 100644 index 6b52d892dd..0000000000 --- a/test/fixtures/core/uncategorised/473/expected.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 32, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 32, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "name": "arguments" - }, - "right": { - "type": "NumericLiteral", - "start": 44, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 44 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/474/expected.json b/test/fixtures/core/uncategorised/474/expected.json deleted file mode 100644 index 4a54d8d316..0000000000 --- a/test/fixtures/core/uncategorised/474/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "operator": "++", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 34, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "name": "eval" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/475/expected.json b/test/fixtures/core/uncategorised/475/expected.json deleted file mode 100644 index 0be9956ee7..0000000000 --- a/test/fixtures/core/uncategorised/475/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "operator": "--", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 34, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "name": "eval" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/476/expected.json b/test/fixtures/core/uncategorised/476/expected.json deleted file mode 100644 index 3d5a3384b2..0000000000 --- a/test/fixtures/core/uncategorised/476/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "operator": "++", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 34, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "name": "arguments" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/477/expected.json b/test/fixtures/core/uncategorised/477/expected.json deleted file mode 100644 index a129e39f7e..0000000000 --- a/test/fixtures/core/uncategorised/477/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "operator": "--", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 34, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "name": "arguments" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/478/expected.json b/test/fixtures/core/uncategorised/478/expected.json deleted file mode 100644 index 7c98807107..0000000000 --- a/test/fixtures/core/uncategorised/478/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 32, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "eval" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/479/expected.json b/test/fixtures/core/uncategorised/479/expected.json deleted file mode 100644 index 7db69736d2..0000000000 --- a/test/fixtures/core/uncategorised/479/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "operator": "--", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 32, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "eval" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/480/expected.json b/test/fixtures/core/uncategorised/480/expected.json deleted file mode 100644 index 029e95d4fd..0000000000 --- a/test/fixtures/core/uncategorised/480/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 32, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "name": "arguments" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/481/expected.json b/test/fixtures/core/uncategorised/481/expected.json deleted file mode 100644 index fc9fb9e66f..0000000000 --- a/test/fixtures/core/uncategorised/481/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "operator": "--", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 32, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "name": "arguments" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/482/expected.json b/test/fixtures/core/uncategorised/482/expected.json deleted file mode 100644 index 416268fca0..0000000000 --- a/test/fixtures/core/uncategorised/482/expected.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "body": [ - { - "type": "FunctionDeclaration", - "start": 32, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "id": { - "type": "Identifier", - "start": 41, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 41 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "name": "eval" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 48, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 48 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/483/expected.json b/test/fixtures/core/uncategorised/483/expected.json deleted file mode 100644 index aeae082c8b..0000000000 --- a/test/fixtures/core/uncategorised/483/expected.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "body": [ - { - "type": "FunctionDeclaration", - "start": 32, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "id": { - "type": "Identifier", - "start": 41, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 41 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "name": "arguments" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 53, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 53 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/484/expected.json b/test/fixtures/core/uncategorised/484/expected.json deleted file mode 100644 index c110e76a57..0000000000 --- a/test/fixtures/core/uncategorised/484/expected.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "name": "eval" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 16, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 17, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "expression": { - "type": "Literal", - "start": 17, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/485/expected.json b/test/fixtures/core/uncategorised/485/expected.json deleted file mode 100644 index 817f907aee..0000000000 --- a/test/fixtures/core/uncategorised/485/expected.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "name": "arguments" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 21, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 22, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "expression": { - "type": "Literal", - "start": 22, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/486/expected.json b/test/fixtures/core/uncategorised/486/expected.json deleted file mode 100644 index ae9e78153d..0000000000 --- a/test/fixtures/core/uncategorised/486/expected.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 55, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 55 - } - }, - "expression": { - "type": "CallExpression", - "start": 33, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 33, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "id": { - "type": "Identifier", - "start": 42, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "name": "eval" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 49, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 49 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "body": [], - "directives": [] - } - }, - "arguments": [], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/487/expected.json b/test/fixtures/core/uncategorised/487/expected.json deleted file mode 100644 index dc709c3172..0000000000 --- a/test/fixtures/core/uncategorised/487/expected.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 62, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 62 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 62, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 62 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 62, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 62 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 62, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 62 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 60, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 60 - } - }, - "expression": { - "type": "CallExpression", - "start": 33, - "end": 59, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 59 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 33, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "id": { - "type": "Identifier", - "start": 42, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "name": "arguments" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 54, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 54 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "body": [], - "directives": [] - } - }, - "arguments": [], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/488/expected.json b/test/fixtures/core/uncategorised/488/expected.json deleted file mode 100644 index 1a995ca123..0000000000 --- a/test/fixtures/core/uncategorised/488/expected.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "expression": { - "type": "CallExpression", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 1, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "eval" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "expression": { - "type": "Literal", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - }, - "parenthesizedExpression": true - }, - "arguments": [] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/489/expected.json b/test/fixtures/core/uncategorised/489/expected.json deleted file mode 100644 index 34984de2e0..0000000000 --- a/test/fixtures/core/uncategorised/489/expected.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "expression": { - "type": "CallExpression", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 1, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "arguments" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 22, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 23, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "expression": { - "type": "Literal", - "start": 23, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - }, - "parenthesizedExpression": true - }, - "arguments": [] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/490/expected.json b/test/fixtures/core/uncategorised/490/expected.json deleted file mode 100644 index f6abe3ed03..0000000000 --- a/test/fixtures/core/uncategorised/490/expected.json +++ /dev/null @@ -1,240 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 33, - "end": 59, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 59 - } - }, - "properties": [ - { - "type": "Property", - "start": 35, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 35, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "s" - }, - "value": { - "type": "FunctionExpression", - "start": 38, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 38 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "id": { - "type": "Identifier", - "start": 47, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "name": "eval" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 54, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 54 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "body": [], - "directives": [] - } - }, - "kind": "init" - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/491/expected.json b/test/fixtures/core/uncategorised/491/expected.json deleted file mode 100644 index d0765fadb6..0000000000 --- a/test/fixtures/core/uncategorised/491/expected.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "CallExpression", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 1, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "name": "package" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 20, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 21, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "expression": { - "type": "Literal", - "start": 21, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - }, - "parenthesizedExpression": true - }, - "arguments": [] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/492/expected.json b/test/fixtures/core/uncategorised/492/expected.json deleted file mode 100644 index 9abf715af6..0000000000 --- a/test/fixtures/core/uncategorised/492/expected.json +++ /dev/null @@ -1,295 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 33, - "end": 59, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 59 - } - }, - "properties": [ - { - "type": "Property", - "start": 35, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 35, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "i" - }, - "value": { - "type": "NumericLiteral", - "start": 38, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 38 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - }, - "kind": "init" - }, - { - "type": "Property", - "start": 42, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 46, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 46 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "name": "s" - }, - "kind": "set", - "value": { - "type": "FunctionExpression", - "start": 47, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 48, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 48 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 54, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 54 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "body": [], - "directives": [] - } - } - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/493/expected.json b/test/fixtures/core/uncategorised/493/expected.json deleted file mode 100644 index bebdcad342..0000000000 --- a/test/fixtures/core/uncategorised/493/expected.json +++ /dev/null @@ -1,242 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 33, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "properties": [ - { - "type": "Property", - "start": 35, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 39, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 39 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "name": "s" - }, - "kind": "set", - "value": { - "type": "FunctionExpression", - "start": 40, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 41, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 41 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 47, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "body": [], - "directives": [] - } - } - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/494/expected.json b/test/fixtures/core/uncategorised/494/expected.json deleted file mode 100644 index d098c6d058..0000000000 --- a/test/fixtures/core/uncategorised/494/expected.json +++ /dev/null @@ -1,257 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 64, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 64 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 64, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 64 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 64, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 64 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 64, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 64 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 62, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 62 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 33, - "end": 60, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 60 - } - }, - "properties": [ - { - "type": "Property", - "start": 35, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 35, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "s" - }, - "value": { - "type": "FunctionExpression", - "start": 38, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 38 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "id": { - "type": "Identifier", - "start": 47, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "name": "s" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 49, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 49 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 55, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 55 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "body": [], - "directives": [] - } - }, - "kind": "init" - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/495/expected.json b/test/fixtures/core/uncategorised/495/expected.json deleted file mode 100644 index 6aa54306ed..0000000000 --- a/test/fixtures/core/uncategorised/495/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 21, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 22, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "expression": { - "type": "Literal", - "start": 22, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/496/expected.json b/test/fixtures/core/uncategorised/496/expected.json deleted file mode 100644 index 5fbf9ec4b8..0000000000 --- a/test/fixtures/core/uncategorised/496/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "name": "arguments" - } - ], - "body": { - "type": "BlockStatement", - "start": 26, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 27, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "expression": { - "type": "Literal", - "start": 27, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/497/expected.json b/test/fixtures/core/uncategorised/497/expected.json deleted file mode 100644 index 8425a41fb7..0000000000 --- a/test/fixtures/core/uncategorised/497/expected.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "body": [ - { - "type": "FunctionDeclaration", - "start": 33, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "id": { - "type": "Identifier", - "start": 42, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "name": "inner" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 48, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 48 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 54, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 54 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/498/expected.json b/test/fixtures/core/uncategorised/498/expected.json deleted file mode 100644 index bab5d19160..0000000000 --- a/test/fixtures/core/uncategorised/498/expected.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "body": [ - { - "type": "FunctionDeclaration", - "start": 33, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "id": { - "type": "Identifier", - "start": 42, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "name": "inner" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 48, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 48 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "name": "arguments" - } - ], - "body": { - "type": "BlockStatement", - "start": 59, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 59 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/499/expected.json b/test/fixtures/core/uncategorised/499/expected.json deleted file mode 100644 index 53489fbf1c..0000000000 --- a/test/fixtures/core/uncategorised/499/expected.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "body": [], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - }, - { - "type": "Directive", - "start": 33, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 33, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "raw": "\"\\1\"", - "value": "\\1" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/500/expected.json b/test/fixtures/core/uncategorised/500/expected.json deleted file mode 100644 index d23924aa07..0000000000 --- a/test/fixtures/core/uncategorised/500/expected.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 33, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "expression": { - "type": "NumericLiteral", - "start": 33, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "value": 17, - "rawValue": 17, - "raw": "021" - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/501/expected.json b/test/fixtures/core/uncategorised/501/expected.json deleted file mode 100644 index 0f7be5add6..0000000000 --- a/test/fixtures/core/uncategorised/501/expected.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 33, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 34, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "properties": [ - { - "type": "Property", - "start": 36, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 36, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "value": "\u0001", - "rawValue": "\u0001", - "raw": "\"\\1\"" - }, - "value": { - "type": "NumericLiteral", - "start": 42, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - }, - "kind": "init" - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/502/expected.json b/test/fixtures/core/uncategorised/502/expected.json deleted file mode 100644 index 8bd74936f0..0000000000 --- a/test/fixtures/core/uncategorised/502/expected.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 33, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 34, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "properties": [ - { - "type": "Property", - "start": 36, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "NumericLiteral", - "start": 36, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "value": 17, - "rawValue": 17, - "raw": "021" - }, - "value": { - "type": "NumericLiteral", - "start": 41, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 41 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - }, - "kind": "init" - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/503/expected.json b/test/fixtures/core/uncategorised/503/expected.json deleted file mode 100644 index 9f10388176..0000000000 --- a/test/fixtures/core/uncategorised/503/expected.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 76, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 76 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 76, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 76 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 76, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 76 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 76, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 76 - } - }, - "body": [ - { - "type": "FunctionDeclaration", - "start": 33, - "end": 74, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 74 - } - }, - "id": { - "type": "Identifier", - "start": 42, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "name": "inner" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 50, - "end": 74, - "loc": { - "start": { - "line": 1, - "column": 50 - }, - "end": { - "line": 1, - "column": 74 - } - }, - "body": [], - "directives": [ - { - "type": "Directive", - "start": 52, - "end": 72, - "loc": { - "start": { - "line": 1, - "column": 52 - }, - "end": { - "line": 1, - "column": 72 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 52, - "end": 71, - "loc": { - "start": { - "line": 1, - "column": 52 - }, - "end": { - "line": 1, - "column": 71 - } - }, - "raw": "\"octal directive\\1\"", - "value": "octal directive\\1" - } - } - ] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/504/expected.json b/test/fixtures/core/uncategorised/504/expected.json deleted file mode 100644 index 9e81efccd6..0000000000 --- a/test/fixtures/core/uncategorised/504/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "name": "implements" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/505/expected.json b/test/fixtures/core/uncategorised/505/expected.json deleted file mode 100644 index 09c95282b4..0000000000 --- a/test/fixtures/core/uncategorised/505/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "name": "interface" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/506/expected.json b/test/fixtures/core/uncategorised/506/expected.json deleted file mode 100644 index b5b1bf5fba..0000000000 --- a/test/fixtures/core/uncategorised/506/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "name": "package" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/507/expected.json b/test/fixtures/core/uncategorised/507/expected.json deleted file mode 100644 index bb397becf0..0000000000 --- a/test/fixtures/core/uncategorised/507/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "name": "private" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/508/expected.json b/test/fixtures/core/uncategorised/508/expected.json deleted file mode 100644 index 14ef8d4896..0000000000 --- a/test/fixtures/core/uncategorised/508/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "name": "protected" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/509/expected.json b/test/fixtures/core/uncategorised/509/expected.json deleted file mode 100644 index e6e08fbf57..0000000000 --- a/test/fixtures/core/uncategorised/509/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "name": "public" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/510/expected.json b/test/fixtures/core/uncategorised/510/expected.json deleted file mode 100644 index a8f07d2a1b..0000000000 --- a/test/fixtures/core/uncategorised/510/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "name": "static" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/511/expected.json b/test/fixtures/core/uncategorised/511/expected.json deleted file mode 100644 index 9454908513..0000000000 --- a/test/fixtures/core/uncategorised/511/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 21 - } - }, - "name": "static" - } - ], - "body": { - "type": "BlockStatement", - "start": 23, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 25, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "expression": { - "type": "Literal", - "start": 25, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/512/expected.json b/test/fixtures/core/uncategorised/512/expected.json deleted file mode 100644 index 42dbd8e915..0000000000 --- a/test/fixtures/core/uncategorised/512/expected.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "name": "static" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 18, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 20, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "expression": { - "type": "Literal", - "start": 20, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/513/expected.json b/test/fixtures/core/uncategorised/513/expected.json deleted file mode 100644 index e019755823..0000000000 --- a/test/fixtures/core/uncategorised/513/expected.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 14, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 23, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "name": "static" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 32, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/514/expected.json b/test/fixtures/core/uncategorised/514/expected.json deleted file mode 100644 index 51085f798f..0000000000 --- a/test/fixtures/core/uncategorised/514/expected.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 11, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 11 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "t" - }, - { - "type": "Identifier", - "start": 14, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "name": "t" - } - ], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "body": [], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/515/expected.json b/test/fixtures/core/uncategorised/515/expected.json deleted file mode 100644 index 14824eac9f..0000000000 --- a/test/fixtures/core/uncategorised/515/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 11, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 11 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "expression": { - "type": "Literal", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/516/expected.json b/test/fixtures/core/uncategorised/516/expected.json deleted file mode 100644 index b18233c76a..0000000000 --- a/test/fixtures/core/uncategorised/516/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 11, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 11 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "name": "package" - } - ], - "body": { - "type": "BlockStatement", - "start": 20, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 22, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "expression": { - "type": "Literal", - "start": 22, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/517/expected.json b/test/fixtures/core/uncategorised/517/expected.json deleted file mode 100644 index 97c6620ab1..0000000000 --- a/test/fixtures/core/uncategorised/517/expected.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 13, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "body": [ - { - "type": "FunctionDeclaration", - "start": 29, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 38, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 38 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "name": "b" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 40, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "name": "t" - }, - { - "type": "Identifier", - "start": 43, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 43 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "name": "t" - } - ], - "body": { - "type": "BlockStatement", - "start": 46, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 46 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "body": [], - "directives": [] - } - }, - { - "type": "EmptyStatement", - "start": 49, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 49 - }, - "end": { - "line": 1, - "column": 50 - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 15, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 15, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/518/expected.json b/test/fixtures/core/uncategorised/518/expected.json deleted file mode 100644 index 6b5bcf5c66..0000000000 --- a/test/fixtures/core/uncategorised/518/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "expression": { - "type": "FunctionExpression", - "start": 1, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 11 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 12, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "name": "t" - }, - { - "type": "Identifier", - "start": 15, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "name": "t" - } - ], - "body": { - "type": "BlockStatement", - "start": 18, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "body": [], - "directives": [ - { - "type": "Directive", - "start": 20, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 20, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - }, - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/519/expected.json b/test/fixtures/core/uncategorised/519/expected.json deleted file mode 100644 index 636e4bc049..0000000000 --- a/test/fixtures/core/uncategorised/519/expected.json +++ /dev/null @@ -1,221 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 13, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 29, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "expression": { - "type": "FunctionExpression", - "start": 30, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "id": { - "type": "Identifier", - "start": 39, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 39 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "name": "b" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 41 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "name": "t" - }, - { - "type": "Identifier", - "start": 44, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 44 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "name": "t" - } - ], - "body": { - "type": "BlockStatement", - "start": 47, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "body": [], - "directives": [] - }, - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 15, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 15, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/520/expected.json b/test/fixtures/core/uncategorised/520/expected.json deleted file mode 100644 index a4e3e8cbd5..0000000000 --- a/test/fixtures/core/uncategorised/520/expected.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "expression": { - "type": "FunctionExpression", - "start": 1, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 11 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 12, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 18, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 20, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "expression": { - "type": "Literal", - "start": 20, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - }, - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/521/expected.json b/test/fixtures/core/uncategorised/521/expected.json deleted file mode 100644 index 63264f0559..0000000000 --- a/test/fixtures/core/uncategorised/521/expected.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "FunctionExpression", - "start": 1, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 11 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "package" - } - ], - "body": { - "type": "BlockStatement", - "start": 21, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 23, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "expression": { - "type": "Literal", - "start": 23, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - }, - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/522/expected.json b/test/fixtures/core/uncategorised/522/expected.json deleted file mode 100644 index f4c5357419..0000000000 --- a/test/fixtures/core/uncategorised/522/expected.json +++ /dev/null @@ -1,270 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 69, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 69 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 69, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 69 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 13, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "id": { - "type": "Identifier", - "start": 22, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "name": "foo" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 27, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "body": [], - "directives": [ - { - "type": "Directive", - "start": 28, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 28 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 28, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 28 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - }, - { - "type": "FunctionDeclaration", - "start": 42, - "end": 69, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 69 - } - }, - "id": { - "type": "Identifier", - "start": 51, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 51 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "name": "bar" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 56, - "end": 69, - "loc": { - "start": { - "line": 1, - "column": 56 - }, - "end": { - "line": 1, - "column": 69 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 57, - "end": 68, - "loc": { - "start": { - "line": 1, - "column": 57 - }, - "end": { - "line": 1, - "column": 68 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 61, - "end": 68, - "loc": { - "start": { - "line": 1, - "column": 61 - }, - "end": { - "line": 1, - "column": 68 - } - }, - "id": { - "type": "Identifier", - "start": 61, - "end": 62, - "loc": { - "start": { - "line": 1, - "column": 61 - }, - "end": { - "line": 1, - "column": 62 - } - }, - "name": "v" - }, - "init": { - "type": "NumericLiteral", - "start": 65, - "end": 68, - "loc": { - "start": { - "line": 1, - "column": 65 - }, - "end": { - "line": 1, - "column": 68 - } - }, - "value": 13, - "rawValue": 13, - "raw": "015" - } - } - ], - "kind": "var" - } - ], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/core/uncategorised/536/expected.json b/test/fixtures/core/uncategorised/536/expected.json deleted file mode 100644 index 050ac2d8b2..0000000000 --- a/test/fixtures/core/uncategorised/536/expected.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 8 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 8 - } - }, - "sourceType": "script", - "body": [ - { - "type": "VariableDeclaration", - "start": 0, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 8 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 6, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "id": { - "type": "Identifier", - "start": 6, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "name": "a" - }, - "init": null - } - ], - "kind": "var" - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/167/expected.json b/test/fixtures/es2015/uncategorised/167/expected.json deleted file mode 100644 index b0298f2072..0000000000 --- a/test/fixtures/es2015/uncategorised/167/expected.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "x" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "RestElement", - "start": 11, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 11 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "argument": { - "type": "ArrayPattern", - "start": 14, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 16, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 19, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 20 - } - }, - "name": "b" - } - ] - } - } - ], - "body": { - "type": "BlockStatement", - "start": 23, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "body": [] - } - } - ] - }, - "comments": [] -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/168/expected.json b/test/fixtures/es2015/uncategorised/168/expected.json deleted file mode 100644 index b07fc54644..0000000000 --- a/test/fixtures/es2015/uncategorised/168/expected.json +++ /dev/null @@ -1,420 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "x" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "ObjectPattern", - "start": 11, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 11 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "properties": [ - { - "type": "Property", - "start": 13, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 13, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "a" - }, - "value": { - "type": "ObjectPattern", - "start": 16, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "properties": [ - { - "type": "Property", - "start": 18, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 18, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "w" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 18, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "w" - } - }, - { - "type": "Property", - "start": 21, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 21, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "name": "x" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 21, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "name": "x" - } - } - ] - }, - "kind": "init" - }, - { - "type": "Property", - "start": 26, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 26, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "name": "b" - }, - "value": { - "type": "ArrayPattern", - "start": 29, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "name": "y" - }, - { - "type": "Identifier", - "start": 33, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "name": "z" - } - ] - }, - "kind": "init" - } - ] - }, - { - "type": "RestElement", - "start": 39, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 39 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "argument": { - "type": "ArrayPattern", - "start": 42, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 43, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 43 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 46, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 46 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "name": "b" - }, - { - "type": "Identifier", - "start": 49, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 49 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "name": "c" - } - ] - } - } - ], - "body": { - "type": "BlockStatement", - "start": 52, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 52 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "body": [] - } - } - ] - }, - "comments": [] -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/171/expected.json b/test/fixtures/es2015/uncategorised/171/expected.json deleted file mode 100644 index 834acd8bfe..0000000000 --- a/test/fixtures/es2015/uncategorised/171/expected.json +++ /dev/null @@ -1,165 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "expression": { - "type": "FunctionExpression", - "start": 1, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 11 - } - }, - "name": "x" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "RestElement", - "start": 12, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "argument": { - "type": "ArrayPattern", - "start": 15, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 17, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 20, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 21 - } - }, - "name": "b" - } - ] - } - } - ], - "body": { - "type": "BlockStatement", - "start": 24, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "body": [] - }, - "parenthesizedExpression": true - } - } - ] - }, - "comments": [] -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/172/expected.json b/test/fixtures/es2015/uncategorised/172/expected.json deleted file mode 100644 index 82b82246ff..0000000000 --- a/test/fixtures/es2015/uncategorised/172/expected.json +++ /dev/null @@ -1,436 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "expression": { - "type": "FunctionExpression", - "start": 1, - "end": 55, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 55 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 11 - } - }, - "name": "x" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "ObjectPattern", - "start": 12, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "properties": [ - { - "type": "Property", - "start": 14, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 14, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "name": "a" - }, - "value": { - "type": "ObjectPattern", - "start": 17, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "properties": [ - { - "type": "Property", - "start": 19, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 20 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 19, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 20 - } - }, - "name": "w" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 19, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 20 - } - }, - "name": "w" - } - }, - { - "type": "Property", - "start": 22, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 22, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "name": "x" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 22, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "name": "x" - } - } - ] - }, - "kind": "init" - }, - { - "type": "Property", - "start": 27, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 27, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "name": "b" - }, - "value": { - "type": "ArrayPattern", - "start": 30, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 31, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 31 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "name": "y" - }, - { - "type": "Identifier", - "start": 34, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "name": "z" - } - ] - }, - "kind": "init" - } - ] - }, - { - "type": "RestElement", - "start": 40, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "argument": { - "type": "ArrayPattern", - "start": 43, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 43 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 44, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 44 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 47, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "name": "b" - }, - { - "type": "Identifier", - "start": 50, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 50 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "name": "c" - } - ] - } - } - ], - "body": { - "type": "BlockStatement", - "start": 53, - "end": 55, - "loc": { - "start": { - "line": 1, - "column": 53 - }, - "end": { - "line": 1, - "column": 55 - } - }, - "body": [] - }, - "parenthesizedExpression": true - } - } - ] - }, - "comments": [] -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/174/expected.json b/test/fixtures/es2015/uncategorised/174/expected.json deleted file mode 100644 index cf763cceac..0000000000 --- a/test/fixtures/es2015/uncategorised/174/expected.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 21 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "method": true, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3, - "end": 4, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 4 - } - }, - "name": "x" - }, - "kind": "init", - "value": { - "type": "FunctionExpression", - "start": 4, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 4 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "RestElement", - "start": 5, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 5 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "argument": { - "type": "ArrayPattern", - "start": 8, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 8 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 10, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 11 - } - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 13, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "b" - } - ] - } - } - ], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "body": [] - } - } - } - ], - "parenthesizedExpression": true - } - } - ] - }, - "comments": [] -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/175/expected.json b/test/fixtures/es2015/uncategorised/175/expected.json deleted file mode 100644 index 27674eb5f7..0000000000 --- a/test/fixtures/es2015/uncategorised/175/expected.json +++ /dev/null @@ -1,473 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "method": true, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3, - "end": 4, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 4 - } - }, - "name": "x" - }, - "kind": "init", - "value": { - "type": "FunctionExpression", - "start": 4, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 4 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "ObjectPattern", - "start": 5, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 5 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "properties": [ - { - "type": "Property", - "start": 7, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - }, - "name": "a" - }, - "value": { - "type": "ObjectPattern", - "start": 10, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "properties": [ - { - "type": "Property", - "start": 12, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 12, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "name": "w" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 12, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "name": "w" - } - }, - { - "type": "Property", - "start": 15, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 15, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "name": "x" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 15, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "name": "x" - } - } - ] - }, - "kind": "init" - }, - { - "type": "Property", - "start": 20, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 20, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 21 - } - }, - "name": "b" - }, - "value": { - "type": "ArrayPattern", - "start": 23, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 24, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "name": "y" - }, - { - "type": "Identifier", - "start": 27, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "name": "z" - } - ] - }, - "kind": "init" - } - ] - }, - { - "type": "RestElement", - "start": 33, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "argument": { - "type": "ArrayPattern", - "start": 36, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 37, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 40, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "name": "b" - }, - { - "type": "Identifier", - "start": 43, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 43 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "name": "c" - } - ] - } - } - ], - "body": { - "type": "BlockStatement", - "start": 46, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 46 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "body": [] - } - } - } - ], - "parenthesizedExpression": true - } - } - ] - }, - "comments": [] -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/180/expected.json b/test/fixtures/es2015/uncategorised/180/expected.json deleted file mode 100644 index 56845a6f74..0000000000 --- a/test/fixtures/es2015/uncategorised/180/expected.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 0, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "RestElement", - "start": 1, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "argument": { - "type": "ArrayPattern", - "start": 4, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 4 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 5, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 5 - }, - "end": { - "line": 1, - "column": 6 - } - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 8, - "end": 9, - "loc": { - "start": { - "line": 1, - "column": 8 - }, - "end": { - "line": 1, - "column": 9 - } - }, - "name": "b" - } - ] - } - } - ], - "body": { - "type": "BlockStatement", - "start": 15, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "body": [] - } - } - } - ] - }, - "comments": [] -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/181/expected.json b/test/fixtures/es2015/uncategorised/181/expected.json deleted file mode 100644 index ef57adb398..0000000000 --- a/test/fixtures/es2015/uncategorised/181/expected.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 0, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 1, - "end": 2, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 2 - } - }, - "name": "a" - }, - { - "type": "RestElement", - "start": 4, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 4 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "argument": { - "type": "ArrayPattern", - "start": 7, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 8, - "end": 9, - "loc": { - "start": { - "line": 1, - "column": 8 - }, - "end": { - "line": 1, - "column": 9 - } - }, - "name": "b" - } - ] - } - } - ], - "body": { - "type": "BlockStatement", - "start": 15, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "body": [] - } - } - } - ] - }, - "comments": [] -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/227/expected.json b/test/fixtures/es2015/uncategorised/227/expected.json deleted file mode 100644 index a1b9463810..0000000000 --- a/test/fixtures/es2015/uncategorised/227/expected.json +++ /dev/null @@ -1,295 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 59, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 59 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 59, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 59 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 59, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 59 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 59, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 59 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 33, - "end": 55, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 55 - } - }, - "properties": [ - { - "type": "Property", - "start": 35, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 35, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "i" - }, - "value": { - "type": "NumericLiteral", - "start": 38, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 38 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - }, - "kind": "init" - }, - { - "type": "Property", - "start": 42, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "method": true, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 42, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "name": "s" - }, - "kind": "init", - "value": { - "type": "FunctionExpression", - "start": 43, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 43 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 44, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 44 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 50, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 50 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "body": [], - "directives": [] - } - } - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/228/expected.json b/test/fixtures/es2015/uncategorised/228/expected.json deleted file mode 100644 index ce7968931a..0000000000 --- a/test/fixtures/es2015/uncategorised/228/expected.json +++ /dev/null @@ -1,258 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 13, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 29, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 30, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "properties": [ - { - "type": "Property", - "start": 32, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "method": true, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "name": "b" - }, - "kind": "init", - "value": { - "type": "FunctionExpression", - "start": 33, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 34, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "name": "t" - }, - { - "type": "Identifier", - "start": 37, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "name": "t" - } - ], - "body": { - "type": "BlockStatement", - "start": 40, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "body": [], - "directives": [] - } - } - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 15, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 15, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/242/expected.json b/test/fixtures/es2015/uncategorised/242/expected.json deleted file mode 100644 index 4d59caecab..0000000000 --- a/test/fixtures/es2015/uncategorised/242/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "AssignmentPattern", - "start": 15, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "left": { - "type": "Identifier", - "start": 15, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "eval" - }, - "right": { - "type": "NumericLiteral", - "start": 22, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - } - } - ], - "body": { - "type": "NumericLiteral", - "start": 29, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/243/expected.json b/test/fixtures/es2015/uncategorised/243/expected.json deleted file mode 100644 index 19770d930b..0000000000 --- a/test/fixtures/es2015/uncategorised/243/expected.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 14, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "name": "eval" - } - ], - "body": { - "type": "NumericLiteral", - "start": 22, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/244/expected.json b/test/fixtures/es2015/uncategorised/244/expected.json deleted file mode 100644 index 419236f394..0000000000 --- a/test/fixtures/es2015/uncategorised/244/expected.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 14, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "name": "arguments" - } - ], - "body": { - "type": "NumericLiteral", - "start": 27, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/245/expected.json b/test/fixtures/es2015/uncategorised/245/expected.json deleted file mode 100644 index 799a255d29..0000000000 --- a/test/fixtures/es2015/uncategorised/245/expected.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "eval" - }, - { - "type": "Identifier", - "start": 21, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "name": "a" - } - ], - "body": { - "type": "NumericLiteral", - "start": 27, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/246/expected.json b/test/fixtures/es2015/uncategorised/246/expected.json deleted file mode 100644 index 99a2be70b2..0000000000 --- a/test/fixtures/es2015/uncategorised/246/expected.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "name": "arguments" - }, - { - "type": "Identifier", - "start": 26, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "name": "a" - } - ], - "body": { - "type": "NumericLiteral", - "start": 32, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/247/expected.json b/test/fixtures/es2015/uncategorised/247/expected.json deleted file mode 100644 index 96a6db7cc4..0000000000 --- a/test/fixtures/es2015/uncategorised/247/expected.json +++ /dev/null @@ -1,185 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "eval" - }, - { - "type": "AssignmentPattern", - "start": 21, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "left": { - "type": "Identifier", - "start": 21, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "name": "a" - }, - "right": { - "type": "NumericLiteral", - "start": 25, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - } - } - ], - "body": { - "type": "NumericLiteral", - "start": 32, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/249/expected.json b/test/fixtures/es2015/uncategorised/249/expected.json deleted file mode 100644 index 46e767a89a..0000000000 --- a/test/fixtures/es2015/uncategorised/249/expected.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "name": "a" - } - ], - "body": { - "type": "NumericLiteral", - "start": 21, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "value": 0, - "rawValue": 0, - "raw": "00" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/280/expected.json b/test/fixtures/es2015/uncategorised/280/expected.json deleted file mode 100644 index a001a84bd3..0000000000 --- a/test/fixtures/es2015/uncategorised/280/expected.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 14, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "id": { - "type": "Identifier", - "start": 23, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "name": "x" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 25, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "name": "a" - }, - { - "type": "ObjectPattern", - "start": 28, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 28 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "properties": [ - { - "type": "Property", - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "name": "a" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "name": "a" - } - } - ] - } - ], - "body": { - "type": "BlockStatement", - "start": 34, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/281/expected.json b/test/fixtures/es2015/uncategorised/281/expected.json deleted file mode 100644 index 8976155772..0000000000 --- a/test/fixtures/es2015/uncategorised/281/expected.json +++ /dev/null @@ -1,376 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 14, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "id": { - "type": "Identifier", - "start": 23, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "name": "x" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "ObjectPattern", - "start": 25, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "properties": [ - { - "type": "Property", - "start": 27, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 27, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "name": "b" - }, - "value": { - "type": "ObjectPattern", - "start": 30, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "properties": [ - { - "type": "Property", - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "name": "a" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 32, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "name": "a" - } - } - ] - }, - "kind": "init" - } - ] - }, - { - "type": "ArrayPattern", - "start": 39, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 39 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "elements": [ - { - "type": "ObjectPattern", - "start": 40, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "properties": [ - { - "type": "Property", - "start": 42, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 42, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "name": "b" - }, - "value": { - "type": "ObjectPattern", - "start": 45, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 45 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "properties": [ - { - "type": "Property", - "start": 47, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 47, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "name": "a" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 47, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "name": "a" - } - } - ] - }, - "kind": "init" - } - ] - } - ] - } - ], - "body": { - "type": "BlockStatement", - "start": 54, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 54 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/289/expected.json b/test/fixtures/es2015/uncategorised/289/expected.json deleted file mode 100644 index 6db69cefb7..0000000000 --- a/test/fixtures/es2015/uncategorised/289/expected.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "method": true, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3, - "end": 4, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 4 - } - }, - "name": "t" - }, - "kind": "init", - "value": { - "type": "FunctionExpression", - "start": 4, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 4 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 5, - "end": 9, - "loc": { - "start": { - "line": 1, - "column": 5 - }, - "end": { - "line": 1, - "column": 9 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 11, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 11 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 13, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "expression": { - "type": "Literal", - "start": 13, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - } - ], - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/296/expected.json b/test/fixtures/es2015/uncategorised/296/expected.json deleted file mode 100644 index 4846928444..0000000000 --- a/test/fixtures/es2015/uncategorised/296/expected.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "eval" - } - ], - "body": { - "type": "NumericLiteral", - "start": 24, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/297/expected.json b/test/fixtures/es2015/uncategorised/297/expected.json deleted file mode 100644 index 338190dde1..0000000000 --- a/test/fixtures/es2015/uncategorised/297/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 1, - "end": 5, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 5 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 10, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 12, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "expression": { - "type": "Literal", - "start": 12, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - }, - { - "type": "ExpressionStatement", - "start": 26, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "expression": { - "type": "Literal", - "start": 26, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - ] - } - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/332/expected.json b/test/fixtures/es2015/uncategorised/332/expected.json deleted file mode 100644 index 841701d361..0000000000 --- a/test/fixtures/es2015/uncategorised/332/expected.json +++ /dev/null @@ -1,162 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 14, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "operator": "=", - "left": { - "type": "ArrayPattern", - "start": 14, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "elements": [ - { - "type": "RestElement", - "start": 15, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "argument": { - "type": "Identifier", - "start": 18, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "name": "eval" - } - } - ] - }, - "right": { - "type": "Identifier", - "start": 26, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "name": "arr" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/333/expected.json b/test/fixtures/es2015/uncategorised/333/expected.json deleted file mode 100644 index beb769433c..0000000000 --- a/test/fixtures/es2015/uncategorised/333/expected.json +++ /dev/null @@ -1,216 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 15, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "operator": "=", - "left": { - "type": "ObjectPattern", - "start": 15, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "properties": [ - { - "type": "Property", - "start": 16, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 16, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 20 - } - }, - "name": "eval" - }, - "kind": "init", - "value": { - "type": "AssignmentPattern", - "start": 16, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "left": { - "type": "Identifier", - "start": 16, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 20 - } - }, - "name": "eval" - }, - "right": { - "type": "Identifier", - "start": 23, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "name": "defValue" - } - } - } - ] - }, - "right": { - "type": "Identifier", - "start": 35, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "name": "obj" - }, - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/334/expected.json b/test/fixtures/es2015/uncategorised/334/expected.json deleted file mode 100644 index 7b7e0ac66d..0000000000 --- a/test/fixtures/es2015/uncategorised/334/expected.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 0, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "operator": "=", - "left": { - "type": "ArrayPattern", - "start": 0, - "end": 9, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 9 - } - }, - "elements": [ - { - "type": "RestElement", - "start": 1, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 8 - } - }, - "argument": { - "type": "Identifier", - "start": 4, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 4 - }, - "end": { - "line": 1, - "column": 8 - } - }, - "name": "eval" - } - } - ] - }, - "right": { - "type": "Identifier", - "start": 12, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "name": "arr" - } - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/348/expected.json b/test/fixtures/es2015/uncategorised/348/expected.json deleted file mode 100644 index 13c61354ae..0000000000 --- a/test/fixtures/es2015/uncategorised/348/expected.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 3, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "__proto__" - }, - "value": { - "type": "NumericLiteral", - "start": 14, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - { - "type": "ObjectProperty", - "start": 17, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 17, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "name": "__proto__" - }, - "value": { - "type": "NumericLiteral", - "start": 28, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 28 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/349/expected.json b/test/fixtures/es2015/uncategorised/349/expected.json deleted file mode 100644 index dab5700b94..0000000000 --- a/test/fixtures/es2015/uncategorised/349/expected.json +++ /dev/null @@ -1,174 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 3, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "value": "__proto__", - "rawValue": "__proto__", - "raw": "'__proto__'" - }, - "value": { - "type": "NumericLiteral", - "start": 16, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "value": 1, - "rawValue": 1, - "raw": "1" - }, - "kind": "init" - }, - { - "type": "Property", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 19, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "name": "__proto__" - }, - "value": { - "type": "NumericLiteral", - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": 2, - "rawValue": 2, - "raw": "2" - }, - "kind": "init" - } - ], - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/es2015/uncategorised/353/expected.json b/test/fixtures/es2015/uncategorised/353/expected.json deleted file mode 100644 index 9e26dfeeb6..0000000000 --- a/test/fixtures/es2015/uncategorised/353/expected.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/test/fixtures/esprima/declaration-function/dupe-param/expected.json b/test/fixtures/esprima/declaration-function/dupe-param/expected.json deleted file mode 100644 index 80306b8cba..0000000000 --- a/test/fixtures/esprima/declaration-function/dupe-param/expected.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 11, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 11 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "x" - }, - { - "type": "Identifier", - "start": 14, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "name": "x" - } - ], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "body": [], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-array-binding-pattern/invalid-dup-param/expected.json b/test/fixtures/esprima/es2015-array-binding-pattern/invalid-dup-param/expected.json deleted file mode 100644 index 73fc92e40b..0000000000 --- a/test/fixtures/esprima/es2015-array-binding-pattern/invalid-dup-param/expected.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 0, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "ArrayPattern", - "start": 1, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 2, - "end": 3, - "loc": { - "start": { - "line": 1, - "column": 2 - }, - "end": { - "line": 1, - "column": 3 - } - }, - "name": "a" - }, - { - "type": "ArrayPattern", - "start": 4, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 4 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 5, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 5 - }, - "end": { - "line": 1, - "column": 6 - } - }, - "name": "b" - } - ] - }, - { - "type": "RestElement", - "start": 8, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 8 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "argument": { - "type": "Identifier", - "start": 11, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 11 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "b" - } - } - ] - } - ], - "body": { - "type": "Literal", - "start": 16, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "value": 0, - "rawValue": 0, - "raw": "0" - } - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-array-pattern/dupe-param-1/expected.json b/test/fixtures/esprima/es2015-array-pattern/dupe-param-1/expected.json deleted file mode 100644 index 65f0476c0e..0000000000 --- a/test/fixtures/esprima/es2015-array-pattern/dupe-param-1/expected.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 2, - "column": 20 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 2, - "column": 20 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 14, - "end": 34, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 20 - } - }, - "id": { - "type": "Identifier", - "start": 23, - "end": 24, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "ArrayPattern", - "start": 25, - "end": 30, - "loc": { - "start": { - "line": 2, - "column": 11 - }, - "end": { - "line": 2, - "column": 16 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 26, - "end": 27, - "loc": { - "start": { - "line": 2, - "column": 12 - }, - "end": { - "line": 2, - "column": 13 - } - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 28, - "end": 29, - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "name": "a" - } - ] - } - ], - "body": { - "type": "BlockStatement", - "start": 31, - "end": 34, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 20 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-array-pattern/dupe-param-2/expected.json b/test/fixtures/esprima/es2015-array-pattern/dupe-param-2/expected.json deleted file mode 100644 index 3497e91ca6..0000000000 --- a/test/fixtures/esprima/es2015-array-pattern/dupe-param-2/expected.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 2, - "column": 23 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 2, - "column": 23 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 14, - "end": 37, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 23 - } - }, - "id": { - "type": "Identifier", - "start": 23, - "end": 24, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "ArrayPattern", - "start": 25, - "end": 33, - "loc": { - "start": { - "line": 2, - "column": 11 - }, - "end": { - "line": 2, - "column": 19 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 26, - "end": 27, - "loc": { - "start": { - "line": 2, - "column": 12 - }, - "end": { - "line": 2, - "column": 13 - } - }, - "name": "a" - }, - { - "type": "RestElement", - "start": 28, - "end": 32, - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 18 - } - }, - "argument": { - "type": "Identifier", - "start": 31, - "end": 32, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 18 - } - }, - "name": "a" - } - } - ] - } - ], - "body": { - "type": "BlockStatement", - "start": 34, - "end": 37, - "loc": { - "start": { - "line": 2, - "column": 20 - }, - "end": { - "line": 2, - "column": 23 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-array-pattern/dupe-param-3/expected.json b/test/fixtures/esprima/es2015-array-pattern/dupe-param-3/expected.json deleted file mode 100644 index 89963bdc09..0000000000 --- a/test/fixtures/esprima/es2015-array-pattern/dupe-param-3/expected.json +++ /dev/null @@ -1,235 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 2, - "column": 25 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 2, - "column": 25 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 14, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 25 - } - }, - "id": { - "type": "Identifier", - "start": 23, - "end": 24, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "ArrayPattern", - "start": 25, - "end": 35, - "loc": { - "start": { - "line": 2, - "column": 11 - }, - "end": { - "line": 2, - "column": 21 - } - }, - "elements": [ - { - "type": "ObjectPattern", - "start": 26, - "end": 29, - "loc": { - "start": { - "line": 2, - "column": 12 - }, - "end": { - "line": 2, - "column": 15 - } - }, - "properties": [ - { - "type": "Property", - "start": 27, - "end": 28, - "loc": { - "start": { - "line": 2, - "column": 13 - }, - "end": { - "line": 2, - "column": 14 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 27, - "end": 28, - "loc": { - "start": { - "line": 2, - "column": 13 - }, - "end": { - "line": 2, - "column": 14 - } - }, - "name": "a" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 27, - "end": 28, - "loc": { - "start": { - "line": 2, - "column": 13 - }, - "end": { - "line": 2, - "column": 14 - } - }, - "name": "a" - } - } - ] - }, - { - "type": "RestElement", - "start": 30, - "end": 34, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 20 - } - }, - "argument": { - "type": "Identifier", - "start": 33, - "end": 34, - "loc": { - "start": { - "line": 2, - "column": 19 - }, - "end": { - "line": 2, - "column": 20 - } - }, - "name": "a" - } - } - ] - } - ], - "body": { - "type": "BlockStatement", - "start": 36, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 22 - }, - "end": { - "line": 2, - "column": 25 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-array-pattern/patterned-catch-dupe/expected.json b/test/fixtures/esprima/es2015-array-pattern/patterned-catch-dupe/expected.json deleted file mode 100644 index 5752809413..0000000000 --- a/test/fixtures/esprima/es2015-array-pattern/patterned-catch-dupe/expected.json +++ /dev/null @@ -1,146 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "sourceType": "script", - "body": [ - { - "type": "TryStatement", - "start": 0, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "block": { - "type": "BlockStatement", - "start": 4, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 4 - }, - "end": { - "line": 1, - "column": 6 - } - }, - "body": [] - }, - "handler": { - "type": "CatchClause", - "start": 7, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "param": { - "type": "ArrayPattern", - "start": 14, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "elements": [ - { - "type": "Identifier", - "start": 15, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 17, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "name": "a" - } - ] - }, - "body": { - "type": "BlockStatement", - "start": 21, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "body": [] - } - }, - "guardedHandlers": [], - "finalizer": null - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-arrow-function/invalid-param-strict-mode/expected.json b/test/fixtures/esprima/es2015-arrow-function/invalid-param-strict-mode/expected.json deleted file mode 100644 index 28f8776321..0000000000 --- a/test/fixtures/esprima/es2015-arrow-function/invalid-param-strict-mode/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 0, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 0, - "end": 4, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 4 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 8, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 8 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 21 - } - }, - "expression": { - "type": "Literal", - "start": 9, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 21 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-getter-literal-identifier/expected.json b/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-getter-literal-identifier/expected.json deleted file mode 100644 index 6edbb3623f..0000000000 --- a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-getter-literal-identifier/expected.json +++ /dev/null @@ -1,238 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "__proto" - }, - "kind": "get", - "value": { - "type": "FunctionExpression", - "start": 14, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 16, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "body": [] - } - } - }, - { - "type": "Property", - "start": 20, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 20, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": "__proto__", - "rawValue": "__proto__", - "raw": "\"__proto__\"" - }, - "value": { - "type": "NullLiteral", - "start": 33, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 37 - } - } - }, - "kind": "init" - }, - { - "type": "Property", - "start": 39, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 39 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 39, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 39 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "name": "__proto__" - }, - "value": { - "type": "NullLiteral", - "start": 50, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 50 - }, - "end": { - "line": 1, - "column": 54 - } - } - }, - "kind": "init" - } - ], - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-literal/expected.json b/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-literal/expected.json deleted file mode 100644 index 9b1a68cb99..0000000000 --- a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-literal/expected.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "__proto__" - }, - "value": { - "type": "NullLiteral", - "start": 14, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 18 - } - } - }, - "kind": "init" - }, - { - "type": "Property", - "start": 20, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 20, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": "__proto__", - "rawValue": "__proto__", - "raw": "\"__proto__\"" - }, - "value": { - "type": "NullLiteral", - "start": 33, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 37 - } - } - }, - "kind": "init" - } - ], - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-shorthand/expected.json b/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-shorthand/expected.json deleted file mode 100644 index 957f3941af..0000000000 --- a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifier-shorthand/expected.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "__proto__" - }, - "value": { - "type": "Literal", - "start": 14, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "value": null, - "rawValue": null, - "raw": "null" - }, - "kind": "init" - }, - { - "type": "Property", - "start": 20, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 20, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "name": "__proto__" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 20, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "name": "__proto__" - } - } - ], - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifiers/expected.json b/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifiers/expected.json deleted file mode 100644 index 853ec2ca42..0000000000 --- a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-identifiers/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 3, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "__proto__" - }, - "value": { - "type": "NullLiteral", - "start": 14, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 18 - } - } - } - }, - { - "type": "ObjectProperty", - "start": 20, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 20, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "name": "__proto__" - }, - "value": { - "type": "NullLiteral", - "start": 31, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 31 - }, - "end": { - "line": 1, - "column": 35 - } - } - } - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-identifier/expected.json b/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-identifier/expected.json deleted file mode 100644 index 4b2175d058..0000000000 --- a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-identifier/expected.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 20 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 3, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "value": "__proto__", - "rawValue": "__proto__", - "raw": "\"__proto__\"" - }, - "value": { - "type": "NullLiteral", - "start": 16, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 20 - } - } - }, - "kind": "init" - }, - { - "type": "Property", - "start": 22, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 22, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "name": "__proto__" - }, - "value": { - "type": "NullLiteral", - "start": 33, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 37 - } - } - }, - "kind": "init" - } - ], - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-shorthand/expected.json b/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-shorthand/expected.json deleted file mode 100644 index 22e6537ffa..0000000000 --- a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literal-shorthand/expected.json +++ /dev/null @@ -1,172 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 20 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Literal", - "start": 3, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "value": "__proto__", - "rawValue": "__proto__", - "raw": "\"__proto__\"" - }, - "value": { - "type": "Literal", - "start": 16, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 20 - } - }, - "value": null, - "rawValue": null, - "raw": "null" - }, - "kind": "init" - }, - { - "type": "Property", - "start": 22, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 22, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "name": "__proto__" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 22, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "name": "__proto__" - } - } - ], - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literals/expected.json b/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literals/expected.json deleted file mode 100644 index 2a84426d88..0000000000 --- a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-literals/expected.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 20 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 3, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "value": "__proto__", - "rawValue": "__proto__", - "raw": "\"__proto__\"" - }, - "value": { - "type": "NullLiteral", - "start": 16, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 20 - } - } - }, - "kind": "init" - }, - { - "type": "Property", - "start": 22, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 22, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "value": "__proto__", - "rawValue": "__proto__", - "raw": "'__proto__'" - }, - "value": { - "type": "NullLiteral", - "start": 35, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 39 - } - } - }, - "kind": "init" - } - ], - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-setter-literal-identifier/expected.json b/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-setter-literal-identifier/expected.json deleted file mode 100644 index 7120e7bc0a..0000000000 --- a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-setter-literal-identifier/expected.json +++ /dev/null @@ -1,255 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 60, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 60 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 21 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "name": "__proto__" - }, - "kind": "set", - "value": { - "type": "FunctionExpression", - "start": 16, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 21 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 17, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "name": "x" - } - ], - "body": { - "type": "BlockStatement", - "start": 19, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 21 - } - }, - "body": [] - } - } - }, - { - "type": "Property", - "start": 23, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 23, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "value": "__proto__", - "rawValue": "__proto__", - "raw": "\"__proto__\"" - }, - "value": { - "type": "NullLiteral", - "start": 36, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 40 - } - } - }, - "kind": "init" - }, - { - "type": "Property", - "start": 42, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 42, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "name": "__proto__" - }, - "value": { - "type": "NullLiteral", - "start": 53, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 53 - }, - "end": { - "line": 1, - "column": 57 - } - } - }, - "kind": "init" - } - ], - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-shorthand-identifier/expected.json b/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-shorthand-identifier/expected.json deleted file mode 100644 index 3f3242833e..0000000000 --- a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-shorthand-identifier/expected.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 3, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "__proto__" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 3, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "__proto__" - } - }, - { - "type": "Property", - "start": 14, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 14, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "name": "__proto__" - }, - "value": { - "type": "Literal", - "start": 25, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "value": null, - "rawValue": null, - "raw": "null" - }, - "kind": "init" - } - ], - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-shorthand-literal/expected.json b/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-shorthand-literal/expected.json deleted file mode 100644 index c09f7f715b..0000000000 --- a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-shorthand-literal/expected.json +++ /dev/null @@ -1,172 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 3, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "__proto__" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 3, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "__proto__" - } - }, - { - "type": "Property", - "start": 14, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Literal", - "start": 14, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "value": "__proto__", - "rawValue": "__proto__", - "raw": "\"__proto__\"" - }, - "value": { - "type": "Literal", - "start": 27, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": null, - "rawValue": null, - "raw": "null" - }, - "kind": "init" - } - ], - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-shorthands/expected.json b/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-shorthands/expected.json deleted file mode 100644 index 3de2340596..0000000000 --- a/test/fixtures/esprima/es2015-object-initialiser/invalid-proto-shorthands/expected.json +++ /dev/null @@ -1,168 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 1, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "properties": [ - { - "type": "Property", - "start": 3, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 3, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "__proto__" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 3, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 3 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "__proto__" - } - }, - { - "type": "Property", - "start": 14, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 14, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "name": "__proto__" - }, - "kind": "init", - "value": { - "type": "Identifier", - "start": 14, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "name": "__proto__" - } - } - ], - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-yield/invalid-yield-generator-catch/expected.json b/test/fixtures/esprima/es2015-yield/invalid-yield-generator-catch/expected.json deleted file mode 100644 index 53cf8c221f..0000000000 --- a/test/fixtures/esprima/es2015-yield/invalid-yield-generator-catch/expected.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 11 - } - }, - "name": "g" - }, - "generator": true, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 14, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "body": [ - { - "type": "TryStatement", - "start": 16, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "block": { - "type": "BlockStatement", - "start": 20, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "body": [] - }, - "handler": { - "type": "CatchClause", - "start": 23, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "param": { - "type": "Identifier", - "start": 30, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "name": "yield" - }, - "body": { - "type": "BlockStatement", - "start": 37, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "body": [] - } - }, - "guardedHandlers": [], - "finalizer": null - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-yield/invalid-yield-generator-variable-declaration/expected.json b/test/fixtures/esprima/es2015-yield/invalid-yield-generator-variable-declaration/expected.json deleted file mode 100644 index a4876b5487..0000000000 --- a/test/fixtures/esprima/es2015-yield/invalid-yield-generator-variable-declaration/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 11 - } - }, - "name": "g" - }, - "generator": true, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 14, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 16, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 20, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "id": { - "type": "Identifier", - "start": 20, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "name": "yield" - }, - "init": null - } - ], - "kind": "var" - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-binding-element/expected.json b/test/fixtures/esprima/es2015-yield/invalid-yield-strict-binding-element/expected.json deleted file mode 100644 index e95af9ede1..0000000000 --- a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-binding-element/expected.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "sourceType": "script", - "body": [ - { - "type": "VariableDeclaration", - "start": 14, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 18, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "id": { - "type": "ObjectPattern", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "properties": [ - { - "type": "Property", - "start": 20, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 20, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 21 - } - }, - "name": "x" - }, - "value": { - "type": "Identifier", - "start": 23, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "name": "yield" - }, - "kind": "init" - } - ] - }, - "init": { - "type": "Identifier", - "start": 33, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "foo" - } - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-catch-parameter/expected.json b/test/fixtures/esprima/es2015-yield/invalid-yield-strict-catch-parameter/expected.json deleted file mode 100644 index 6dc10fb160..0000000000 --- a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-catch-parameter/expected.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "sourceType": "script", - "body": [ - { - "type": "TryStatement", - "start": 14, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "block": { - "type": "BlockStatement", - "start": 18, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 20 - } - }, - "body": [], - "directives": [] - }, - "handler": { - "type": "CatchClause", - "start": 21, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "param": { - "type": "Identifier", - "start": 28, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 28 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "name": "yield" - }, - "body": { - "type": "BlockStatement", - "start": 35, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "body": [], - "directives": [] - } - }, - "guardedHandlers": [], - "finalizer": null - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-formal-parameter/expected.json b/test/fixtures/esprima/es2015-yield/invalid-yield-strict-formal-parameter/expected.json deleted file mode 100644 index 376968b605..0000000000 --- a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-formal-parameter/expected.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 14, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "id": { - "type": "Identifier", - "start": 23, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "name": "f" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 25, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "name": "yield" - } - ], - "body": { - "type": "BlockStatement", - "start": 32, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-function-declaration/expected.json b/test/fixtures/esprima/es2015-yield/invalid-yield-strict-function-declaration/expected.json deleted file mode 100644 index 83a78a03c2..0000000000 --- a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-function-declaration/expected.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "yield" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 16, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "expression": { - "type": "Literal", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-function-expression/expected.json b/test/fixtures/esprima/es2015-yield/invalid-yield-strict-function-expression/expected.json deleted file mode 100644 index a12316ae59..0000000000 --- a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-function-expression/expected.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "expression": { - "type": "FunctionExpression", - "start": 1, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "name": "yield" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "expression": { - "type": "Literal", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - }, - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-identifier/expected.json b/test/fixtures/esprima/es2015-yield/invalid-yield-strict-identifier/expected.json deleted file mode 100644 index 2bdc41583c..0000000000 --- a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-identifier/expected.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "expression": { - "type": "Literal", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - }, - { - "type": "FunctionDeclaration", - "start": 14, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "id": { - "type": "Identifier", - "start": 23, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "name": "f" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 27, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 29, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "expression": { - "type": "Identifier", - "start": 29, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "name": "yield" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-lexical-declaration/expected.json b/test/fixtures/esprima/es2015-yield/invalid-yield-strict-lexical-declaration/expected.json deleted file mode 100644 index 966737277b..0000000000 --- a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-lexical-declaration/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "sourceType": "script", - "body": [ - { - "type": "VariableDeclaration", - "start": 14, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 18, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "id": { - "type": "Identifier", - "start": 18, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "name": "yield" - }, - "init": { - "type": "NumericLiteral", - "start": 26, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - ], - "kind": "let" - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-rest-parameter/expected.json b/test/fixtures/esprima/es2015-yield/invalid-yield-strict-rest-parameter/expected.json deleted file mode 100644 index 61833fb65c..0000000000 --- a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-rest-parameter/expected.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 14, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 23, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "name": "f" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "RestElement", - "start": 25, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "argument": { - "type": "Identifier", - "start": 28, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 28 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "name": "yield" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 35, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-variable-declaration/expected.json b/test/fixtures/esprima/es2015-yield/invalid-yield-strict-variable-declaration/expected.json deleted file mode 100644 index d34ac72f7a..0000000000 --- a/test/fixtures/esprima/es2015-yield/invalid-yield-strict-variable-declaration/expected.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "sourceType": "script", - "body": [ - { - "type": "VariableDeclaration", - "start": 14, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 18, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "id": { - "type": "Identifier", - "start": 18, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "name": "yield" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0087/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0087/expected.json deleted file mode 100644 index 4d59caecab..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0087/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "AssignmentPattern", - "start": 15, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "left": { - "type": "Identifier", - "start": 15, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "eval" - }, - "right": { - "type": "NumericLiteral", - "start": 22, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - } - } - ], - "body": { - "type": "NumericLiteral", - "start": 29, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0088/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0088/expected.json deleted file mode 100644 index 19770d930b..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0088/expected.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 14, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "name": "eval" - } - ], - "body": { - "type": "NumericLiteral", - "start": 22, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0089/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0089/expected.json deleted file mode 100644 index 419236f394..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0089/expected.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 14, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "name": "arguments" - } - ], - "body": { - "type": "NumericLiteral", - "start": 27, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0090/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0090/expected.json deleted file mode 100644 index 799a255d29..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0090/expected.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "eval" - }, - { - "type": "Identifier", - "start": 21, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 22 - } - }, - "name": "a" - } - ], - "body": { - "type": "NumericLiteral", - "start": 27, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0091/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0091/expected.json deleted file mode 100644 index 99a2be70b2..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0091/expected.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "name": "arguments" - }, - { - "type": "Identifier", - "start": 26, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "name": "a" - } - ], - "body": { - "type": "NumericLiteral", - "start": 32, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0092/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0092/expected.json deleted file mode 100644 index 89326051bc..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0092/expected.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 1, - "end": 2, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 2 - } - }, - "name": "a" - }, - { - "type": "Identifier", - "start": 4, - "end": 5, - "loc": { - "start": { - "line": 1, - "column": 4 - }, - "end": { - "line": 1, - "column": 5 - } - }, - "name": "a" - } - ], - "body": { - "type": "Literal", - "start": 10, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0094/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0094/expected.json deleted file mode 100644 index 46e767a89a..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0094/expected.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "name": "a" - } - ], - "body": { - "type": "NumericLiteral", - "start": 21, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "value": 0, - "rawValue": 0, - "raw": "00" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0100/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0100/expected.json deleted file mode 100644 index 4846928444..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0100/expected.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 14, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 14, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "id": null, - "generator": false, - "expression": true, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "eval" - } - ], - "body": { - "type": "NumericLiteral", - "start": 24, - "end": 26, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 1, - "column": 26 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0101/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0101/expected.json deleted file mode 100644 index 338190dde1..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0101/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 1, - "end": 5, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 5 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 10, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 12, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "expression": { - "type": "Literal", - "start": 12, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - }, - { - "type": "ExpressionStatement", - "start": 26, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "expression": { - "type": "Literal", - "start": 26, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - } - } - ] - } - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0138/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0138/expected.json deleted file mode 100644 index b5b53bc87a..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0138/expected.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "sourceType": "script", - "body": [ - { - "type": "VariableDeclaration", - "start": 0, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 6, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "id": { - "type": "Identifier", - "start": 6, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "name": "x" - }, - "init": { - "type": "Literal", - "start": 10, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "value": 12, - "rawValue": 12, - "raw": "12" - } - }, - { - "type": "VariableDeclarator", - "start": 14, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "id": { - "type": "Identifier", - "start": 14, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "name": "y" - }, - "init": null - } - ], - "kind": "var" - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0139/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0139/expected.json deleted file mode 100644 index 0d296d31a9..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0139/expected.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "sourceType": "script", - "body": [ - { - "type": "VariableDeclaration", - "start": 0, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 6, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "id": { - "type": "Identifier", - "start": 6, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "name": "x" - }, - "init": null - }, - { - "type": "VariableDeclarator", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "y" - }, - "init": { - "type": "Literal", - "start": 13, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "value": 12, - "rawValue": 12, - "raw": "12" - } - } - ], - "kind": "var" - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0140/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0140/expected.json deleted file mode 100644 index cc88fe2b7e..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0140/expected.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 8 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 8 - } - }, - "sourceType": "script", - "body": [ - { - "type": "VariableDeclaration", - "start": 0, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 8 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 6, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "id": { - "type": "Identifier", - "start": 6, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "name": "x" - }, - "init": null - } - ], - "kind": "var" - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0183/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0183/expected.json deleted file mode 100644 index 4888c9e77c..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0183/expected.json +++ /dev/null @@ -1,186 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 1, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 1, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 13, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 29, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "expression": { - "type": "UnaryExpression", - "start": 29, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "operator": "delete", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 36, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "name": "i" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 15, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 15, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - }, - "arguments": [], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0184/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0184/expected.json deleted file mode 100644 index b5c7e063e3..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0184/expected.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "expression": { - "type": "CallExpression", - "start": 1, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 1, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 13, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "body": [ - { - "type": "WithStatement", - "start": 29, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 35, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "i" - }, - "body": { - "type": "EmptyStatement", - "start": 37, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 38 - } - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 15, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 15, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - }, - "arguments": [], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0185/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0185/expected.json deleted file mode 100644 index 7616b5c4d0..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0185/expected.json +++ /dev/null @@ -1,186 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 32, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 36, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "id": { - "type": "Identifier", - "start": 36, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "name": "eval" - }, - "init": { - "type": "NumericLiteral", - "start": 43, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 43 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - } - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0186/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0186/expected.json deleted file mode 100644 index 7c7fe68ad2..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0186/expected.json +++ /dev/null @@ -1,186 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 32, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 36, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "id": { - "type": "Identifier", - "start": 36, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "name": "arguments" - }, - "init": { - "type": "NumericLiteral", - "start": 48, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 48 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - } - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0187/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0187/expected.json deleted file mode 100644 index 25732f3422..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0187/expected.json +++ /dev/null @@ -1,201 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "body": [ - { - "type": "TryStatement", - "start": 32, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "block": { - "type": "BlockStatement", - "start": 36, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "body": [], - "directives": [] - }, - "handler": { - "type": "CatchClause", - "start": 40, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "param": { - "type": "Identifier", - "start": 47, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "name": "eval" - }, - "body": { - "type": "BlockStatement", - "start": 53, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 53 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "body": [], - "directives": [] - } - }, - "guardedHandlers": [], - "finalizer": null - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0188/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0188/expected.json deleted file mode 100644 index 14e6af099e..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0188/expected.json +++ /dev/null @@ -1,201 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "body": [ - { - "type": "TryStatement", - "start": 32, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "block": { - "type": "BlockStatement", - "start": 36, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "body": [], - "directives": [] - }, - "handler": { - "type": "CatchClause", - "start": 40, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "param": { - "type": "Identifier", - "start": 47, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "name": "arguments" - }, - "body": { - "type": "BlockStatement", - "start": 58, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 58 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "body": [], - "directives": [] - } - }, - "guardedHandlers": [], - "finalizer": null - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0189/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0189/expected.json deleted file mode 100644 index 5096320c21..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0189/expected.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 32, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 32, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "eval" - }, - "right": { - "type": "NumericLiteral", - "start": 39, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 39 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0190/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0190/expected.json deleted file mode 100644 index 6b52d892dd..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0190/expected.json +++ /dev/null @@ -1,184 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 32, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 32, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "name": "arguments" - }, - "right": { - "type": "NumericLiteral", - "start": 44, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 44 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0191/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0191/expected.json deleted file mode 100644 index 4a54d8d316..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0191/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "operator": "++", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 34, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "name": "eval" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0192/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0192/expected.json deleted file mode 100644 index 0be9956ee7..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0192/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "operator": "--", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 34, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "name": "eval" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0193/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0193/expected.json deleted file mode 100644 index 3d5a3384b2..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0193/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "operator": "++", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 34, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "name": "arguments" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0194/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0194/expected.json deleted file mode 100644 index a129e39f7e..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0194/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "operator": "--", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 34, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "name": "arguments" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0195/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0195/expected.json deleted file mode 100644 index 7c98807107..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0195/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 32, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "eval" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0196/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0196/expected.json deleted file mode 100644 index 7db69736d2..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0196/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "operator": "--", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 32, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "eval" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0197/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0197/expected.json deleted file mode 100644 index 029e95d4fd..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0197/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "operator": "++", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 32, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "name": "arguments" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0198/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0198/expected.json deleted file mode 100644 index fc9fb9e66f..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0198/expected.json +++ /dev/null @@ -1,167 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "expression": { - "type": "UpdateExpression", - "start": 32, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "operator": "--", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 32, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "name": "arguments" - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0199/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0199/expected.json deleted file mode 100644 index 416268fca0..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0199/expected.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "body": [ - { - "type": "FunctionDeclaration", - "start": 32, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "id": { - "type": "Identifier", - "start": 41, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 41 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "name": "eval" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 48, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 48 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0200/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0200/expected.json deleted file mode 100644 index aeae082c8b..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0200/expected.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "body": [ - { - "type": "FunctionDeclaration", - "start": 32, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "id": { - "type": "Identifier", - "start": 41, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 41 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "name": "arguments" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 53, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 53 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0201/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0201/expected.json deleted file mode 100644 index c110e76a57..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0201/expected.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "name": "eval" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 16, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 17, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "expression": { - "type": "Literal", - "start": 17, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0202/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0202/expected.json deleted file mode 100644 index 817f907aee..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0202/expected.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "name": "arguments" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 21, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 22, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "expression": { - "type": "Literal", - "start": 22, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0203/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0203/expected.json deleted file mode 100644 index ae9e78153d..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0203/expected.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 55, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 55 - } - }, - "expression": { - "type": "CallExpression", - "start": 33, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 33, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "id": { - "type": "Identifier", - "start": 42, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "name": "eval" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 49, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 49 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "body": [], - "directives": [] - } - }, - "arguments": [], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0204/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0204/expected.json deleted file mode 100644 index dc709c3172..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0204/expected.json +++ /dev/null @@ -1,204 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 62, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 62 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 62, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 62 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 62, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 62 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 62, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 62 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 60, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 60 - } - }, - "expression": { - "type": "CallExpression", - "start": 33, - "end": 59, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 59 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 33, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "id": { - "type": "Identifier", - "start": 42, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "name": "arguments" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 54, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 54 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "body": [], - "directives": [] - } - }, - "arguments": [], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0205/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0205/expected.json deleted file mode 100644 index 1a995ca123..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0205/expected.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "expression": { - "type": "CallExpression", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 1, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "eval" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "expression": { - "type": "Literal", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - }, - "parenthesizedExpression": true - }, - "arguments": [] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0206/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0206/expected.json deleted file mode 100644 index 34984de2e0..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0206/expected.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "expression": { - "type": "CallExpression", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 1, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "arguments" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 22, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 23, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "expression": { - "type": "Literal", - "start": 23, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - }, - "parenthesizedExpression": true - }, - "arguments": [] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0207/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0207/expected.json deleted file mode 100644 index f6abe3ed03..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0207/expected.json +++ /dev/null @@ -1,240 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 33, - "end": 59, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 59 - } - }, - "properties": [ - { - "type": "Property", - "start": 35, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 35, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "s" - }, - "value": { - "type": "FunctionExpression", - "start": 38, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 38 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "id": { - "type": "Identifier", - "start": 47, - "end": 51, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 51 - } - }, - "name": "eval" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 54, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 54 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "body": [], - "directives": [] - } - }, - "kind": "init" - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0208/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0208/expected.json deleted file mode 100644 index d0765fadb6..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0208/expected.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "CallExpression", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "callee": { - "type": "FunctionExpression", - "start": 1, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 17 - } - }, - "name": "package" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 20, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 21, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "expression": { - "type": "Literal", - "start": 21, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - }, - "parenthesizedExpression": true - }, - "arguments": [] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0209/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0209/expected.json deleted file mode 100644 index 9abf715af6..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0209/expected.json +++ /dev/null @@ -1,295 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 33, - "end": 59, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 59 - } - }, - "properties": [ - { - "type": "Property", - "start": 35, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 35, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "i" - }, - "value": { - "type": "NumericLiteral", - "start": 38, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 38 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "value": 10, - "rawValue": 10, - "raw": "10" - }, - "kind": "init" - }, - { - "type": "Property", - "start": 42, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 46, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 46 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "name": "s" - }, - "kind": "set", - "value": { - "type": "FunctionExpression", - "start": 47, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 48, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 48 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 54, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 54 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "body": [], - "directives": [] - } - } - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0210/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0210/expected.json deleted file mode 100644 index bebdcad342..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0210/expected.json +++ /dev/null @@ -1,242 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 33, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "properties": [ - { - "type": "Property", - "start": 35, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 39, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 39 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "name": "s" - }, - "kind": "set", - "value": { - "type": "FunctionExpression", - "start": 40, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 41, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 41 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 47, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "body": [], - "directives": [] - } - } - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0211/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0211/expected.json deleted file mode 100644 index d098c6d058..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0211/expected.json +++ /dev/null @@ -1,257 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 64, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 64 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 64, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 64 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 64, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 64 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 64, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 64 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 32, - "end": 62, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 62 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 33, - "end": 60, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 60 - } - }, - "properties": [ - { - "type": "Property", - "start": 35, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 35, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 35 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "name": "s" - }, - "value": { - "type": "FunctionExpression", - "start": 38, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 38 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "id": { - "type": "Identifier", - "start": 47, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "name": "s" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 49, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 49 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 55, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 55 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "body": [], - "directives": [] - } - }, - "kind": "init" - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 18, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 18, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0212/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0212/expected.json deleted file mode 100644 index 6aa54306ed..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0212/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 21, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 22, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "expression": { - "type": "Literal", - "start": 22, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0213/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0213/expected.json deleted file mode 100644 index 5fbf9ec4b8..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0213/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "name": "arguments" - } - ], - "body": { - "type": "BlockStatement", - "start": 26, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 27, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "expression": { - "type": "Literal", - "start": 27, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0214/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0214/expected.json deleted file mode 100644 index 8425a41fb7..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0214/expected.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 58, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 58 - } - }, - "body": [ - { - "type": "FunctionDeclaration", - "start": 33, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "id": { - "type": "Identifier", - "start": 42, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "name": "inner" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 48, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 48 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 54, - "end": 56, - "loc": { - "start": { - "line": 1, - "column": 54 - }, - "end": { - "line": 1, - "column": 56 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0215/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0215/expected.json deleted file mode 100644 index bab5d19160..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0215/expected.json +++ /dev/null @@ -1,187 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 63, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 63 - } - }, - "body": [ - { - "type": "FunctionDeclaration", - "start": 33, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "id": { - "type": "Identifier", - "start": 42, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "name": "inner" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 48, - "end": 57, - "loc": { - "start": { - "line": 1, - "column": 48 - }, - "end": { - "line": 1, - "column": 57 - } - }, - "name": "arguments" - } - ], - "body": { - "type": "BlockStatement", - "start": 59, - "end": 61, - "loc": { - "start": { - "line": 1, - "column": 59 - }, - "end": { - "line": 1, - "column": 61 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0216/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0216/expected.json deleted file mode 100644 index 77fb11145f..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0216/expected.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 5, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 5 - } - }, - "expression": { - "type": "Literal", - "start": 0, - "end": 4, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 4 - } - }, - "value": "\u0001", - "rawValue": "\u0001", - "raw": "\"\\1\"" - } - }, - { - "type": "ExpressionStatement", - "start": 6, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "expression": { - "type": "Literal", - "start": 6, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "'use strict'" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0217/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0217/expected.json deleted file mode 100644 index 53489fbf1c..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0217/expected.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "body": [], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - }, - { - "type": "Directive", - "start": 33, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 33, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "raw": "\"\\1\"", - "value": "\\1" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0218/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0218/expected.json deleted file mode 100644 index d23924aa07..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0218/expected.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 33, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "expression": { - "type": "NumericLiteral", - "start": 33, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "value": 17, - "rawValue": 17, - "raw": "021" - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0219/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0219/expected.json deleted file mode 100644 index 0f7be5add6..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0219/expected.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 33, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 34, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "properties": [ - { - "type": "Property", - "start": 36, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "StringLiteral", - "start": 36, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "value": "\u0001", - "rawValue": "\u0001", - "raw": "\"\\1\"" - }, - "value": { - "type": "NumericLiteral", - "start": 42, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - }, - "kind": "init" - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0220/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0220/expected.json deleted file mode 100644 index 8bd74936f0..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0220/expected.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 33, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "expression": { - "type": "ObjectExpression", - "start": 34, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 34 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "properties": [ - { - "type": "Property", - "start": 36, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "NumericLiteral", - "start": 36, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "value": 17, - "rawValue": 17, - "raw": "021" - }, - "value": { - "type": "NumericLiteral", - "start": 41, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 41 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "value": 42, - "rawValue": 42, - "raw": "42" - }, - "kind": "init" - } - ], - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "'use strict'", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0221/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0221/expected.json deleted file mode 100644 index b8a30a0e6a..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0221/expected.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 55, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 55 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 55, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 55 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 55, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 55 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 55, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 55 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 19, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "Literal", - "start": 19, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "value": "octal directive\u0001", - "rawValue": "octal directive\u0001", - "raw": "\"octal directive\\1\"" - } - }, - { - "type": "ExpressionStatement", - "start": 40, - "end": 53, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 53 - } - }, - "expression": { - "type": "Literal", - "start": 40, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0222/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0222/expected.json deleted file mode 100644 index 61e775efcf..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0222/expected.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 76, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 76 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 76, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 76 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 76, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 76 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 76, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 76 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 19, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "Literal", - "start": 19, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "value": "octal directive\u0001", - "rawValue": "octal directive\u0001", - "raw": "\"octal directive\\1\"" - } - }, - { - "type": "ExpressionStatement", - "start": 40, - "end": 60, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 60 - } - }, - "expression": { - "type": "Literal", - "start": 40, - "end": 59, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 59 - } - }, - "value": "octal directive\u0002", - "rawValue": "octal directive\u0002", - "raw": "\"octal directive\\2\"" - } - }, - { - "type": "ExpressionStatement", - "start": 61, - "end": 74, - "loc": { - "start": { - "line": 1, - "column": 61 - }, - "end": { - "line": 1, - "column": 74 - } - }, - "expression": { - "type": "Literal", - "start": 61, - "end": 73, - "loc": { - "start": { - "line": 1, - "column": 61 - }, - "end": { - "line": 1, - "column": 73 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0223/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0223/expected.json deleted file mode 100644 index 9f10388176..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0223/expected.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 76, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 76 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 76, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 76 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 76, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 76 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 76, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 76 - } - }, - "body": [ - { - "type": "FunctionDeclaration", - "start": 33, - "end": 74, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 74 - } - }, - "id": { - "type": "Identifier", - "start": 42, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 42 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "name": "inner" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 50, - "end": 74, - "loc": { - "start": { - "line": 1, - "column": 50 - }, - "end": { - "line": 1, - "column": 74 - } - }, - "body": [], - "directives": [ - { - "type": "Directive", - "start": 52, - "end": 72, - "loc": { - "start": { - "line": 1, - "column": 52 - }, - "end": { - "line": 1, - "column": 72 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 52, - "end": 71, - "loc": { - "start": { - "line": 1, - "column": 52 - }, - "end": { - "line": 1, - "column": 71 - } - }, - "raw": "\"octal directive\\1\"", - "value": "octal directive\\1" - } - } - ] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0224/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0224/expected.json deleted file mode 100644 index 9e81efccd6..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0224/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 48, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 48 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "name": "implements" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0225/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0225/expected.json deleted file mode 100644 index 09c95282b4..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0225/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "name": "interface" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0226/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0226/expected.json deleted file mode 100644 index b5b1bf5fba..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0226/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "name": "package" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0227/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0227/expected.json deleted file mode 100644 index bb397becf0..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0227/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "name": "private" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0228/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0228/expected.json deleted file mode 100644 index 14ef8d4896..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0228/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 47, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 47 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "name": "protected" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0229/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0229/expected.json deleted file mode 100644 index e6e08fbf57..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0229/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "name": "public" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0230/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0230/expected.json deleted file mode 100644 index a8f07d2a1b..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0230/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 46, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 46 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "name": "static" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0231/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0231/expected.json deleted file mode 100644 index cbac229e7c..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0231/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 33, - "end": 43, - "loc": { - "start": { - "line": 1, - "column": 33 - }, - "end": { - "line": 1, - "column": 43 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 37, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "id": { - "type": "Identifier", - "start": 37, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 37 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "name": "yield" - }, - "init": null - } - ], - "kind": "var" - } - ], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0233/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0233/expected.json deleted file mode 100644 index 9454908513..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0233/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 14 - } - }, - "name": "hello" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 15, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 21 - } - }, - "name": "static" - } - ], - "body": { - "type": "BlockStatement", - "start": 23, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 25, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "expression": { - "type": "Literal", - "start": 25, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0234/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0234/expected.json deleted file mode 100644 index 42dbd8e915..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0234/expected.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "name": "static" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 18, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 20, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "expression": { - "type": "Literal", - "start": 20, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0235/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0235/expected.json deleted file mode 100644 index ae4c951249..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0235/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "name": "eval" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 14, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "name": "a" - } - ], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "expression": { - "type": "Literal", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0236/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0236/expected.json deleted file mode 100644 index 4bd552372c..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0236/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "name": "arguments" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 19, - "end": 20, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 20 - } - }, - "name": "a" - } - ], - "body": { - "type": "BlockStatement", - "start": 22, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 24, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "expression": { - "type": "Literal", - "start": 24, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0238/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0238/expected.json deleted file mode 100644 index f5cbcbeb1d..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0238/expected.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "sourceType": "script", - "body": [ - { - "type": "VariableDeclaration", - "start": 0, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 4, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 4 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "id": { - "type": "Identifier", - "start": 4, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 4 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "name": "let" - }, - "init": null - } - ], - "kind": "var" - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0239/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0239/expected.json deleted file mode 100644 index e019755823..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0239/expected.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 14, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 23, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "name": "static" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 32, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0240/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0240/expected.json deleted file mode 100644 index 51085f798f..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0240/expected.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 11, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 11 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "name": "t" - }, - { - "type": "Identifier", - "start": 14, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "name": "t" - } - ], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "body": [], - "directives": [ - { - "type": "Directive", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0241/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0241/expected.json deleted file mode 100644 index 14824eac9f..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0241/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 11, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 11 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 17, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 19, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "expression": { - "type": "Literal", - "start": 19, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 19 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0242/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0242/expected.json deleted file mode 100644 index b18233c76a..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0242/expected.json +++ /dev/null @@ -1,134 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 11, - "end": 18, - "loc": { - "start": { - "line": 1, - "column": 11 - }, - "end": { - "line": 1, - "column": 18 - } - }, - "name": "package" - } - ], - "body": { - "type": "BlockStatement", - "start": 20, - "end": 37, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 37 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 22, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "expression": { - "type": "Literal", - "start": 22, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 22 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0243/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0243/expected.json deleted file mode 100644 index 97c6620ab1..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0243/expected.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 13, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "body": [ - { - "type": "FunctionDeclaration", - "start": 29, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 38, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 38 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "name": "b" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 40, - "end": 41, - "loc": { - "start": { - "line": 1, - "column": 40 - }, - "end": { - "line": 1, - "column": 41 - } - }, - "name": "t" - }, - { - "type": "Identifier", - "start": 43, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 43 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "name": "t" - } - ], - "body": { - "type": "BlockStatement", - "start": 46, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 46 - }, - "end": { - "line": 1, - "column": 49 - } - }, - "body": [], - "directives": [] - } - }, - { - "type": "EmptyStatement", - "start": 49, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 49 - }, - "end": { - "line": 1, - "column": 50 - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 15, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 15, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0244/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0244/expected.json deleted file mode 100644 index 6b5bcf5c66..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0244/expected.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "expression": { - "type": "FunctionExpression", - "start": 1, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 11 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 12, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "name": "t" - }, - { - "type": "Identifier", - "start": 15, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "name": "t" - } - ], - "body": { - "type": "BlockStatement", - "start": 18, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "body": [], - "directives": [ - { - "type": "Directive", - "start": 20, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 20, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - }, - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0245/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0245/expected.json deleted file mode 100644 index 636e4bc049..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0245/expected.json +++ /dev/null @@ -1,221 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 0, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "id": { - "type": "Identifier", - "start": 9, - "end": 10, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 10 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 13, - "end": 54, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 54 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 29, - "end": 52, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 52 - } - }, - "expression": { - "type": "FunctionExpression", - "start": 30, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 30 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "id": { - "type": "Identifier", - "start": 39, - "end": 40, - "loc": { - "start": { - "line": 1, - "column": 39 - }, - "end": { - "line": 1, - "column": 40 - } - }, - "name": "b" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 1, - "column": 41 - }, - "end": { - "line": 1, - "column": 42 - } - }, - "name": "t" - }, - { - "type": "Identifier", - "start": 44, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 44 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "name": "t" - } - ], - "body": { - "type": "BlockStatement", - "start": 47, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "body": [], - "directives": [] - }, - "extra": { - "parenthesized": true - } - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 15, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 15, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0246/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0246/expected.json deleted file mode 100644 index a4e3e8cbd5..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0246/expected.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "expression": { - "type": "FunctionExpression", - "start": 1, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 11 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 12, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 16 - } - }, - "name": "eval" - } - ], - "body": { - "type": "BlockStatement", - "start": 18, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 20, - "end": 33, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 33 - } - }, - "expression": { - "type": "Literal", - "start": 20, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - }, - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0247/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0247/expected.json deleted file mode 100644 index 63264f0559..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0247/expected.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 39, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 39 - } - }, - "expression": { - "type": "FunctionExpression", - "start": 1, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 1 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 10, - "end": 11, - "loc": { - "start": { - "line": 1, - "column": 10 - }, - "end": { - "line": 1, - "column": 11 - } - }, - "name": "a" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 12, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 12 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "name": "package" - } - ], - "body": { - "type": "BlockStatement", - "start": 21, - "end": 38, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 38 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 23, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "expression": { - "type": "Literal", - "start": 23, - "end": 35, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 35 - } - }, - "value": "use strict", - "rawValue": "use strict", - "raw": "\"use strict\"" - } - } - ] - }, - "parenthesizedExpression": true - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0249/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0249/expected.json deleted file mode 100644 index fc69d156ec..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0249/expected.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "sourceType": "script", - "body": [ - { - "type": "FunctionDeclaration", - "start": 14, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 14 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "id": { - "type": "Identifier", - "start": 23, - "end": 24, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 24 - } - }, - "name": "t" - }, - "generator": false, - "expression": false, - "params": [ - { - "type": "Identifier", - "start": 25, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "name": "__proto__" - }, - { - "type": "Identifier", - "start": 36, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 36 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "name": "__proto__" - } - ], - "body": { - "type": "BlockStatement", - "start": 47, - "end": 50, - "loc": { - "start": { - "line": 1, - "column": 47 - }, - "end": { - "line": 1, - "column": 50 - } - }, - "body": [], - "directives": [] - } - } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } - }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "raw": "\"use strict\"", - "value": "use strict" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0250/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0250/expected.json deleted file mode 100644 index bf9a01a59f..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0250/expected.json +++ /dev/null @@ -1,206 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 0, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 0, - "end": 1, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 1 - } - }, - "name": "x" - }, - "right": { - "type": "ObjectExpression", - "start": 4, - "end": 36, - "loc": { - "start": { - "line": 1, - "column": 4 - }, - "end": { - "line": 1, - "column": 36 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 6, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "name": "__proto__" - }, - "value": { - "type": "NumericLiteral", - "start": 17, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 19 - } - }, - "extra": { - "rawValue": 42, - "raw": "42" - }, - "value": 42 - } - }, - { - "type": "ObjectProperty", - "start": 21, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 21, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 21 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "name": "__proto__" - }, - "value": { - "type": "NumericLiteral", - "start": 32, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 32 - }, - "end": { - "line": 1, - "column": 34 - } - }, - "extra": { - "rawValue": 43, - "raw": "43" - }, - "value": 43 - } - } - ] - } - } - } - ], - "directives": [] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0253/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0253/expected.json deleted file mode 100644 index 51d622d320..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0253/expected.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 3, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 3 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 3, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 3 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ExpressionStatement", - "start": 0, - "end": 3, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 3 - } - }, - "expression": { - "type": "Identifier", - "start": 0, - "end": 3, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 3 - } - }, - "name": "let" - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0270/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0270/expected.json deleted file mode 100644 index ee4de023b7..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0270/expected.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ClassDeclaration", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "id": { - "type": "Identifier", - "start": 6, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "name": "A" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 8, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 8 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 9, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "computed": false, - "key": { - "type": "Identifier", - "start": 16, - "end": 25, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 25 - } - }, - "name": "prototype" - }, - "static": true, - "kind": "method", - "value": { - "type": "FunctionExpression", - "start": 25, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 25 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 27, - "end": 29, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 29 - } - }, - "body": [] - } - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0271/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0271/expected.json deleted file mode 100644 index d1b5f89276..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0271/expected.json +++ /dev/null @@ -1,153 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ClassDeclaration", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "id": { - "type": "Identifier", - "start": 6, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "name": "A" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 8, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 8 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 9, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "computed": false, - "key": { - "type": "Literal", - "start": 16, - "end": 27, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 27 - } - }, - "value": "prototype", - "rawValue": "prototype", - "raw": "\"prototype\"" - }, - "static": true, - "kind": "method", - "value": { - "type": "FunctionExpression", - "start": 27, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 27 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 29, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 29 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "body": [] - } - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/esprima/invalid-syntax/migrated_0278/expected.json b/test/fixtures/esprima/invalid-syntax/migrated_0278/expected.json deleted file mode 100644 index 1e47cb6c1c..0000000000 --- a/test/fixtures/esprima/invalid-syntax/migrated_0278/expected.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "sourceType": "script", - "body": [ - { - "type": "ClassDeclaration", - "start": 0, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "id": { - "type": "Identifier", - "start": 6, - "end": 7, - "loc": { - "start": { - "line": 1, - "column": 6 - }, - "end": { - "line": 1, - "column": 7 - } - }, - "name": "A" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 8, - "end": 30, - "loc": { - "start": { - "line": 1, - "column": 8 - }, - "end": { - "line": 1, - "column": 30 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 9, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "computed": true, - "key": { - "type": "Identifier", - "start": 17, - "end": 23, - "loc": { - "start": { - "line": 1, - "column": 17 - }, - "end": { - "line": 1, - "column": 23 - } - }, - "name": "static" - }, - "static": true, - "kind": "method", - "value": { - "type": "FunctionExpression", - "start": 24, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 24 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "id": null, - "generator": false, - "expression": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 26, - "end": 28, - "loc": { - "start": { - "line": 1, - "column": 26 - }, - "end": { - "line": 1, - "column": 28 - } - }, - "body": [] - } - } - } - ] - } - } - ] - } -} \ No newline at end of file diff --git a/test/fixtures/flow/type-parameter-declaration/star/expected.json b/test/fixtures/flow/type-parameter-declaration/star/expected.json deleted file mode 100644 index 55692435d7..0000000000 --- a/test/fixtures/flow/type-parameter-declaration/star/expected.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 71, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 2, - "column": 21 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 71, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 2, - "column": 21 - } - }, - "sourceType": "module", - "body": [ - { - "type": "TypeAlias", - "start": 50, - "end": 71, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 21 - } - }, - "id": { - "type": "Identifier", - "start": 55, - "end": 58, - "loc": { - "start": { - "line": 2, - "column": 5 - }, - "end": { - "line": 2, - "column": 8 - } - }, - "name": "Foo" - }, - "typeParameters": { - "type": "TypeParameterDeclaration", - "start": 58, - "end": 61, - "loc": { - "start": { - "line": 2, - "column": 8 - }, - "end": { - "line": 2, - "column": 11 - } - }, - "params": [ - { - "type": "ExistentialTypeParam", - "start": 59, - "end": 60, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 10 - } - } - } - ] - }, - "right": { - "type": "NumberTypeAnnotation", - "start": 64, - "end": 70, - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 20 - } - } - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Star is only for type parameter initialization", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - } - } - ] - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentLine", - "value": " Star is only for type parameter initialization", - "start": 0, - "end": 49, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 49 - } - } - } - ] -} \ No newline at end of file diff --git a/test/utils/runFixtureTests.js b/test/utils/runFixtureTests.js index 4d8b1c1fda..ee4d10b8bc 100644 --- a/test/utils/runFixtureTests.js +++ b/test/utils/runFixtureTests.js @@ -13,7 +13,7 @@ module.exports = function runFixtureTests(fixturesPath, parseFunction) { try { return runTest(task, parseFunction); } catch (err) { - err.message = task.actual.loc + ": " + err.message; + err.message = name + "/" + task.actual.filename + ": " + err.message; throw err; } }); @@ -33,6 +33,10 @@ function runTest(test, parseFunction) { opts.locations = true; opts.ranges = true; + if (opts.throws && test.expect.code) { + throw new Error("File expected.json exists although options specify throws. Remove expected.json."); + } + try { var ast = parseFunction(test.actual.code, opts); } catch (err) {