1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
semantic/test/corpus/json/javascript/export.json
2016-11-03 15:41:59 -07:00

21373 lines
981 KiB
JSON

[{
"testCaseDescription": "javascript-export-insert-test",
"expectedResult": {
"rows": [
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
9,
14
]
}
],
"range": [
9,
14
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
16,
21
]
}
],
"range": [
16,
21
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
23,
28
]
}
],
"range": [
23,
28
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
30,
35
]
}
],
"range": [
30,
35
]
}
],
"range": [
0,
38
]
}
],
"patch": "insert",
"range": [
0,
39
]
}
],
"hasChanges": true,
"range": [
0,
39
],
"number": 1
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
48,
57
]
},
{
"category": "Identifier",
"range": [
61,
66
]
}
],
"range": [
48,
66
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
68,
77
]
},
{
"category": "Identifier",
"range": [
81,
86
]
}
],
"range": [
68,
86
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
88,
93
]
}
],
"range": [
88,
93
]
}
],
"range": [
39,
96
]
}
],
"patch": "insert",
"range": [
39,
97
]
}
],
"hasChanges": true,
"range": [
39,
97
],
"number": 2
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
108,
113
]
}
],
"range": [
108,
113
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
115,
120
]
}
],
"range": [
115,
120
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
122,
127
]
}
],
"range": [
122,
127
]
}
],
"range": [
97,
128
]
}
],
"patch": "insert",
"range": [
97,
129
]
}
],
"hasChanges": true,
"range": [
97,
129
],
"number": 3
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
140,
145
]
},
{
"category": "Identifier",
"range": [
148,
154
]
}
],
"range": [
140,
154
]
}
],
"range": [
140,
154
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
156,
161
]
},
{
"category": "Identifier",
"range": [
164,
170
]
}
],
"range": [
156,
170
]
}
],
"range": [
156,
170
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
172,
177
]
}
],
"range": [
172,
177
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
179,
184
]
}
],
"range": [
179,
184
]
}
],
"range": [
129,
185
]
}
],
"patch": "insert",
"range": [
129,
186
]
}
],
"hasChanges": true,
"range": [
129,
186
],
"number": 4
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
201,
214
]
}
],
"range": [
186,
215
]
}
],
"patch": "insert",
"range": [
186,
216
]
}
],
"hasChanges": true,
"range": [
186,
216
],
"number": 5
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
243,
246
]
}
],
"range": [
231,
246
]
}
],
"range": [
216,
247
]
}
],
"patch": "insert",
"range": [
216,
248
]
}
],
"hasChanges": true,
"range": [
216,
248
],
"number": 6
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
272,
277
]
},
{
"category": "ExpressionStatements",
"range": [
280,
283
]
}
],
"range": [
263,
283
]
}
],
"range": [
248,
284
]
}
],
"patch": "insert",
"range": [
248,
285
]
}
],
"hasChanges": true,
"range": [
248,
285
],
"number": 7
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
294,
299
]
},
{
"category": "Identifier",
"range": [
303,
310
]
}
],
"range": [
294,
310
]
}
],
"range": [
285,
313
]
}
],
"patch": "insert",
"range": [
285,
314
]
}
],
"hasChanges": true,
"range": [
285,
314
],
"number": 8
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
328,
333
]
}
],
"range": [
314,
334
]
}
],
"patch": "insert",
"range": [
314,
335
]
}
],
"hasChanges": true,
"range": [
314,
335
],
"number": 9
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
344,
349
]
}
],
"range": [
344,
349
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
351,
356
]
}
],
"range": [
351,
356
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
358,
363
]
}
],
"range": [
358,
363
]
},
{
"category": "StringLiteral",
"range": [
371,
376
]
}
],
"range": [
335,
377
]
}
],
"patch": "insert",
"range": [
335,
378
]
}
],
"hasChanges": true,
"range": [
335,
378
],
"number": 10
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
387,
394
]
},
{
"category": "Identifier",
"range": [
398,
403
]
}
],
"range": [
387,
403
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
405,
412
]
},
{
"category": "Identifier",
"range": [
416,
421
]
}
],
"range": [
405,
421
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
423,
428
]
}
],
"range": [
423,
428
]
},
{
"category": "StringLiteral",
"range": [
436,
441
]
}
],
"range": [
378,
442
]
}
],
"patch": "insert",
"range": [
378,
443
]
}
],
"hasChanges": true,
"range": [
378,
443
],
"number": 11
}
],
[
{
"terms": [
{
"category": "Program",
"children": [],
"patch": "insert",
"range": [
443,
443
]
}
],
"hasChanges": true,
"range": [
443,
443
],
"number": 12
}
]
],
"paths": [
"export.js",
"export.js"
],
"oids": [
"e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
"dcd9320b8ffae85ce7a088ddfe4f68bb07c094f1"
]
},
"filePaths": [
"export.js"
],
"patch": [
"diff --git a/export.js b/export.js",
"index e69de29..dcd9320 100644",
"--- a/export.js",
"+++ b/export.js",
"@@ -0,0 +1,11 @@",
"+export { name1, name2, name3, nameN };",
"+export { variable1 as name1, variable2 as name2, nameN };",
"+export let name1, name2, nameN;",
"+export let name1 = value1, name2 = value2, name3, nameN;",
"+export default namedFunction;",
"+export default function () { };",
"+export default function name1() { };",
"+export { name1 as default };",
"+export * from 'foo';",
"+export { name1, name2, nameN } from 'foo';",
"+export { import1 as name1, import2 as name2, nameN } from 'bar';"
],
"gitDir": "test/corpus/repos/javascript",
"shas": "0bb74af8eede739c6d9a6b79a13e61263d3c52e6..3d34a0f856d545b0a728805cb18bb843d66b31ef"
}
,{
"testCaseDescription": "javascript-export-replacement-insert-test",
"expectedResult": {
"rows": [
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
9,
14
]
}
],
"range": [
9,
14
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
16,
21
]
}
],
"range": [
16,
21
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
23,
28
]
}
],
"range": [
23,
28
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
30,
35
]
}
],
"range": [
30,
35
]
}
],
"patch": "insert",
"range": [
0,
38
]
}
],
"range": [
0,
39
]
}
],
"hasChanges": true,
"range": [
0,
39
],
"number": 1
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
48,
57
]
},
{
"category": "Identifier",
"range": [
61,
66
]
}
],
"range": [
48,
66
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
68,
77
]
},
{
"category": "Identifier",
"range": [
81,
86
]
}
],
"range": [
68,
86
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
88,
93
]
}
],
"range": [
88,
93
]
}
],
"patch": "insert",
"range": [
39,
96
]
}
],
"range": [
39,
97
]
}
],
"hasChanges": true,
"range": [
39,
97
],
"number": 2
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
108,
113
]
}
],
"range": [
108,
113
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
115,
120
]
}
],
"range": [
115,
120
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
122,
127
]
}
],
"range": [
122,
127
]
}
],
"patch": "insert",
"range": [
97,
128
]
}
],
"range": [
97,
129
]
}
],
"hasChanges": true,
"range": [
97,
129
],
"number": 3
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
140,
145
]
},
{
"category": "Identifier",
"range": [
148,
154
]
}
],
"range": [
140,
154
]
}
],
"range": [
140,
154
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
156,
161
]
},
{
"category": "Identifier",
"range": [
164,
170
]
}
],
"range": [
156,
170
]
}
],
"range": [
156,
170
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
172,
177
]
}
],
"range": [
172,
177
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
179,
184
]
}
],
"range": [
179,
184
]
}
],
"patch": "insert",
"range": [
129,
185
]
}
],
"range": [
129,
186
]
}
],
"hasChanges": true,
"range": [
129,
186
],
"number": 4
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
201,
219
]
}
],
"patch": "insert",
"range": [
186,
220
]
}
],
"range": [
186,
221
]
}
],
"hasChanges": true,
"range": [
186,
221
],
"number": 5
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
245,
253
]
},
{
"category": "ExpressionStatements",
"range": [
256,
258
]
}
],
"range": [
236,
258
]
}
],
"patch": "insert",
"range": [
221,
259
]
}
],
"range": [
221,
260
]
}
],
"hasChanges": true,
"range": [
221,
260
],
"number": 6
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
287,
289
]
}
],
"range": [
275,
289
]
}
],
"patch": "insert",
"range": [
260,
290
]
}
],
"range": [
260,
291
]
}
],
"hasChanges": true,
"range": [
260,
291
],
"number": 7
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
300,
305
]
},
{
"category": "Identifier",
"range": [
309,
318
]
}
],
"range": [
300,
318
]
}
],
"patch": "insert",
"range": [
291,
321
]
}
],
"range": [
291,
322
]
}
],
"hasChanges": true,
"range": [
291,
322
],
"number": 8
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
336,
341
]
}
],
"patch": "insert",
"range": [
322,
342
]
}
],
"range": [
322,
343
]
}
],
"hasChanges": true,
"range": [
322,
343
],
"number": 9
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
352,
357
]
}
],
"range": [
352,
357
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
359,
364
]
}
],
"range": [
359,
364
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
366,
371
]
}
],
"range": [
366,
371
]
},
{
"category": "StringLiteral",
"range": [
379,
385
]
}
],
"patch": "insert",
"range": [
343,
386
]
}
],
"range": [
343,
387
]
}
],
"hasChanges": true,
"range": [
343,
387
],
"number": 10
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
396,
403
]
},
{
"category": "Identifier",
"range": [
407,
412
]
}
],
"range": [
396,
412
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
414,
421
]
},
{
"category": "Identifier",
"range": [
425,
430
]
}
],
"range": [
414,
430
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
432,
437
]
}
],
"range": [
432,
437
]
},
{
"category": "StringLiteral",
"range": [
445,
451
]
}
],
"patch": "insert",
"range": [
387,
452
]
}
],
"range": [
387,
453
]
}
],
"hasChanges": true,
"range": [
387,
453
],
"number": 11
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
462,
467
]
}
],
"range": [
462,
467
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
469,
474
]
}
],
"range": [
469,
474
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
476,
481
]
}
],
"range": [
476,
481
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
483,
488
]
}
],
"range": [
483,
488
]
}
],
"patch": "insert",
"range": [
453,
491
]
}
],
"range": [
453,
492
]
}
],
"hasChanges": true,
"range": [
453,
492
],
"number": 12
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
501,
510
]
},
{
"category": "Identifier",
"range": [
514,
519
]
}
],
"range": [
501,
519
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
521,
530
]
},
{
"category": "Identifier",
"range": [
534,
539
]
}
],
"range": [
521,
539
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
541,
546
]
}
],
"range": [
541,
546
]
}
],
"patch": "insert",
"range": [
492,
549
]
}
],
"range": [
492,
550
]
}
],
"hasChanges": true,
"range": [
492,
550
],
"number": 13
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
561,
566
]
}
],
"range": [
561,
566
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
568,
573
]
}
],
"range": [
568,
573
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
575,
580
]
}
],
"range": [
575,
580
]
}
],
"patch": "insert",
"range": [
550,
581
]
}
],
"range": [
550,
582
]
}
],
"hasChanges": true,
"range": [
550,
582
],
"number": 14
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
593,
598
]
},
{
"category": "Identifier",
"range": [
601,
607
]
}
],
"range": [
593,
607
]
}
],
"range": [
593,
607
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
609,
614
]
},
{
"category": "Identifier",
"range": [
617,
623
]
}
],
"range": [
609,
623
]
}
],
"range": [
609,
623
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
625,
630
]
}
],
"range": [
625,
630
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
632,
637
]
}
],
"range": [
632,
637
]
}
],
"patch": "insert",
"range": [
582,
638
]
}
],
"range": [
582,
639
]
}
],
"hasChanges": true,
"range": [
582,
639
],
"number": 15
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
654,
667
]
}
],
"patch": "insert",
"range": [
639,
668
]
}
],
"range": [
639,
669
]
}
],
"hasChanges": true,
"range": [
639,
669
],
"number": 16
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
696,
699
]
}
],
"range": [
684,
699
]
}
],
"patch": "insert",
"range": [
669,
700
]
}
],
"range": [
669,
701
]
}
],
"hasChanges": true,
"range": [
669,
701
],
"number": 17
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
725,
730
]
},
{
"category": "ExpressionStatements",
"range": [
733,
736
]
}
],
"range": [
716,
736
]
}
],
"patch": "insert",
"range": [
701,
737
]
}
],
"range": [
701,
738
]
}
],
"hasChanges": true,
"range": [
701,
738
],
"number": 18
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
747,
752
]
},
{
"category": "Identifier",
"range": [
756,
763
]
}
],
"range": [
747,
763
]
}
],
"patch": "insert",
"range": [
738,
766
]
}
],
"range": [
738,
767
]
}
],
"hasChanges": true,
"range": [
738,
767
],
"number": 19
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
781,
786
]
}
],
"patch": "insert",
"range": [
767,
787
]
}
],
"range": [
767,
788
]
}
],
"hasChanges": true,
"range": [
767,
788
],
"number": 20
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
797,
802
]
}
],
"range": [
797,
802
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
804,
809
]
}
],
"range": [
804,
809
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
811,
816
]
}
],
"range": [
811,
816
]
},
{
"category": "StringLiteral",
"range": [
824,
829
]
}
],
"patch": "insert",
"range": [
788,
830
]
}
],
"range": [
788,
831
]
}
],
"hasChanges": true,
"range": [
788,
831
],
"number": 21
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
840,
847
]
},
{
"category": "Identifier",
"range": [
851,
856
]
}
],
"range": [
840,
856
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
858,
865
]
},
{
"category": "Identifier",
"range": [
869,
874
]
}
],
"range": [
858,
874
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
876,
881
]
}
],
"range": [
876,
881
]
},
{
"category": "StringLiteral",
"range": [
889,
894
]
}
],
"patch": "insert",
"range": [
831,
895
]
}
],
"range": [
831,
896
]
}
],
"hasChanges": true,
"range": [
831,
896
],
"number": 22
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
9,
14
]
}
],
"range": [
9,
14
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
16,
21
]
}
],
"range": [
16,
21
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
23,
28
]
}
],
"range": [
23,
28
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
30,
35
]
}
],
"range": [
30,
35
]
}
],
"range": [
0,
38
]
}
],
"range": [
0,
39
]
}
],
"hasChanges": false,
"range": [
0,
39
],
"number": 1
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
905,
910
]
}
],
"range": [
905,
910
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
912,
917
]
}
],
"range": [
912,
917
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
919,
924
]
}
],
"range": [
919,
924
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
926,
931
]
}
],
"range": [
926,
931
]
}
],
"range": [
896,
934
]
}
],
"range": [
896,
935
]
}
],
"hasChanges": false,
"range": [
896,
935
],
"number": 23
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
48,
57
]
},
{
"category": "Identifier",
"range": [
61,
66
]
}
],
"range": [
48,
66
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
68,
77
]
},
{
"category": "Identifier",
"range": [
81,
86
]
}
],
"range": [
68,
86
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
88,
93
]
}
],
"range": [
88,
93
]
}
],
"range": [
39,
96
]
}
],
"range": [
39,
97
]
}
],
"hasChanges": false,
"range": [
39,
97
],
"number": 2
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
944,
953
]
},
{
"category": "Identifier",
"range": [
957,
962
]
}
],
"range": [
944,
962
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
964,
973
]
},
{
"category": "Identifier",
"range": [
977,
982
]
}
],
"range": [
964,
982
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
984,
989
]
}
],
"range": [
984,
989
]
}
],
"range": [
935,
992
]
}
],
"range": [
935,
993
]
}
],
"hasChanges": false,
"range": [
935,
993
],
"number": 24
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
108,
113
]
}
],
"range": [
108,
113
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
115,
120
]
}
],
"range": [
115,
120
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
122,
127
]
}
],
"range": [
122,
127
]
}
],
"range": [
97,
128
]
}
],
"range": [
97,
129
]
}
],
"hasChanges": false,
"range": [
97,
129
],
"number": 3
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1004,
1009
]
}
],
"range": [
1004,
1009
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1011,
1016
]
}
],
"range": [
1011,
1016
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1018,
1023
]
}
],
"range": [
1018,
1023
]
}
],
"range": [
993,
1024
]
}
],
"range": [
993,
1025
]
}
],
"hasChanges": false,
"range": [
993,
1025
],
"number": 25
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
140,
145
]
},
{
"category": "Identifier",
"range": [
148,
154
]
}
],
"range": [
140,
154
]
}
],
"range": [
140,
154
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
156,
161
]
},
{
"category": "Identifier",
"range": [
164,
170
]
}
],
"range": [
156,
170
]
}
],
"range": [
156,
170
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
172,
177
]
}
],
"range": [
172,
177
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
179,
184
]
}
],
"range": [
179,
184
]
}
],
"range": [
129,
185
]
}
],
"range": [
129,
186
]
}
],
"hasChanges": false,
"range": [
129,
186
],
"number": 4
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
1036,
1041
]
},
{
"category": "Identifier",
"range": [
1044,
1050
]
}
],
"range": [
1036,
1050
]
}
],
"range": [
1036,
1050
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
1052,
1057
]
},
{
"category": "Identifier",
"range": [
1060,
1066
]
}
],
"range": [
1052,
1066
]
}
],
"range": [
1052,
1066
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1068,
1073
]
}
],
"range": [
1068,
1073
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1075,
1080
]
}
],
"range": [
1075,
1080
]
}
],
"range": [
1025,
1081
]
}
],
"range": [
1025,
1082
]
}
],
"hasChanges": false,
"range": [
1025,
1082
],
"number": 26
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
201,
214
]
}
],
"range": [
186,
215
]
}
],
"range": [
186,
216
]
}
],
"hasChanges": false,
"range": [
186,
216
],
"number": 5
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
1097,
1110
]
}
],
"range": [
1082,
1111
]
}
],
"range": [
1082,
1112
]
}
],
"hasChanges": false,
"range": [
1082,
1112
],
"number": 27
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
243,
246
]
}
],
"range": [
231,
246
]
}
],
"range": [
216,
247
]
}
],
"range": [
216,
248
]
}
],
"hasChanges": false,
"range": [
216,
248
],
"number": 6
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
1139,
1142
]
}
],
"range": [
1127,
1142
]
}
],
"range": [
1112,
1143
]
}
],
"range": [
1112,
1144
]
}
],
"hasChanges": false,
"range": [
1112,
1144
],
"number": 28
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
272,
277
]
},
{
"category": "ExpressionStatements",
"range": [
280,
283
]
}
],
"range": [
263,
283
]
}
],
"range": [
248,
284
]
}
],
"range": [
248,
285
]
}
],
"hasChanges": false,
"range": [
248,
285
],
"number": 7
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
1168,
1173
]
},
{
"category": "ExpressionStatements",
"range": [
1176,
1179
]
}
],
"range": [
1159,
1179
]
}
],
"range": [
1144,
1180
]
}
],
"range": [
1144,
1181
]
}
],
"hasChanges": false,
"range": [
1144,
1181
],
"number": 29
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
294,
299
]
},
{
"category": "Identifier",
"range": [
303,
310
]
}
],
"range": [
294,
310
]
}
],
"range": [
285,
313
]
}
],
"range": [
285,
314
]
}
],
"hasChanges": false,
"range": [
285,
314
],
"number": 8
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1190,
1195
]
},
{
"category": "Identifier",
"range": [
1199,
1206
]
}
],
"range": [
1190,
1206
]
}
],
"range": [
1181,
1209
]
}
],
"range": [
1181,
1210
]
}
],
"hasChanges": false,
"range": [
1181,
1210
],
"number": 30
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
328,
333
]
}
],
"range": [
314,
334
]
}
],
"range": [
314,
335
]
}
],
"hasChanges": false,
"range": [
314,
335
],
"number": 9
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
1224,
1229
]
}
],
"range": [
1210,
1230
]
}
],
"range": [
1210,
1231
]
}
],
"hasChanges": false,
"range": [
1210,
1231
],
"number": 31
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
344,
349
]
}
],
"range": [
344,
349
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
351,
356
]
}
],
"range": [
351,
356
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
358,
363
]
}
],
"range": [
358,
363
]
},
{
"category": "StringLiteral",
"range": [
371,
376
]
}
],
"range": [
335,
377
]
}
],
"range": [
335,
378
]
}
],
"hasChanges": false,
"range": [
335,
378
],
"number": 10
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1240,
1245
]
}
],
"range": [
1240,
1245
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1247,
1252
]
}
],
"range": [
1247,
1252
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1254,
1259
]
}
],
"range": [
1254,
1259
]
},
{
"category": "StringLiteral",
"range": [
1267,
1272
]
}
],
"range": [
1231,
1273
]
}
],
"range": [
1231,
1274
]
}
],
"hasChanges": false,
"range": [
1231,
1274
],
"number": 32
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
387,
394
]
},
{
"category": "Identifier",
"range": [
398,
403
]
}
],
"range": [
387,
403
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
405,
412
]
},
{
"category": "Identifier",
"range": [
416,
421
]
}
],
"range": [
405,
421
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
423,
428
]
}
],
"range": [
423,
428
]
},
{
"category": "StringLiteral",
"range": [
436,
441
]
}
],
"range": [
378,
442
]
}
],
"range": [
378,
443
]
}
],
"hasChanges": false,
"range": [
378,
443
],
"number": 11
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1283,
1290
]
},
{
"category": "Identifier",
"range": [
1294,
1299
]
}
],
"range": [
1283,
1299
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1301,
1308
]
},
{
"category": "Identifier",
"range": [
1312,
1317
]
}
],
"range": [
1301,
1317
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1319,
1324
]
}
],
"range": [
1319,
1324
]
},
{
"category": "StringLiteral",
"range": [
1332,
1337
]
}
],
"range": [
1274,
1338
]
}
],
"range": [
1274,
1339
]
}
],
"hasChanges": false,
"range": [
1274,
1339
],
"number": 33
}
],
[
{
"terms": [
{
"category": "Program",
"children": [],
"range": [
443,
443
]
}
],
"hasChanges": false,
"range": [
443,
443
],
"number": 12
},
{
"terms": [
{
"category": "Program",
"children": [],
"range": [
1339,
1339
]
}
],
"hasChanges": false,
"range": [
1339,
1339
],
"number": 34
}
]
],
"paths": [
"export.js",
"export.js"
],
"oids": [
"dcd9320b8ffae85ce7a088ddfe4f68bb07c094f1",
"c8b53ff3b2b7c29c2bcdc40c98608cf8b3d12134"
]
},
"filePaths": [
"export.js"
],
"patch": [
"diff --git a/export.js b/export.js",
"index dcd9320..c8b53ff 100644",
"--- a/export.js",
"+++ b/export.js",
"@@ -1,3 +1,25 @@",
"+export { name4, name5, name6, nameZ };",
"+export { variable2 as name2, variable3 as name3, nameY };",
"+export let name3, name4, nameT;",
"+export let name2 = value2, name3 = value3, name4, nameO;",
"+export default otherNamedFunction;",
"+export default function newName1() {};",
"+export default function () {};",
"+export { name2 as statement };",
"+export * from 'baz';",
"+export { name7, name8, nameP } from 'buzz';",
"+export { import6 as name6, import7 as name7, nameB } from 'fizz';",
"+export { name1, name2, name3, nameN };",
"+export { variable1 as name1, variable2 as name2, nameN };",
"+export let name1, name2, nameN;",
"+export let name1 = value1, name2 = value2, name3, nameN;",
"+export default namedFunction;",
"+export default function () { };",
"+export default function name1() { };",
"+export { name1 as default };",
"+export * from 'foo';",
"+export { name1, name2, nameN } from 'foo';",
"+export { import1 as name1, import2 as name2, nameN } from 'bar';",
" export { name1, name2, name3, nameN };",
" export { variable1 as name1, variable2 as name2, nameN };",
" export let name1, name2, nameN;"
],
"gitDir": "test/corpus/repos/javascript",
"shas": "3d34a0f856d545b0a728805cb18bb843d66b31ef..14555cd2f315cd841f9d581c0dda879f1f3d2dd7"
}
,{
"testCaseDescription": "javascript-export-delete-insert-test",
"expectedResult": {
"rows": [
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
9,
14
]
}
],
"range": [
9,
14
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
16,
21
]
}
],
"range": [
16,
21
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
23,
28
]
}
],
"range": [
23,
28
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
30,
35
]
}
],
"range": [
30,
35
]
}
],
"range": [
0,
38
]
}
],
"range": [
0,
39
]
}
],
"hasChanges": true,
"range": [
0,
39
],
"number": 1
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
9,
14
]
}
],
"range": [
9,
14
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
16,
21
]
}
],
"range": [
16,
21
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
23,
28
]
}
],
"range": [
23,
28
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
30,
35
]
}
],
"range": [
30,
35
]
}
],
"range": [
0,
38
]
}
],
"range": [
0,
39
]
}
],
"hasChanges": true,
"range": [
0,
39
],
"number": 1
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
48,
57
]
},
{
"category": "Identifier",
"patch": "replace",
"range": [
61,
66
]
}
],
"range": [
48,
66
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
68,
77
]
},
{
"category": "Identifier",
"patch": "replace",
"range": [
81,
86
]
}
],
"range": [
68,
86
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
88,
93
]
}
],
"range": [
88,
93
]
}
],
"range": [
39,
96
]
}
],
"range": [
39,
97
]
}
],
"hasChanges": true,
"range": [
39,
97
],
"number": 2
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
48,
57
]
},
{
"category": "Identifier",
"patch": "replace",
"range": [
61,
66
]
}
],
"range": [
48,
66
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
68,
77
]
},
{
"category": "Identifier",
"patch": "replace",
"range": [
81,
86
]
}
],
"range": [
68,
86
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
88,
93
]
}
],
"range": [
88,
93
]
}
],
"range": [
39,
96
]
}
],
"range": [
39,
97
]
}
],
"hasChanges": true,
"range": [
39,
97
],
"number": 2
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
108,
113
]
}
],
"range": [
108,
113
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
115,
120
]
}
],
"range": [
115,
120
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
122,
127
]
}
],
"range": [
122,
127
]
}
],
"range": [
97,
128
]
}
],
"range": [
97,
129
]
}
],
"hasChanges": true,
"range": [
97,
129
],
"number": 3
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
108,
113
]
}
],
"range": [
108,
113
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
115,
120
]
}
],
"range": [
115,
120
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
122,
127
]
}
],
"range": [
122,
127
]
}
],
"range": [
97,
128
]
}
],
"range": [
97,
129
]
}
],
"hasChanges": true,
"range": [
97,
129
],
"number": 3
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
140,
145
]
},
{
"category": "Identifier",
"patch": "replace",
"range": [
148,
154
]
}
],
"range": [
140,
154
]
}
],
"range": [
140,
154
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
156,
161
]
},
{
"category": "Identifier",
"patch": "replace",
"range": [
164,
170
]
}
],
"range": [
156,
170
]
}
],
"range": [
156,
170
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
172,
177
]
}
],
"range": [
172,
177
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
179,
184
]
}
],
"range": [
179,
184
]
}
],
"range": [
129,
185
]
}
],
"range": [
129,
186
]
}
],
"hasChanges": true,
"range": [
129,
186
],
"number": 4
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
140,
145
]
},
{
"category": "Identifier",
"patch": "replace",
"range": [
148,
154
]
}
],
"range": [
140,
154
]
}
],
"range": [
140,
154
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
156,
161
]
},
{
"category": "Identifier",
"patch": "replace",
"range": [
164,
170
]
}
],
"range": [
156,
170
]
}
],
"range": [
156,
170
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
172,
177
]
}
],
"range": [
172,
177
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
179,
184
]
}
],
"range": [
179,
184
]
}
],
"range": [
129,
185
]
}
],
"range": [
129,
186
]
}
],
"hasChanges": true,
"range": [
129,
186
],
"number": 4
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
201,
219
]
}
],
"range": [
186,
220
]
}
],
"range": [
186,
221
]
}
],
"hasChanges": true,
"range": [
186,
221
],
"number": 5
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
201,
214
]
}
],
"range": [
186,
215
]
}
],
"range": [
186,
216
]
}
],
"hasChanges": true,
"range": [
186,
216
],
"number": 5
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
243,
246
]
}
],
"range": [
231,
246
]
}
],
"patch": "insert",
"range": [
216,
247
]
}
],
"range": [
216,
248
]
}
],
"hasChanges": true,
"range": [
216,
248
],
"number": 6
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
245,
253
]
},
{
"category": "ExpressionStatements",
"patch": "replace",
"range": [
256,
258
]
}
],
"range": [
236,
258
]
}
],
"range": [
221,
259
]
}
],
"range": [
221,
260
]
}
],
"hasChanges": true,
"range": [
221,
260
],
"number": 6
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
272,
277
]
},
{
"category": "ExpressionStatements",
"patch": "replace",
"range": [
280,
283
]
}
],
"range": [
263,
283
]
}
],
"range": [
248,
284
]
}
],
"range": [
248,
285
]
}
],
"hasChanges": true,
"range": [
248,
285
],
"number": 7
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
287,
289
]
}
],
"range": [
275,
289
]
}
],
"patch": "delete",
"range": [
260,
290
]
}
],
"range": [
260,
291
]
}
],
"hasChanges": true,
"range": [
260,
291
],
"number": 7
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
300,
305
]
},
{
"category": "Identifier",
"range": [
309,
318
]
}
],
"range": [
300,
318
]
}
],
"patch": "delete",
"range": [
291,
321
]
}
],
"range": [
291,
322
]
}
],
"hasChanges": true,
"range": [
291,
322
],
"number": 8
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
336,
341
]
}
],
"patch": "delete",
"range": [
322,
342
]
}
],
"range": [
322,
343
]
}
],
"hasChanges": true,
"range": [
322,
343
],
"number": 9
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
352,
357
]
}
],
"range": [
352,
357
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
359,
364
]
}
],
"range": [
359,
364
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
366,
371
]
}
],
"range": [
366,
371
]
},
{
"category": "StringLiteral",
"range": [
379,
385
]
}
],
"patch": "delete",
"range": [
343,
386
]
}
],
"range": [
343,
387
]
}
],
"hasChanges": true,
"range": [
343,
387
],
"number": 10
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
396,
403
]
},
{
"category": "Identifier",
"range": [
407,
412
]
}
],
"range": [
396,
412
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
414,
421
]
},
{
"category": "Identifier",
"range": [
425,
430
]
}
],
"range": [
414,
430
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
432,
437
]
}
],
"range": [
432,
437
]
},
{
"category": "StringLiteral",
"range": [
445,
451
]
}
],
"patch": "delete",
"range": [
387,
452
]
}
],
"range": [
387,
453
]
}
],
"hasChanges": true,
"range": [
387,
453
],
"number": 11
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
294,
299
]
},
{
"category": "Identifier",
"range": [
303,
310
]
}
],
"range": [
294,
310
]
}
],
"patch": "insert",
"range": [
285,
313
]
}
],
"range": [
285,
314
]
}
],
"hasChanges": true,
"range": [
285,
314
],
"number": 8
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
328,
333
]
}
],
"patch": "insert",
"range": [
314,
334
]
}
],
"range": [
314,
335
]
}
],
"hasChanges": true,
"range": [
314,
335
],
"number": 9
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
344,
349
]
}
],
"range": [
344,
349
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
351,
356
]
}
],
"range": [
351,
356
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
358,
363
]
}
],
"range": [
358,
363
]
},
{
"category": "StringLiteral",
"range": [
371,
376
]
}
],
"patch": "insert",
"range": [
335,
377
]
}
],
"range": [
335,
378
]
}
],
"hasChanges": true,
"range": [
335,
378
],
"number": 10
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
387,
394
]
},
{
"category": "Identifier",
"range": [
398,
403
]
}
],
"range": [
387,
403
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
405,
412
]
},
{
"category": "Identifier",
"range": [
416,
421
]
}
],
"range": [
405,
421
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
423,
428
]
}
],
"range": [
423,
428
]
},
{
"category": "StringLiteral",
"range": [
436,
441
]
}
],
"patch": "insert",
"range": [
378,
442
]
}
],
"range": [
378,
443
]
}
],
"hasChanges": true,
"range": [
378,
443
],
"number": 11
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
462,
467
]
}
],
"range": [
462,
467
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
469,
474
]
}
],
"range": [
469,
474
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
476,
481
]
}
],
"range": [
476,
481
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
483,
488
]
}
],
"range": [
483,
488
]
}
],
"range": [
453,
491
]
}
],
"range": [
453,
492
]
}
],
"hasChanges": false,
"range": [
453,
492
],
"number": 12
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
452,
457
]
}
],
"range": [
452,
457
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
459,
464
]
}
],
"range": [
459,
464
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
466,
471
]
}
],
"range": [
466,
471
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
473,
478
]
}
],
"range": [
473,
478
]
}
],
"range": [
443,
481
]
}
],
"range": [
443,
482
]
}
],
"hasChanges": false,
"range": [
443,
482
],
"number": 12
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
501,
510
]
},
{
"category": "Identifier",
"range": [
514,
519
]
}
],
"range": [
501,
519
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
521,
530
]
},
{
"category": "Identifier",
"range": [
534,
539
]
}
],
"range": [
521,
539
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
541,
546
]
}
],
"range": [
541,
546
]
}
],
"range": [
492,
549
]
}
],
"range": [
492,
550
]
}
],
"hasChanges": false,
"range": [
492,
550
],
"number": 13
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
491,
500
]
},
{
"category": "Identifier",
"range": [
504,
509
]
}
],
"range": [
491,
509
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
511,
520
]
},
{
"category": "Identifier",
"range": [
524,
529
]
}
],
"range": [
511,
529
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
531,
536
]
}
],
"range": [
531,
536
]
}
],
"range": [
482,
539
]
}
],
"range": [
482,
540
]
}
],
"hasChanges": false,
"range": [
482,
540
],
"number": 13
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
561,
566
]
}
],
"range": [
561,
566
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
568,
573
]
}
],
"range": [
568,
573
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
575,
580
]
}
],
"range": [
575,
580
]
}
],
"range": [
550,
581
]
}
],
"range": [
550,
582
]
}
],
"hasChanges": false,
"range": [
550,
582
],
"number": 14
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
551,
556
]
}
],
"range": [
551,
556
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
558,
563
]
}
],
"range": [
558,
563
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
565,
570
]
}
],
"range": [
565,
570
]
}
],
"range": [
540,
571
]
}
],
"range": [
540,
572
]
}
],
"hasChanges": false,
"range": [
540,
572
],
"number": 14
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
593,
598
]
},
{
"category": "Identifier",
"range": [
601,
607
]
}
],
"range": [
593,
607
]
}
],
"range": [
593,
607
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
609,
614
]
},
{
"category": "Identifier",
"range": [
617,
623
]
}
],
"range": [
609,
623
]
}
],
"range": [
609,
623
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
625,
630
]
}
],
"range": [
625,
630
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
632,
637
]
}
],
"range": [
632,
637
]
}
],
"range": [
582,
638
]
}
],
"range": [
582,
639
]
}
],
"hasChanges": false,
"range": [
582,
639
],
"number": 15
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
583,
588
]
},
{
"category": "Identifier",
"range": [
591,
597
]
}
],
"range": [
583,
597
]
}
],
"range": [
583,
597
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
599,
604
]
},
{
"category": "Identifier",
"range": [
607,
613
]
}
],
"range": [
599,
613
]
}
],
"range": [
599,
613
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
615,
620
]
}
],
"range": [
615,
620
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
622,
627
]
}
],
"range": [
622,
627
]
}
],
"range": [
572,
628
]
}
],
"range": [
572,
629
]
}
],
"hasChanges": false,
"range": [
572,
629
],
"number": 15
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
654,
667
]
}
],
"range": [
639,
668
]
}
],
"range": [
639,
669
]
}
],
"hasChanges": false,
"range": [
639,
669
],
"number": 16
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
644,
657
]
}
],
"range": [
629,
658
]
}
],
"range": [
629,
659
]
}
],
"hasChanges": false,
"range": [
629,
659
],
"number": 16
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
696,
699
]
}
],
"range": [
684,
699
]
}
],
"range": [
669,
700
]
}
],
"range": [
669,
701
]
}
],
"hasChanges": false,
"range": [
669,
701
],
"number": 17
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
686,
689
]
}
],
"range": [
674,
689
]
}
],
"range": [
659,
690
]
}
],
"range": [
659,
691
]
}
],
"hasChanges": false,
"range": [
659,
691
],
"number": 17
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
725,
730
]
},
{
"category": "ExpressionStatements",
"range": [
733,
736
]
}
],
"range": [
716,
736
]
}
],
"range": [
701,
737
]
}
],
"range": [
701,
738
]
}
],
"hasChanges": false,
"range": [
701,
738
],
"number": 18
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
715,
720
]
},
{
"category": "ExpressionStatements",
"range": [
723,
726
]
}
],
"range": [
706,
726
]
}
],
"range": [
691,
727
]
}
],
"range": [
691,
728
]
}
],
"hasChanges": false,
"range": [
691,
728
],
"number": 18
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
747,
752
]
},
{
"category": "Identifier",
"range": [
756,
763
]
}
],
"range": [
747,
763
]
}
],
"range": [
738,
766
]
}
],
"range": [
738,
767
]
}
],
"hasChanges": false,
"range": [
738,
767
],
"number": 19
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
737,
742
]
},
{
"category": "Identifier",
"range": [
746,
753
]
}
],
"range": [
737,
753
]
}
],
"range": [
728,
756
]
}
],
"range": [
728,
757
]
}
],
"hasChanges": false,
"range": [
728,
757
],
"number": 19
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
781,
786
]
}
],
"range": [
767,
787
]
}
],
"range": [
767,
788
]
}
],
"hasChanges": false,
"range": [
767,
788
],
"number": 20
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
771,
776
]
}
],
"range": [
757,
777
]
}
],
"range": [
757,
778
]
}
],
"hasChanges": false,
"range": [
757,
778
],
"number": 20
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
797,
802
]
}
],
"range": [
797,
802
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
804,
809
]
}
],
"range": [
804,
809
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
811,
816
]
}
],
"range": [
811,
816
]
},
{
"category": "StringLiteral",
"range": [
824,
829
]
}
],
"range": [
788,
830
]
}
],
"range": [
788,
831
]
}
],
"hasChanges": false,
"range": [
788,
831
],
"number": 21
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
787,
792
]
}
],
"range": [
787,
792
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
794,
799
]
}
],
"range": [
794,
799
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
801,
806
]
}
],
"range": [
801,
806
]
},
{
"category": "StringLiteral",
"range": [
814,
819
]
}
],
"range": [
778,
820
]
}
],
"range": [
778,
821
]
}
],
"hasChanges": false,
"range": [
778,
821
],
"number": 21
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
840,
847
]
},
{
"category": "Identifier",
"range": [
851,
856
]
}
],
"range": [
840,
856
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
858,
865
]
},
{
"category": "Identifier",
"range": [
869,
874
]
}
],
"range": [
858,
874
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
876,
881
]
}
],
"range": [
876,
881
]
},
{
"category": "StringLiteral",
"range": [
889,
894
]
}
],
"range": [
831,
895
]
}
],
"range": [
831,
896
]
}
],
"hasChanges": false,
"range": [
831,
896
],
"number": 22
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
830,
837
]
},
{
"category": "Identifier",
"range": [
841,
846
]
}
],
"range": [
830,
846
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
848,
855
]
},
{
"category": "Identifier",
"range": [
859,
864
]
}
],
"range": [
848,
864
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
866,
871
]
}
],
"range": [
866,
871
]
},
{
"category": "StringLiteral",
"range": [
879,
884
]
}
],
"range": [
821,
885
]
}
],
"range": [
821,
886
]
}
],
"hasChanges": false,
"range": [
821,
886
],
"number": 22
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
905,
910
]
}
],
"range": [
905,
910
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
912,
917
]
}
],
"range": [
912,
917
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
919,
924
]
}
],
"range": [
919,
924
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
926,
931
]
}
],
"range": [
926,
931
]
}
],
"range": [
896,
934
]
}
],
"range": [
896,
935
]
}
],
"hasChanges": false,
"range": [
896,
935
],
"number": 23
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
895,
900
]
}
],
"range": [
895,
900
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
902,
907
]
}
],
"range": [
902,
907
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
909,
914
]
}
],
"range": [
909,
914
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
916,
921
]
}
],
"range": [
916,
921
]
}
],
"range": [
886,
924
]
}
],
"range": [
886,
925
]
}
],
"hasChanges": false,
"range": [
886,
925
],
"number": 23
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
944,
953
]
},
{
"category": "Identifier",
"range": [
957,
962
]
}
],
"range": [
944,
962
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
964,
973
]
},
{
"category": "Identifier",
"range": [
977,
982
]
}
],
"range": [
964,
982
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
984,
989
]
}
],
"range": [
984,
989
]
}
],
"range": [
935,
992
]
}
],
"range": [
935,
993
]
}
],
"hasChanges": false,
"range": [
935,
993
],
"number": 24
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
934,
943
]
},
{
"category": "Identifier",
"range": [
947,
952
]
}
],
"range": [
934,
952
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
954,
963
]
},
{
"category": "Identifier",
"range": [
967,
972
]
}
],
"range": [
954,
972
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
974,
979
]
}
],
"range": [
974,
979
]
}
],
"range": [
925,
982
]
}
],
"range": [
925,
983
]
}
],
"hasChanges": false,
"range": [
925,
983
],
"number": 24
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1004,
1009
]
}
],
"range": [
1004,
1009
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1011,
1016
]
}
],
"range": [
1011,
1016
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1018,
1023
]
}
],
"range": [
1018,
1023
]
}
],
"range": [
993,
1024
]
}
],
"range": [
993,
1025
]
}
],
"hasChanges": false,
"range": [
993,
1025
],
"number": 25
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
994,
999
]
}
],
"range": [
994,
999
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1001,
1006
]
}
],
"range": [
1001,
1006
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1008,
1013
]
}
],
"range": [
1008,
1013
]
}
],
"range": [
983,
1014
]
}
],
"range": [
983,
1015
]
}
],
"hasChanges": false,
"range": [
983,
1015
],
"number": 25
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
1036,
1041
]
},
{
"category": "Identifier",
"range": [
1044,
1050
]
}
],
"range": [
1036,
1050
]
}
],
"range": [
1036,
1050
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
1052,
1057
]
},
{
"category": "Identifier",
"range": [
1060,
1066
]
}
],
"range": [
1052,
1066
]
}
],
"range": [
1052,
1066
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1068,
1073
]
}
],
"range": [
1068,
1073
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1075,
1080
]
}
],
"range": [
1075,
1080
]
}
],
"range": [
1025,
1081
]
}
],
"range": [
1025,
1082
]
}
],
"hasChanges": false,
"range": [
1025,
1082
],
"number": 26
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
1026,
1031
]
},
{
"category": "Identifier",
"range": [
1034,
1040
]
}
],
"range": [
1026,
1040
]
}
],
"range": [
1026,
1040
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
1042,
1047
]
},
{
"category": "Identifier",
"range": [
1050,
1056
]
}
],
"range": [
1042,
1056
]
}
],
"range": [
1042,
1056
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1058,
1063
]
}
],
"range": [
1058,
1063
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1065,
1070
]
}
],
"range": [
1065,
1070
]
}
],
"range": [
1015,
1071
]
}
],
"range": [
1015,
1072
]
}
],
"hasChanges": false,
"range": [
1015,
1072
],
"number": 26
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
1097,
1110
]
}
],
"range": [
1082,
1111
]
}
],
"range": [
1082,
1112
]
}
],
"hasChanges": false,
"range": [
1082,
1112
],
"number": 27
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
1087,
1100
]
}
],
"range": [
1072,
1101
]
}
],
"range": [
1072,
1102
]
}
],
"hasChanges": false,
"range": [
1072,
1102
],
"number": 27
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
1139,
1142
]
}
],
"range": [
1127,
1142
]
}
],
"range": [
1112,
1143
]
}
],
"range": [
1112,
1144
]
}
],
"hasChanges": false,
"range": [
1112,
1144
],
"number": 28
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
1129,
1132
]
}
],
"range": [
1117,
1132
]
}
],
"range": [
1102,
1133
]
}
],
"range": [
1102,
1134
]
}
],
"hasChanges": false,
"range": [
1102,
1134
],
"number": 28
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
1168,
1173
]
},
{
"category": "ExpressionStatements",
"range": [
1176,
1179
]
}
],
"range": [
1159,
1179
]
}
],
"range": [
1144,
1180
]
}
],
"range": [
1144,
1181
]
}
],
"hasChanges": false,
"range": [
1144,
1181
],
"number": 29
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
1158,
1163
]
},
{
"category": "ExpressionStatements",
"range": [
1166,
1169
]
}
],
"range": [
1149,
1169
]
}
],
"range": [
1134,
1170
]
}
],
"range": [
1134,
1171
]
}
],
"hasChanges": false,
"range": [
1134,
1171
],
"number": 29
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1190,
1195
]
},
{
"category": "Identifier",
"range": [
1199,
1206
]
}
],
"range": [
1190,
1206
]
}
],
"range": [
1181,
1209
]
}
],
"range": [
1181,
1210
]
}
],
"hasChanges": false,
"range": [
1181,
1210
],
"number": 30
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1180,
1185
]
},
{
"category": "Identifier",
"range": [
1189,
1196
]
}
],
"range": [
1180,
1196
]
}
],
"range": [
1171,
1199
]
}
],
"range": [
1171,
1200
]
}
],
"hasChanges": false,
"range": [
1171,
1200
],
"number": 30
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
1224,
1229
]
}
],
"range": [
1210,
1230
]
}
],
"range": [
1210,
1231
]
}
],
"hasChanges": false,
"range": [
1210,
1231
],
"number": 31
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
1214,
1219
]
}
],
"range": [
1200,
1220
]
}
],
"range": [
1200,
1221
]
}
],
"hasChanges": false,
"range": [
1200,
1221
],
"number": 31
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1240,
1245
]
}
],
"range": [
1240,
1245
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1247,
1252
]
}
],
"range": [
1247,
1252
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1254,
1259
]
}
],
"range": [
1254,
1259
]
},
{
"category": "StringLiteral",
"range": [
1267,
1272
]
}
],
"range": [
1231,
1273
]
}
],
"range": [
1231,
1274
]
}
],
"hasChanges": false,
"range": [
1231,
1274
],
"number": 32
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1230,
1235
]
}
],
"range": [
1230,
1235
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1237,
1242
]
}
],
"range": [
1237,
1242
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1244,
1249
]
}
],
"range": [
1244,
1249
]
},
{
"category": "StringLiteral",
"range": [
1257,
1262
]
}
],
"range": [
1221,
1263
]
}
],
"range": [
1221,
1264
]
}
],
"hasChanges": false,
"range": [
1221,
1264
],
"number": 32
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1283,
1290
]
},
{
"category": "Identifier",
"range": [
1294,
1299
]
}
],
"range": [
1283,
1299
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1301,
1308
]
},
{
"category": "Identifier",
"range": [
1312,
1317
]
}
],
"range": [
1301,
1317
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1319,
1324
]
}
],
"range": [
1319,
1324
]
},
{
"category": "StringLiteral",
"range": [
1332,
1337
]
}
],
"range": [
1274,
1338
]
}
],
"range": [
1274,
1339
]
}
],
"hasChanges": false,
"range": [
1274,
1339
],
"number": 33
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1273,
1280
]
},
{
"category": "Identifier",
"range": [
1284,
1289
]
}
],
"range": [
1273,
1289
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1291,
1298
]
},
{
"category": "Identifier",
"range": [
1302,
1307
]
}
],
"range": [
1291,
1307
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1309,
1314
]
}
],
"range": [
1309,
1314
]
},
{
"category": "StringLiteral",
"range": [
1322,
1327
]
}
],
"range": [
1264,
1328
]
}
],
"range": [
1264,
1329
]
}
],
"hasChanges": false,
"range": [
1264,
1329
],
"number": 33
}
],
[
{
"terms": [
{
"category": "Program",
"children": [],
"range": [
1339,
1339
]
}
],
"hasChanges": false,
"range": [
1339,
1339
],
"number": 34
},
{
"terms": [
{
"category": "Program",
"children": [],
"range": [
1329,
1329
]
}
],
"hasChanges": false,
"range": [
1329,
1329
],
"number": 34
}
]
],
"paths": [
"export.js",
"export.js"
],
"oids": [
"c8b53ff3b2b7c29c2bcdc40c98608cf8b3d12134",
"ad3f21a7fe9774273122870974fe3b901777e880"
]
},
"filePaths": [
"export.js"
],
"patch": [
"diff --git a/export.js b/export.js",
"index c8b53ff..ad3f21a 100644",
"--- a/export.js",
"+++ b/export.js",
"@@ -1,14 +1,14 @@",
"-export { name4, name5, name6, nameZ };",
"-export { variable2 as name2, variable3 as name3, nameY };",
"-export let name3, name4, nameT;",
"-export let name2 = value2, name3 = value3, name4, nameO;",
"-export default otherNamedFunction;",
"-export default function newName1() {};",
"-export default function () {};",
"-export { name2 as statement };",
"-export * from 'baz';",
"-export { name7, name8, nameP } from 'buzz';",
"-export { import6 as name6, import7 as name7, nameB } from 'fizz';",
"+export { name1, name2, name3, nameN };",
"+export { variable1 as name1, variable2 as name2, nameN };",
"+export let name1, name2, nameN;",
"+export let name1 = value1, name2 = value2, name3, nameN;",
"+export default namedFunction;",
"+export default function () { };",
"+export default function name1() { };",
"+export { name1 as default };",
"+export * from 'foo';",
"+export { name1, name2, nameN } from 'foo';",
"+export { import1 as name1, import2 as name2, nameN } from 'bar';",
" export { name1, name2, name3, nameN };",
" export { variable1 as name1, variable2 as name2, nameN };",
" export let name1, name2, nameN;"
],
"gitDir": "test/corpus/repos/javascript",
"shas": "14555cd2f315cd841f9d581c0dda879f1f3d2dd7..db45ffdca40149b2a8ab65cef948169930779ced"
}
,{
"testCaseDescription": "javascript-export-replacement-test",
"expectedResult": {
"rows": [
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
9,
14
]
}
],
"range": [
9,
14
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
16,
21
]
}
],
"range": [
16,
21
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
23,
28
]
}
],
"range": [
23,
28
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
30,
35
]
}
],
"range": [
30,
35
]
}
],
"range": [
0,
38
]
}
],
"range": [
0,
39
]
}
],
"hasChanges": true,
"range": [
0,
39
],
"number": 1
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
9,
14
]
}
],
"range": [
9,
14
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
16,
21
]
}
],
"range": [
16,
21
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
23,
28
]
}
],
"range": [
23,
28
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"patch": "replace",
"range": [
30,
35
]
}
],
"range": [
30,
35
]
}
],
"range": [
0,
38
]
}
],
"range": [
0,
39
]
}
],
"hasChanges": true,
"range": [
0,
39
],
"number": 1
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
48,
57
]
},
{
"category": "Identifier",
"range": [
61,
66
]
}
],
"range": [
48,
66
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
68,
77
]
},
{
"category": "Identifier",
"range": [
81,
86
]
}
],
"range": [
68,
86
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
88,
93
]
}
],
"range": [
88,
93
]
}
],
"patch": "delete",
"range": [
39,
96
]
}
],
"range": [
39,
97
]
}
],
"hasChanges": true,
"range": [
39,
97
],
"number": 2
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
108,
113
]
}
],
"range": [
108,
113
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
115,
120
]
}
],
"range": [
115,
120
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
122,
127
]
}
],
"range": [
122,
127
]
}
],
"patch": "delete",
"range": [
97,
128
]
}
],
"range": [
97,
129
]
}
],
"hasChanges": true,
"range": [
97,
129
],
"number": 3
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
140,
145
]
},
{
"category": "Identifier",
"range": [
148,
154
]
}
],
"range": [
140,
154
]
}
],
"range": [
140,
154
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
156,
161
]
},
{
"category": "Identifier",
"range": [
164,
170
]
}
],
"range": [
156,
170
]
}
],
"range": [
156,
170
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
172,
177
]
}
],
"range": [
172,
177
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
179,
184
]
}
],
"range": [
179,
184
]
}
],
"patch": "delete",
"range": [
129,
185
]
}
],
"range": [
129,
186
]
}
],
"hasChanges": true,
"range": [
129,
186
],
"number": 4
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
201,
214
]
}
],
"patch": "delete",
"range": [
186,
215
]
}
],
"range": [
186,
216
]
}
],
"hasChanges": true,
"range": [
186,
216
],
"number": 5
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
243,
246
]
}
],
"range": [
231,
246
]
}
],
"patch": "delete",
"range": [
216,
247
]
}
],
"range": [
216,
248
]
}
],
"hasChanges": true,
"range": [
216,
248
],
"number": 6
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
272,
277
]
},
{
"category": "ExpressionStatements",
"range": [
280,
283
]
}
],
"range": [
263,
283
]
}
],
"patch": "delete",
"range": [
248,
284
]
}
],
"range": [
248,
285
]
}
],
"hasChanges": true,
"range": [
248,
285
],
"number": 7
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
294,
299
]
},
{
"category": "Identifier",
"range": [
303,
310
]
}
],
"range": [
294,
310
]
}
],
"patch": "delete",
"range": [
285,
313
]
}
],
"range": [
285,
314
]
}
],
"hasChanges": true,
"range": [
285,
314
],
"number": 8
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
328,
333
]
}
],
"patch": "delete",
"range": [
314,
334
]
}
],
"range": [
314,
335
]
}
],
"hasChanges": true,
"range": [
314,
335
],
"number": 9
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
344,
349
]
}
],
"range": [
344,
349
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
351,
356
]
}
],
"range": [
351,
356
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
358,
363
]
}
],
"range": [
358,
363
]
},
{
"category": "StringLiteral",
"range": [
371,
376
]
}
],
"patch": "delete",
"range": [
335,
377
]
}
],
"range": [
335,
378
]
}
],
"hasChanges": true,
"range": [
335,
378
],
"number": 10
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
387,
394
]
},
{
"category": "Identifier",
"range": [
398,
403
]
}
],
"range": [
387,
403
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
405,
412
]
},
{
"category": "Identifier",
"range": [
416,
421
]
}
],
"range": [
405,
421
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
423,
428
]
}
],
"range": [
423,
428
]
},
{
"category": "StringLiteral",
"range": [
436,
441
]
}
],
"patch": "delete",
"range": [
378,
442
]
}
],
"range": [
378,
443
]
}
],
"hasChanges": true,
"range": [
378,
443
],
"number": 11
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
48,
57
]
},
{
"category": "Identifier",
"range": [
61,
66
]
}
],
"range": [
48,
66
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
68,
77
]
},
{
"category": "Identifier",
"range": [
81,
86
]
}
],
"range": [
68,
86
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
88,
93
]
}
],
"range": [
88,
93
]
}
],
"patch": "insert",
"range": [
39,
96
]
}
],
"range": [
39,
97
]
}
],
"hasChanges": true,
"range": [
39,
97
],
"number": 2
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
108,
113
]
}
],
"range": [
108,
113
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
115,
120
]
}
],
"range": [
115,
120
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
122,
127
]
}
],
"range": [
122,
127
]
}
],
"patch": "insert",
"range": [
97,
128
]
}
],
"range": [
97,
129
]
}
],
"hasChanges": true,
"range": [
97,
129
],
"number": 3
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
140,
145
]
},
{
"category": "Identifier",
"range": [
148,
154
]
}
],
"range": [
140,
154
]
}
],
"range": [
140,
154
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
156,
161
]
},
{
"category": "Identifier",
"range": [
164,
170
]
}
],
"range": [
156,
170
]
}
],
"range": [
156,
170
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
172,
177
]
}
],
"range": [
172,
177
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
179,
184
]
}
],
"range": [
179,
184
]
}
],
"patch": "insert",
"range": [
129,
185
]
}
],
"range": [
129,
186
]
}
],
"hasChanges": true,
"range": [
129,
186
],
"number": 4
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
201,
219
]
}
],
"patch": "insert",
"range": [
186,
220
]
}
],
"range": [
186,
221
]
}
],
"hasChanges": true,
"range": [
186,
221
],
"number": 5
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
245,
253
]
},
{
"category": "ExpressionStatements",
"range": [
256,
258
]
}
],
"range": [
236,
258
]
}
],
"patch": "insert",
"range": [
221,
259
]
}
],
"range": [
221,
260
]
}
],
"hasChanges": true,
"range": [
221,
260
],
"number": 6
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
287,
289
]
}
],
"range": [
275,
289
]
}
],
"patch": "insert",
"range": [
260,
290
]
}
],
"range": [
260,
291
]
}
],
"hasChanges": true,
"range": [
260,
291
],
"number": 7
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
300,
305
]
},
{
"category": "Identifier",
"range": [
309,
318
]
}
],
"range": [
300,
318
]
}
],
"patch": "insert",
"range": [
291,
321
]
}
],
"range": [
291,
322
]
}
],
"hasChanges": true,
"range": [
291,
322
],
"number": 8
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
336,
341
]
}
],
"patch": "insert",
"range": [
322,
342
]
}
],
"range": [
322,
343
]
}
],
"hasChanges": true,
"range": [
322,
343
],
"number": 9
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
352,
357
]
}
],
"range": [
352,
357
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
359,
364
]
}
],
"range": [
359,
364
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
366,
371
]
}
],
"range": [
366,
371
]
},
{
"category": "StringLiteral",
"range": [
379,
385
]
}
],
"patch": "insert",
"range": [
343,
386
]
}
],
"range": [
343,
387
]
}
],
"hasChanges": true,
"range": [
343,
387
],
"number": 10
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
396,
403
]
},
{
"category": "Identifier",
"range": [
407,
412
]
}
],
"range": [
396,
412
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
414,
421
]
},
{
"category": "Identifier",
"range": [
425,
430
]
}
],
"range": [
414,
430
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
432,
437
]
}
],
"range": [
432,
437
]
},
{
"category": "StringLiteral",
"range": [
445,
451
]
}
],
"patch": "insert",
"range": [
387,
452
]
}
],
"range": [
387,
453
]
}
],
"hasChanges": true,
"range": [
387,
453
],
"number": 11
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
452,
457
]
}
],
"range": [
452,
457
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
459,
464
]
}
],
"range": [
459,
464
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
466,
471
]
}
],
"range": [
466,
471
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
473,
478
]
}
],
"range": [
473,
478
]
}
],
"range": [
443,
481
]
}
],
"range": [
443,
482
]
}
],
"hasChanges": false,
"range": [
443,
482
],
"number": 12
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
462,
467
]
}
],
"range": [
462,
467
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
469,
474
]
}
],
"range": [
469,
474
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
476,
481
]
}
],
"range": [
476,
481
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
483,
488
]
}
],
"range": [
483,
488
]
}
],
"range": [
453,
491
]
}
],
"range": [
453,
492
]
}
],
"hasChanges": false,
"range": [
453,
492
],
"number": 12
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
491,
500
]
},
{
"category": "Identifier",
"range": [
504,
509
]
}
],
"range": [
491,
509
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
511,
520
]
},
{
"category": "Identifier",
"range": [
524,
529
]
}
],
"range": [
511,
529
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
531,
536
]
}
],
"range": [
531,
536
]
}
],
"range": [
482,
539
]
}
],
"range": [
482,
540
]
}
],
"hasChanges": false,
"range": [
482,
540
],
"number": 13
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
501,
510
]
},
{
"category": "Identifier",
"range": [
514,
519
]
}
],
"range": [
501,
519
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
521,
530
]
},
{
"category": "Identifier",
"range": [
534,
539
]
}
],
"range": [
521,
539
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
541,
546
]
}
],
"range": [
541,
546
]
}
],
"range": [
492,
549
]
}
],
"range": [
492,
550
]
}
],
"hasChanges": false,
"range": [
492,
550
],
"number": 13
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
551,
556
]
}
],
"range": [
551,
556
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
558,
563
]
}
],
"range": [
558,
563
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
565,
570
]
}
],
"range": [
565,
570
]
}
],
"range": [
540,
571
]
}
],
"range": [
540,
572
]
}
],
"hasChanges": false,
"range": [
540,
572
],
"number": 14
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
561,
566
]
}
],
"range": [
561,
566
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
568,
573
]
}
],
"range": [
568,
573
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
575,
580
]
}
],
"range": [
575,
580
]
}
],
"range": [
550,
581
]
}
],
"range": [
550,
582
]
}
],
"hasChanges": false,
"range": [
550,
582
],
"number": 14
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
583,
588
]
},
{
"category": "Identifier",
"range": [
591,
597
]
}
],
"range": [
583,
597
]
}
],
"range": [
583,
597
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
599,
604
]
},
{
"category": "Identifier",
"range": [
607,
613
]
}
],
"range": [
599,
613
]
}
],
"range": [
599,
613
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
615,
620
]
}
],
"range": [
615,
620
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
622,
627
]
}
],
"range": [
622,
627
]
}
],
"range": [
572,
628
]
}
],
"range": [
572,
629
]
}
],
"hasChanges": false,
"range": [
572,
629
],
"number": 15
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
593,
598
]
},
{
"category": "Identifier",
"range": [
601,
607
]
}
],
"range": [
593,
607
]
}
],
"range": [
593,
607
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
609,
614
]
},
{
"category": "Identifier",
"range": [
617,
623
]
}
],
"range": [
609,
623
]
}
],
"range": [
609,
623
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
625,
630
]
}
],
"range": [
625,
630
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
632,
637
]
}
],
"range": [
632,
637
]
}
],
"range": [
582,
638
]
}
],
"range": [
582,
639
]
}
],
"hasChanges": false,
"range": [
582,
639
],
"number": 15
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
644,
657
]
}
],
"range": [
629,
658
]
}
],
"range": [
629,
659
]
}
],
"hasChanges": false,
"range": [
629,
659
],
"number": 16
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
654,
667
]
}
],
"range": [
639,
668
]
}
],
"range": [
639,
669
]
}
],
"hasChanges": false,
"range": [
639,
669
],
"number": 16
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
686,
689
]
}
],
"range": [
674,
689
]
}
],
"range": [
659,
690
]
}
],
"range": [
659,
691
]
}
],
"hasChanges": false,
"range": [
659,
691
],
"number": 17
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
696,
699
]
}
],
"range": [
684,
699
]
}
],
"range": [
669,
700
]
}
],
"range": [
669,
701
]
}
],
"hasChanges": false,
"range": [
669,
701
],
"number": 17
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
715,
720
]
},
{
"category": "ExpressionStatements",
"range": [
723,
726
]
}
],
"range": [
706,
726
]
}
],
"range": [
691,
727
]
}
],
"range": [
691,
728
]
}
],
"hasChanges": false,
"range": [
691,
728
],
"number": 18
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
725,
730
]
},
{
"category": "ExpressionStatements",
"range": [
733,
736
]
}
],
"range": [
716,
736
]
}
],
"range": [
701,
737
]
}
],
"range": [
701,
738
]
}
],
"hasChanges": false,
"range": [
701,
738
],
"number": 18
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
737,
742
]
},
{
"category": "Identifier",
"range": [
746,
753
]
}
],
"range": [
737,
753
]
}
],
"range": [
728,
756
]
}
],
"range": [
728,
757
]
}
],
"hasChanges": false,
"range": [
728,
757
],
"number": 19
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
747,
752
]
},
{
"category": "Identifier",
"range": [
756,
763
]
}
],
"range": [
747,
763
]
}
],
"range": [
738,
766
]
}
],
"range": [
738,
767
]
}
],
"hasChanges": false,
"range": [
738,
767
],
"number": 19
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
771,
776
]
}
],
"range": [
757,
777
]
}
],
"range": [
757,
778
]
}
],
"hasChanges": false,
"range": [
757,
778
],
"number": 20
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
781,
786
]
}
],
"range": [
767,
787
]
}
],
"range": [
767,
788
]
}
],
"hasChanges": false,
"range": [
767,
788
],
"number": 20
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
787,
792
]
}
],
"range": [
787,
792
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
794,
799
]
}
],
"range": [
794,
799
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
801,
806
]
}
],
"range": [
801,
806
]
},
{
"category": "StringLiteral",
"range": [
814,
819
]
}
],
"range": [
778,
820
]
}
],
"range": [
778,
821
]
}
],
"hasChanges": false,
"range": [
778,
821
],
"number": 21
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
797,
802
]
}
],
"range": [
797,
802
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
804,
809
]
}
],
"range": [
804,
809
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
811,
816
]
}
],
"range": [
811,
816
]
},
{
"category": "StringLiteral",
"range": [
824,
829
]
}
],
"range": [
788,
830
]
}
],
"range": [
788,
831
]
}
],
"hasChanges": false,
"range": [
788,
831
],
"number": 21
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
830,
837
]
},
{
"category": "Identifier",
"range": [
841,
846
]
}
],
"range": [
830,
846
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
848,
855
]
},
{
"category": "Identifier",
"range": [
859,
864
]
}
],
"range": [
848,
864
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
866,
871
]
}
],
"range": [
866,
871
]
},
{
"category": "StringLiteral",
"range": [
879,
884
]
}
],
"range": [
821,
885
]
}
],
"range": [
821,
886
]
}
],
"hasChanges": false,
"range": [
821,
886
],
"number": 22
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
840,
847
]
},
{
"category": "Identifier",
"range": [
851,
856
]
}
],
"range": [
840,
856
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
858,
865
]
},
{
"category": "Identifier",
"range": [
869,
874
]
}
],
"range": [
858,
874
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
876,
881
]
}
],
"range": [
876,
881
]
},
{
"category": "StringLiteral",
"range": [
889,
894
]
}
],
"range": [
831,
895
]
}
],
"range": [
831,
896
]
}
],
"hasChanges": false,
"range": [
831,
896
],
"number": 22
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
895,
900
]
}
],
"range": [
895,
900
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
902,
907
]
}
],
"range": [
902,
907
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
909,
914
]
}
],
"range": [
909,
914
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
916,
921
]
}
],
"range": [
916,
921
]
}
],
"range": [
886,
924
]
}
],
"range": [
886,
925
]
}
],
"hasChanges": false,
"range": [
886,
925
],
"number": 23
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
905,
910
]
}
],
"range": [
905,
910
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
912,
917
]
}
],
"range": [
912,
917
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
919,
924
]
}
],
"range": [
919,
924
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
926,
931
]
}
],
"range": [
926,
931
]
}
],
"range": [
896,
934
]
}
],
"range": [
896,
935
]
}
],
"hasChanges": false,
"range": [
896,
935
],
"number": 23
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
934,
943
]
},
{
"category": "Identifier",
"range": [
947,
952
]
}
],
"range": [
934,
952
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
954,
963
]
},
{
"category": "Identifier",
"range": [
967,
972
]
}
],
"range": [
954,
972
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
974,
979
]
}
],
"range": [
974,
979
]
}
],
"range": [
925,
982
]
}
],
"range": [
925,
983
]
}
],
"hasChanges": false,
"range": [
925,
983
],
"number": 24
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
944,
953
]
},
{
"category": "Identifier",
"range": [
957,
962
]
}
],
"range": [
944,
962
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
964,
973
]
},
{
"category": "Identifier",
"range": [
977,
982
]
}
],
"range": [
964,
982
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
984,
989
]
}
],
"range": [
984,
989
]
}
],
"range": [
935,
992
]
}
],
"range": [
935,
993
]
}
],
"hasChanges": false,
"range": [
935,
993
],
"number": 24
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
994,
999
]
}
],
"range": [
994,
999
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1001,
1006
]
}
],
"range": [
1001,
1006
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1008,
1013
]
}
],
"range": [
1008,
1013
]
}
],
"range": [
983,
1014
]
}
],
"range": [
983,
1015
]
}
],
"hasChanges": false,
"range": [
983,
1015
],
"number": 25
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1004,
1009
]
}
],
"range": [
1004,
1009
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1011,
1016
]
}
],
"range": [
1011,
1016
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1018,
1023
]
}
],
"range": [
1018,
1023
]
}
],
"range": [
993,
1024
]
}
],
"range": [
993,
1025
]
}
],
"hasChanges": false,
"range": [
993,
1025
],
"number": 25
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
1026,
1031
]
},
{
"category": "Identifier",
"range": [
1034,
1040
]
}
],
"range": [
1026,
1040
]
}
],
"range": [
1026,
1040
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
1042,
1047
]
},
{
"category": "Identifier",
"range": [
1050,
1056
]
}
],
"range": [
1042,
1056
]
}
],
"range": [
1042,
1056
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1058,
1063
]
}
],
"range": [
1058,
1063
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1065,
1070
]
}
],
"range": [
1065,
1070
]
}
],
"range": [
1015,
1071
]
}
],
"range": [
1015,
1072
]
}
],
"hasChanges": false,
"range": [
1015,
1072
],
"number": 26
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
1036,
1041
]
},
{
"category": "Identifier",
"range": [
1044,
1050
]
}
],
"range": [
1036,
1050
]
}
],
"range": [
1036,
1050
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
1052,
1057
]
},
{
"category": "Identifier",
"range": [
1060,
1066
]
}
],
"range": [
1052,
1066
]
}
],
"range": [
1052,
1066
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1068,
1073
]
}
],
"range": [
1068,
1073
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1075,
1080
]
}
],
"range": [
1075,
1080
]
}
],
"range": [
1025,
1081
]
}
],
"range": [
1025,
1082
]
}
],
"hasChanges": false,
"range": [
1025,
1082
],
"number": 26
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
1087,
1100
]
}
],
"range": [
1072,
1101
]
}
],
"range": [
1072,
1102
]
}
],
"hasChanges": false,
"range": [
1072,
1102
],
"number": 27
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
1097,
1110
]
}
],
"range": [
1082,
1111
]
}
],
"range": [
1082,
1112
]
}
],
"hasChanges": false,
"range": [
1082,
1112
],
"number": 27
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
1129,
1132
]
}
],
"range": [
1117,
1132
]
}
],
"range": [
1102,
1133
]
}
],
"range": [
1102,
1134
]
}
],
"hasChanges": false,
"range": [
1102,
1134
],
"number": 28
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
1139,
1142
]
}
],
"range": [
1127,
1142
]
}
],
"range": [
1112,
1143
]
}
],
"range": [
1112,
1144
]
}
],
"hasChanges": false,
"range": [
1112,
1144
],
"number": 28
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
1158,
1163
]
},
{
"category": "ExpressionStatements",
"range": [
1166,
1169
]
}
],
"range": [
1149,
1169
]
}
],
"range": [
1134,
1170
]
}
],
"range": [
1134,
1171
]
}
],
"hasChanges": false,
"range": [
1134,
1171
],
"number": 29
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
1168,
1173
]
},
{
"category": "ExpressionStatements",
"range": [
1176,
1179
]
}
],
"range": [
1159,
1179
]
}
],
"range": [
1144,
1180
]
}
],
"range": [
1144,
1181
]
}
],
"hasChanges": false,
"range": [
1144,
1181
],
"number": 29
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1180,
1185
]
},
{
"category": "Identifier",
"range": [
1189,
1196
]
}
],
"range": [
1180,
1196
]
}
],
"range": [
1171,
1199
]
}
],
"range": [
1171,
1200
]
}
],
"hasChanges": false,
"range": [
1171,
1200
],
"number": 30
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1190,
1195
]
},
{
"category": "Identifier",
"range": [
1199,
1206
]
}
],
"range": [
1190,
1206
]
}
],
"range": [
1181,
1209
]
}
],
"range": [
1181,
1210
]
}
],
"hasChanges": false,
"range": [
1181,
1210
],
"number": 30
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
1214,
1219
]
}
],
"range": [
1200,
1220
]
}
],
"range": [
1200,
1221
]
}
],
"hasChanges": false,
"range": [
1200,
1221
],
"number": 31
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
1224,
1229
]
}
],
"range": [
1210,
1230
]
}
],
"range": [
1210,
1231
]
}
],
"hasChanges": false,
"range": [
1210,
1231
],
"number": 31
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1230,
1235
]
}
],
"range": [
1230,
1235
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1237,
1242
]
}
],
"range": [
1237,
1242
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1244,
1249
]
}
],
"range": [
1244,
1249
]
},
{
"category": "StringLiteral",
"range": [
1257,
1262
]
}
],
"range": [
1221,
1263
]
}
],
"range": [
1221,
1264
]
}
],
"hasChanges": false,
"range": [
1221,
1264
],
"number": 32
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1240,
1245
]
}
],
"range": [
1240,
1245
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1247,
1252
]
}
],
"range": [
1247,
1252
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1254,
1259
]
}
],
"range": [
1254,
1259
]
},
{
"category": "StringLiteral",
"range": [
1267,
1272
]
}
],
"range": [
1231,
1273
]
}
],
"range": [
1231,
1274
]
}
],
"hasChanges": false,
"range": [
1231,
1274
],
"number": 32
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1273,
1280
]
},
{
"category": "Identifier",
"range": [
1284,
1289
]
}
],
"range": [
1273,
1289
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1291,
1298
]
},
{
"category": "Identifier",
"range": [
1302,
1307
]
}
],
"range": [
1291,
1307
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1309,
1314
]
}
],
"range": [
1309,
1314
]
},
{
"category": "StringLiteral",
"range": [
1322,
1327
]
}
],
"range": [
1264,
1328
]
}
],
"range": [
1264,
1329
]
}
],
"hasChanges": false,
"range": [
1264,
1329
],
"number": 33
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1283,
1290
]
},
{
"category": "Identifier",
"range": [
1294,
1299
]
}
],
"range": [
1283,
1299
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1301,
1308
]
},
{
"category": "Identifier",
"range": [
1312,
1317
]
}
],
"range": [
1301,
1317
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1319,
1324
]
}
],
"range": [
1319,
1324
]
},
{
"category": "StringLiteral",
"range": [
1332,
1337
]
}
],
"range": [
1274,
1338
]
}
],
"range": [
1274,
1339
]
}
],
"hasChanges": false,
"range": [
1274,
1339
],
"number": 33
}
],
[
{
"terms": [
{
"category": "Program",
"children": [],
"range": [
1329,
1329
]
}
],
"hasChanges": false,
"range": [
1329,
1329
],
"number": 34
},
{
"terms": [
{
"category": "Program",
"children": [],
"range": [
1339,
1339
]
}
],
"hasChanges": false,
"range": [
1339,
1339
],
"number": 34
}
]
],
"paths": [
"export.js",
"export.js"
],
"oids": [
"ad3f21a7fe9774273122870974fe3b901777e880",
"c8b53ff3b2b7c29c2bcdc40c98608cf8b3d12134"
]
},
"filePaths": [
"export.js"
],
"patch": [
"diff --git a/export.js b/export.js",
"index ad3f21a..c8b53ff 100644",
"--- a/export.js",
"+++ b/export.js",
"@@ -1,14 +1,14 @@",
"-export { name1, name2, name3, nameN };",
"-export { variable1 as name1, variable2 as name2, nameN };",
"-export let name1, name2, nameN;",
"-export let name1 = value1, name2 = value2, name3, nameN;",
"-export default namedFunction;",
"-export default function () { };",
"-export default function name1() { };",
"-export { name1 as default };",
"-export * from 'foo';",
"-export { name1, name2, nameN } from 'foo';",
"-export { import1 as name1, import2 as name2, nameN } from 'bar';",
"+export { name4, name5, name6, nameZ };",
"+export { variable2 as name2, variable3 as name3, nameY };",
"+export let name3, name4, nameT;",
"+export let name2 = value2, name3 = value3, name4, nameO;",
"+export default otherNamedFunction;",
"+export default function newName1() {};",
"+export default function () {};",
"+export { name2 as statement };",
"+export * from 'baz';",
"+export { name7, name8, nameP } from 'buzz';",
"+export { import6 as name6, import7 as name7, nameB } from 'fizz';",
" export { name1, name2, name3, nameN };",
" export { variable1 as name1, variable2 as name2, nameN };",
" export let name1, name2, nameN;"
],
"gitDir": "test/corpus/repos/javascript",
"shas": "db45ffdca40149b2a8ab65cef948169930779ced..a7d8a8c67df112242870b85873789fcd84c93dc4"
}
,{
"testCaseDescription": "javascript-export-delete-replacement-test",
"expectedResult": {
"rows": [
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
9,
14
]
}
],
"range": [
9,
14
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
16,
21
]
}
],
"range": [
16,
21
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
23,
28
]
}
],
"range": [
23,
28
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
30,
35
]
}
],
"range": [
30,
35
]
}
],
"patch": "delete",
"range": [
0,
38
]
}
],
"range": [
0,
39
]
}
],
"hasChanges": true,
"range": [
0,
39
],
"number": 1
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
48,
57
]
},
{
"category": "Identifier",
"range": [
61,
66
]
}
],
"range": [
48,
66
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
68,
77
]
},
{
"category": "Identifier",
"range": [
81,
86
]
}
],
"range": [
68,
86
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
88,
93
]
}
],
"range": [
88,
93
]
}
],
"patch": "delete",
"range": [
39,
96
]
}
],
"range": [
39,
97
]
}
],
"hasChanges": true,
"range": [
39,
97
],
"number": 2
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
108,
113
]
}
],
"range": [
108,
113
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
115,
120
]
}
],
"range": [
115,
120
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
122,
127
]
}
],
"range": [
122,
127
]
}
],
"patch": "delete",
"range": [
97,
128
]
}
],
"range": [
97,
129
]
}
],
"hasChanges": true,
"range": [
97,
129
],
"number": 3
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
140,
145
]
},
{
"category": "Identifier",
"range": [
148,
154
]
}
],
"range": [
140,
154
]
}
],
"range": [
140,
154
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
156,
161
]
},
{
"category": "Identifier",
"range": [
164,
170
]
}
],
"range": [
156,
170
]
}
],
"range": [
156,
170
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
172,
177
]
}
],
"range": [
172,
177
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
179,
184
]
}
],
"range": [
179,
184
]
}
],
"patch": "delete",
"range": [
129,
185
]
}
],
"range": [
129,
186
]
}
],
"hasChanges": true,
"range": [
129,
186
],
"number": 4
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
201,
219
]
}
],
"patch": "delete",
"range": [
186,
220
]
}
],
"range": [
186,
221
]
}
],
"hasChanges": true,
"range": [
186,
221
],
"number": 5
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
245,
253
]
},
{
"category": "ExpressionStatements",
"range": [
256,
258
]
}
],
"range": [
236,
258
]
}
],
"patch": "delete",
"range": [
221,
259
]
}
],
"range": [
221,
260
]
}
],
"hasChanges": true,
"range": [
221,
260
],
"number": 6
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
287,
289
]
}
],
"range": [
275,
289
]
}
],
"patch": "delete",
"range": [
260,
290
]
}
],
"range": [
260,
291
]
}
],
"hasChanges": true,
"range": [
260,
291
],
"number": 7
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
300,
305
]
},
{
"category": "Identifier",
"range": [
309,
318
]
}
],
"range": [
300,
318
]
}
],
"patch": "delete",
"range": [
291,
321
]
}
],
"range": [
291,
322
]
}
],
"hasChanges": true,
"range": [
291,
322
],
"number": 8
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
336,
341
]
}
],
"patch": "delete",
"range": [
322,
342
]
}
],
"range": [
322,
343
]
}
],
"hasChanges": true,
"range": [
322,
343
],
"number": 9
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
352,
357
]
}
],
"range": [
352,
357
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
359,
364
]
}
],
"range": [
359,
364
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
366,
371
]
}
],
"range": [
366,
371
]
},
{
"category": "StringLiteral",
"range": [
379,
385
]
}
],
"patch": "delete",
"range": [
343,
386
]
}
],
"range": [
343,
387
]
}
],
"hasChanges": true,
"range": [
343,
387
],
"number": 10
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
396,
403
]
},
{
"category": "Identifier",
"range": [
407,
412
]
}
],
"range": [
396,
412
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
414,
421
]
},
{
"category": "Identifier",
"range": [
425,
430
]
}
],
"range": [
414,
430
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
432,
437
]
}
],
"range": [
432,
437
]
},
{
"category": "StringLiteral",
"range": [
445,
451
]
}
],
"patch": "delete",
"range": [
387,
452
]
}
],
"range": [
387,
453
]
}
],
"hasChanges": true,
"range": [
387,
453
],
"number": 11
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
462,
467
]
}
],
"range": [
462,
467
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
469,
474
]
}
],
"range": [
469,
474
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
476,
481
]
}
],
"range": [
476,
481
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
483,
488
]
}
],
"range": [
483,
488
]
}
],
"patch": "delete",
"range": [
453,
491
]
}
],
"range": [
453,
492
]
}
],
"hasChanges": true,
"range": [
453,
492
],
"number": 12
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
501,
510
]
},
{
"category": "Identifier",
"range": [
514,
519
]
}
],
"range": [
501,
519
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
521,
530
]
},
{
"category": "Identifier",
"range": [
534,
539
]
}
],
"range": [
521,
539
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
541,
546
]
}
],
"range": [
541,
546
]
}
],
"patch": "delete",
"range": [
492,
549
]
}
],
"range": [
492,
550
]
}
],
"hasChanges": true,
"range": [
492,
550
],
"number": 13
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
561,
566
]
}
],
"range": [
561,
566
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
568,
573
]
}
],
"range": [
568,
573
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
575,
580
]
}
],
"range": [
575,
580
]
}
],
"patch": "delete",
"range": [
550,
581
]
}
],
"range": [
550,
582
]
}
],
"hasChanges": true,
"range": [
550,
582
],
"number": 14
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
593,
598
]
},
{
"category": "Identifier",
"range": [
601,
607
]
}
],
"range": [
593,
607
]
}
],
"range": [
593,
607
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
609,
614
]
},
{
"category": "Identifier",
"range": [
617,
623
]
}
],
"range": [
609,
623
]
}
],
"range": [
609,
623
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
625,
630
]
}
],
"range": [
625,
630
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
632,
637
]
}
],
"range": [
632,
637
]
}
],
"patch": "delete",
"range": [
582,
638
]
}
],
"range": [
582,
639
]
}
],
"hasChanges": true,
"range": [
582,
639
],
"number": 15
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
654,
667
]
}
],
"patch": "delete",
"range": [
639,
668
]
}
],
"range": [
639,
669
]
}
],
"hasChanges": true,
"range": [
639,
669
],
"number": 16
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
696,
699
]
}
],
"range": [
684,
699
]
}
],
"patch": "delete",
"range": [
669,
700
]
}
],
"range": [
669,
701
]
}
],
"hasChanges": true,
"range": [
669,
701
],
"number": 17
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
725,
730
]
},
{
"category": "ExpressionStatements",
"range": [
733,
736
]
}
],
"range": [
716,
736
]
}
],
"patch": "delete",
"range": [
701,
737
]
}
],
"range": [
701,
738
]
}
],
"hasChanges": true,
"range": [
701,
738
],
"number": 18
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
747,
752
]
},
{
"category": "Identifier",
"range": [
756,
763
]
}
],
"range": [
747,
763
]
}
],
"patch": "delete",
"range": [
738,
766
]
}
],
"range": [
738,
767
]
}
],
"hasChanges": true,
"range": [
738,
767
],
"number": 19
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
781,
786
]
}
],
"patch": "delete",
"range": [
767,
787
]
}
],
"range": [
767,
788
]
}
],
"hasChanges": true,
"range": [
767,
788
],
"number": 20
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
797,
802
]
}
],
"range": [
797,
802
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
804,
809
]
}
],
"range": [
804,
809
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
811,
816
]
}
],
"range": [
811,
816
]
},
{
"category": "StringLiteral",
"range": [
824,
829
]
}
],
"patch": "delete",
"range": [
788,
830
]
}
],
"range": [
788,
831
]
}
],
"hasChanges": true,
"range": [
788,
831
],
"number": 21
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
840,
847
]
},
{
"category": "Identifier",
"range": [
851,
856
]
}
],
"range": [
840,
856
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
858,
865
]
},
{
"category": "Identifier",
"range": [
869,
874
]
}
],
"range": [
858,
874
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
876,
881
]
}
],
"range": [
876,
881
]
},
{
"category": "StringLiteral",
"range": [
889,
894
]
}
],
"patch": "delete",
"range": [
831,
895
]
}
],
"range": [
831,
896
]
}
],
"hasChanges": true,
"range": [
831,
896
],
"number": 22
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
905,
910
]
}
],
"range": [
905,
910
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
912,
917
]
}
],
"range": [
912,
917
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
919,
924
]
}
],
"range": [
919,
924
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
926,
931
]
}
],
"range": [
926,
931
]
}
],
"range": [
896,
934
]
}
],
"range": [
896,
935
]
}
],
"hasChanges": false,
"range": [
896,
935
],
"number": 23
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
9,
14
]
}
],
"range": [
9,
14
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
16,
21
]
}
],
"range": [
16,
21
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
23,
28
]
}
],
"range": [
23,
28
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
30,
35
]
}
],
"range": [
30,
35
]
}
],
"range": [
0,
38
]
}
],
"range": [
0,
39
]
}
],
"hasChanges": false,
"range": [
0,
39
],
"number": 1
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
944,
953
]
},
{
"category": "Identifier",
"range": [
957,
962
]
}
],
"range": [
944,
962
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
964,
973
]
},
{
"category": "Identifier",
"range": [
977,
982
]
}
],
"range": [
964,
982
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
984,
989
]
}
],
"range": [
984,
989
]
}
],
"range": [
935,
992
]
}
],
"range": [
935,
993
]
}
],
"hasChanges": false,
"range": [
935,
993
],
"number": 24
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
48,
57
]
},
{
"category": "Identifier",
"range": [
61,
66
]
}
],
"range": [
48,
66
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
68,
77
]
},
{
"category": "Identifier",
"range": [
81,
86
]
}
],
"range": [
68,
86
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
88,
93
]
}
],
"range": [
88,
93
]
}
],
"range": [
39,
96
]
}
],
"range": [
39,
97
]
}
],
"hasChanges": false,
"range": [
39,
97
],
"number": 2
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1004,
1009
]
}
],
"range": [
1004,
1009
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1011,
1016
]
}
],
"range": [
1011,
1016
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1018,
1023
]
}
],
"range": [
1018,
1023
]
}
],
"range": [
993,
1024
]
}
],
"range": [
993,
1025
]
}
],
"hasChanges": false,
"range": [
993,
1025
],
"number": 25
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
108,
113
]
}
],
"range": [
108,
113
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
115,
120
]
}
],
"range": [
115,
120
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
122,
127
]
}
],
"range": [
122,
127
]
}
],
"range": [
97,
128
]
}
],
"range": [
97,
129
]
}
],
"hasChanges": false,
"range": [
97,
129
],
"number": 3
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
1036,
1041
]
},
{
"category": "Identifier",
"range": [
1044,
1050
]
}
],
"range": [
1036,
1050
]
}
],
"range": [
1036,
1050
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
1052,
1057
]
},
{
"category": "Identifier",
"range": [
1060,
1066
]
}
],
"range": [
1052,
1066
]
}
],
"range": [
1052,
1066
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1068,
1073
]
}
],
"range": [
1068,
1073
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
1075,
1080
]
}
],
"range": [
1075,
1080
]
}
],
"range": [
1025,
1081
]
}
],
"range": [
1025,
1082
]
}
],
"hasChanges": false,
"range": [
1025,
1082
],
"number": 26
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
140,
145
]
},
{
"category": "Identifier",
"range": [
148,
154
]
}
],
"range": [
140,
154
]
}
],
"range": [
140,
154
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
156,
161
]
},
{
"category": "Identifier",
"range": [
164,
170
]
}
],
"range": [
156,
170
]
}
],
"range": [
156,
170
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
172,
177
]
}
],
"range": [
172,
177
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
179,
184
]
}
],
"range": [
179,
184
]
}
],
"range": [
129,
185
]
}
],
"range": [
129,
186
]
}
],
"hasChanges": false,
"range": [
129,
186
],
"number": 4
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
1097,
1110
]
}
],
"range": [
1082,
1111
]
}
],
"range": [
1082,
1112
]
}
],
"hasChanges": false,
"range": [
1082,
1112
],
"number": 27
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
201,
214
]
}
],
"range": [
186,
215
]
}
],
"range": [
186,
216
]
}
],
"hasChanges": false,
"range": [
186,
216
],
"number": 5
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
1139,
1142
]
}
],
"range": [
1127,
1142
]
}
],
"range": [
1112,
1143
]
}
],
"range": [
1112,
1144
]
}
],
"hasChanges": false,
"range": [
1112,
1144
],
"number": 28
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
243,
246
]
}
],
"range": [
231,
246
]
}
],
"range": [
216,
247
]
}
],
"range": [
216,
248
]
}
],
"hasChanges": false,
"range": [
216,
248
],
"number": 6
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
1168,
1173
]
},
{
"category": "ExpressionStatements",
"range": [
1176,
1179
]
}
],
"range": [
1159,
1179
]
}
],
"range": [
1144,
1180
]
}
],
"range": [
1144,
1181
]
}
],
"hasChanges": false,
"range": [
1144,
1181
],
"number": 29
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
272,
277
]
},
{
"category": "ExpressionStatements",
"range": [
280,
283
]
}
],
"range": [
263,
283
]
}
],
"range": [
248,
284
]
}
],
"range": [
248,
285
]
}
],
"hasChanges": false,
"range": [
248,
285
],
"number": 7
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1190,
1195
]
},
{
"category": "Identifier",
"range": [
1199,
1206
]
}
],
"range": [
1190,
1206
]
}
],
"range": [
1181,
1209
]
}
],
"range": [
1181,
1210
]
}
],
"hasChanges": false,
"range": [
1181,
1210
],
"number": 30
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
294,
299
]
},
{
"category": "Identifier",
"range": [
303,
310
]
}
],
"range": [
294,
310
]
}
],
"range": [
285,
313
]
}
],
"range": [
285,
314
]
}
],
"hasChanges": false,
"range": [
285,
314
],
"number": 8
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
1224,
1229
]
}
],
"range": [
1210,
1230
]
}
],
"range": [
1210,
1231
]
}
],
"hasChanges": false,
"range": [
1210,
1231
],
"number": 31
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
328,
333
]
}
],
"range": [
314,
334
]
}
],
"range": [
314,
335
]
}
],
"hasChanges": false,
"range": [
314,
335
],
"number": 9
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1240,
1245
]
}
],
"range": [
1240,
1245
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1247,
1252
]
}
],
"range": [
1247,
1252
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1254,
1259
]
}
],
"range": [
1254,
1259
]
},
{
"category": "StringLiteral",
"range": [
1267,
1272
]
}
],
"range": [
1231,
1273
]
}
],
"range": [
1231,
1274
]
}
],
"hasChanges": false,
"range": [
1231,
1274
],
"number": 32
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
344,
349
]
}
],
"range": [
344,
349
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
351,
356
]
}
],
"range": [
351,
356
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
358,
363
]
}
],
"range": [
358,
363
]
},
{
"category": "StringLiteral",
"range": [
371,
376
]
}
],
"range": [
335,
377
]
}
],
"range": [
335,
378
]
}
],
"hasChanges": false,
"range": [
335,
378
],
"number": 10
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1283,
1290
]
},
{
"category": "Identifier",
"range": [
1294,
1299
]
}
],
"range": [
1283,
1299
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1301,
1308
]
},
{
"category": "Identifier",
"range": [
1312,
1317
]
}
],
"range": [
1301,
1317
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
1319,
1324
]
}
],
"range": [
1319,
1324
]
},
{
"category": "StringLiteral",
"range": [
1332,
1337
]
}
],
"range": [
1274,
1338
]
}
],
"range": [
1274,
1339
]
}
],
"hasChanges": false,
"range": [
1274,
1339
],
"number": 33
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
387,
394
]
},
{
"category": "Identifier",
"range": [
398,
403
]
}
],
"range": [
387,
403
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
405,
412
]
},
{
"category": "Identifier",
"range": [
416,
421
]
}
],
"range": [
405,
421
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
423,
428
]
}
],
"range": [
423,
428
]
},
{
"category": "StringLiteral",
"range": [
436,
441
]
}
],
"range": [
378,
442
]
}
],
"range": [
378,
443
]
}
],
"hasChanges": false,
"range": [
378,
443
],
"number": 11
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
452,
457
]
}
],
"range": [
452,
457
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
459,
464
]
}
],
"range": [
459,
464
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
466,
471
]
}
],
"range": [
466,
471
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
473,
478
]
}
],
"range": [
473,
478
]
}
],
"patch": "insert",
"range": [
443,
481
]
}
],
"range": [
443,
482
]
}
],
"hasChanges": true,
"range": [
443,
482
],
"number": 12
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
491,
500
]
},
{
"category": "Identifier",
"range": [
504,
509
]
}
],
"range": [
491,
509
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
511,
520
]
},
{
"category": "Identifier",
"range": [
524,
529
]
}
],
"range": [
511,
529
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
531,
536
]
}
],
"range": [
531,
536
]
}
],
"patch": "insert",
"range": [
482,
539
]
}
],
"range": [
482,
540
]
}
],
"hasChanges": true,
"range": [
482,
540
],
"number": 13
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
551,
556
]
}
],
"range": [
551,
556
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
558,
563
]
}
],
"range": [
558,
563
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
565,
570
]
}
],
"range": [
565,
570
]
}
],
"patch": "insert",
"range": [
540,
571
]
}
],
"range": [
540,
572
]
}
],
"hasChanges": true,
"range": [
540,
572
],
"number": 14
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
583,
588
]
},
{
"category": "Identifier",
"range": [
591,
597
]
}
],
"range": [
583,
597
]
}
],
"range": [
583,
597
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
599,
604
]
},
{
"category": "Identifier",
"range": [
607,
613
]
}
],
"range": [
599,
613
]
}
],
"range": [
599,
613
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
615,
620
]
}
],
"range": [
615,
620
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
622,
627
]
}
],
"range": [
622,
627
]
}
],
"patch": "insert",
"range": [
572,
628
]
}
],
"range": [
572,
629
]
}
],
"hasChanges": true,
"range": [
572,
629
],
"number": 15
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
644,
662
]
}
],
"patch": "insert",
"range": [
629,
663
]
}
],
"range": [
629,
664
]
}
],
"hasChanges": true,
"range": [
629,
664
],
"number": 16
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
688,
696
]
},
{
"category": "ExpressionStatements",
"range": [
699,
701
]
}
],
"range": [
679,
701
]
}
],
"patch": "insert",
"range": [
664,
702
]
}
],
"range": [
664,
703
]
}
],
"hasChanges": true,
"range": [
664,
703
],
"number": 17
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
730,
732
]
}
],
"range": [
718,
732
]
}
],
"patch": "insert",
"range": [
703,
733
]
}
],
"range": [
703,
734
]
}
],
"hasChanges": true,
"range": [
703,
734
],
"number": 18
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
743,
748
]
},
{
"category": "Identifier",
"range": [
752,
761
]
}
],
"range": [
743,
761
]
}
],
"patch": "insert",
"range": [
734,
764
]
}
],
"range": [
734,
765
]
}
],
"hasChanges": true,
"range": [
734,
765
],
"number": 19
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
779,
784
]
}
],
"patch": "insert",
"range": [
765,
785
]
}
],
"range": [
765,
786
]
}
],
"hasChanges": true,
"range": [
765,
786
],
"number": 20
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
795,
800
]
}
],
"range": [
795,
800
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
802,
807
]
}
],
"range": [
802,
807
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
809,
814
]
}
],
"range": [
809,
814
]
},
{
"category": "StringLiteral",
"range": [
822,
828
]
}
],
"patch": "insert",
"range": [
786,
829
]
}
],
"range": [
786,
830
]
}
],
"hasChanges": true,
"range": [
786,
830
],
"number": 21
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
839,
846
]
},
{
"category": "Identifier",
"range": [
850,
855
]
}
],
"range": [
839,
855
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
857,
864
]
},
{
"category": "Identifier",
"range": [
868,
873
]
}
],
"range": [
857,
873
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
875,
880
]
}
],
"range": [
875,
880
]
},
{
"category": "StringLiteral",
"range": [
888,
894
]
}
],
"patch": "insert",
"range": [
830,
895
]
}
],
"range": [
830,
896
]
}
],
"hasChanges": true,
"range": [
830,
896
],
"number": 22
}
],
[
{
"terms": [
{
"category": "Program",
"children": [],
"range": [
1339,
1339
]
}
],
"hasChanges": false,
"range": [
1339,
1339
],
"number": 34
},
{
"terms": [
{
"category": "Program",
"children": [],
"range": [
896,
896
]
}
],
"hasChanges": false,
"range": [
896,
896
],
"number": 23
}
]
],
"paths": [
"export.js",
"export.js"
],
"oids": [
"c8b53ff3b2b7c29c2bcdc40c98608cf8b3d12134",
"281c6726314976cf5957279776a39d6cee11aa46"
]
},
"filePaths": [
"export.js"
],
"patch": [
"diff --git a/export.js b/export.js",
"index c8b53ff..281c672 100644",
"--- a/export.js",
"+++ b/export.js",
"@@ -1,25 +1,3 @@",
"-export { name4, name5, name6, nameZ };",
"-export { variable2 as name2, variable3 as name3, nameY };",
"-export let name3, name4, nameT;",
"-export let name2 = value2, name3 = value3, name4, nameO;",
"-export default otherNamedFunction;",
"-export default function newName1() {};",
"-export default function () {};",
"-export { name2 as statement };",
"-export * from 'baz';",
"-export { name7, name8, nameP } from 'buzz';",
"-export { import6 as name6, import7 as name7, nameB } from 'fizz';",
"-export { name1, name2, name3, nameN };",
"-export { variable1 as name1, variable2 as name2, nameN };",
"-export let name1, name2, nameN;",
"-export let name1 = value1, name2 = value2, name3, nameN;",
"-export default namedFunction;",
"-export default function () { };",
"-export default function name1() { };",
"-export { name1 as default };",
"-export * from 'foo';",
"-export { name1, name2, nameN } from 'foo';",
"-export { import1 as name1, import2 as name2, nameN } from 'bar';",
" export { name1, name2, name3, nameN };",
" export { variable1 as name1, variable2 as name2, nameN };",
" export let name1, name2, nameN;",
"@@ -31,3 +9,14 @@ export { name1 as default };",
" export * from 'foo';",
" export { name1, name2, nameN } from 'foo';",
" export { import1 as name1, import2 as name2, nameN } from 'bar';",
"+export { name4, name5, name6, nameZ };",
"+export { variable2 as name2, variable3 as name3, nameY };",
"+export let name3, name4, nameT;",
"+export let name2 = value2, name3 = value3, name4, nameO;",
"+export default otherNamedFunction;",
"+export default function newName1() {};",
"+export default function () {};",
"+export { name2 as statement };",
"+export * from 'baz';",
"+export { name7, name8, nameP } from 'buzz';",
"+export { import6 as name6, import7 as name7, nameB } from 'fizz';"
],
"gitDir": "test/corpus/repos/javascript",
"shas": "a7d8a8c67df112242870b85873789fcd84c93dc4..33d58d61e860aaf9d71c3a00aff457cf8c5e7d15"
}
,{
"testCaseDescription": "javascript-export-delete-test",
"expectedResult": {
"rows": [
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
9,
14
]
}
],
"range": [
9,
14
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
16,
21
]
}
],
"range": [
16,
21
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
23,
28
]
}
],
"range": [
23,
28
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
30,
35
]
}
],
"range": [
30,
35
]
}
],
"patch": "delete",
"range": [
0,
38
]
}
],
"range": [
0,
39
]
}
],
"hasChanges": true,
"range": [
0,
39
],
"number": 1
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
48,
57
]
},
{
"category": "Identifier",
"range": [
61,
66
]
}
],
"range": [
48,
66
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
68,
77
]
},
{
"category": "Identifier",
"range": [
81,
86
]
}
],
"range": [
68,
86
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
88,
93
]
}
],
"range": [
88,
93
]
}
],
"patch": "delete",
"range": [
39,
96
]
}
],
"range": [
39,
97
]
}
],
"hasChanges": true,
"range": [
39,
97
],
"number": 2
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
108,
113
]
}
],
"range": [
108,
113
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
115,
120
]
}
],
"range": [
115,
120
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
122,
127
]
}
],
"range": [
122,
127
]
}
],
"patch": "delete",
"range": [
97,
128
]
}
],
"range": [
97,
129
]
}
],
"hasChanges": true,
"range": [
97,
129
],
"number": 3
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
140,
145
]
},
{
"category": "Identifier",
"range": [
148,
154
]
}
],
"range": [
140,
154
]
}
],
"range": [
140,
154
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
156,
161
]
},
{
"category": "Identifier",
"range": [
164,
170
]
}
],
"range": [
156,
170
]
}
],
"range": [
156,
170
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
172,
177
]
}
],
"range": [
172,
177
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
179,
184
]
}
],
"range": [
179,
184
]
}
],
"patch": "delete",
"range": [
129,
185
]
}
],
"range": [
129,
186
]
}
],
"hasChanges": true,
"range": [
129,
186
],
"number": 4
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
201,
214
]
}
],
"patch": "delete",
"range": [
186,
215
]
}
],
"range": [
186,
216
]
}
],
"hasChanges": true,
"range": [
186,
216
],
"number": 5
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
243,
246
]
}
],
"range": [
231,
246
]
}
],
"patch": "delete",
"range": [
216,
247
]
}
],
"range": [
216,
248
]
}
],
"hasChanges": true,
"range": [
216,
248
],
"number": 6
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
272,
277
]
},
{
"category": "ExpressionStatements",
"range": [
280,
283
]
}
],
"range": [
263,
283
]
}
],
"patch": "delete",
"range": [
248,
284
]
}
],
"range": [
248,
285
]
}
],
"hasChanges": true,
"range": [
248,
285
],
"number": 7
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
294,
299
]
},
{
"category": "Identifier",
"range": [
303,
310
]
}
],
"range": [
294,
310
]
}
],
"patch": "delete",
"range": [
285,
313
]
}
],
"range": [
285,
314
]
}
],
"hasChanges": true,
"range": [
285,
314
],
"number": 8
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
328,
333
]
}
],
"patch": "delete",
"range": [
314,
334
]
}
],
"range": [
314,
335
]
}
],
"hasChanges": true,
"range": [
314,
335
],
"number": 9
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
344,
349
]
}
],
"range": [
344,
349
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
351,
356
]
}
],
"range": [
351,
356
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
358,
363
]
}
],
"range": [
358,
363
]
},
{
"category": "StringLiteral",
"range": [
371,
376
]
}
],
"patch": "delete",
"range": [
335,
377
]
}
],
"range": [
335,
378
]
}
],
"hasChanges": true,
"range": [
335,
378
],
"number": 10
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
387,
394
]
},
{
"category": "Identifier",
"range": [
398,
403
]
}
],
"range": [
387,
403
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
405,
412
]
},
{
"category": "Identifier",
"range": [
416,
421
]
}
],
"range": [
405,
421
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
423,
428
]
}
],
"range": [
423,
428
]
},
{
"category": "StringLiteral",
"range": [
436,
441
]
}
],
"patch": "delete",
"range": [
378,
442
]
}
],
"range": [
378,
443
]
}
],
"hasChanges": true,
"range": [
378,
443
],
"number": 11
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
452,
457
]
}
],
"range": [
452,
457
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
459,
464
]
}
],
"range": [
459,
464
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
466,
471
]
}
],
"range": [
466,
471
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
473,
478
]
}
],
"range": [
473,
478
]
}
],
"range": [
443,
481
]
}
],
"range": [
443,
482
]
}
],
"hasChanges": false,
"range": [
443,
482
],
"number": 12
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
9,
14
]
}
],
"range": [
9,
14
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
16,
21
]
}
],
"range": [
16,
21
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
23,
28
]
}
],
"range": [
23,
28
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
30,
35
]
}
],
"range": [
30,
35
]
}
],
"range": [
0,
38
]
}
],
"range": [
0,
39
]
}
],
"hasChanges": false,
"range": [
0,
39
],
"number": 1
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
491,
500
]
},
{
"category": "Identifier",
"range": [
504,
509
]
}
],
"range": [
491,
509
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
511,
520
]
},
{
"category": "Identifier",
"range": [
524,
529
]
}
],
"range": [
511,
529
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
531,
536
]
}
],
"range": [
531,
536
]
}
],
"range": [
482,
539
]
}
],
"range": [
482,
540
]
}
],
"hasChanges": false,
"range": [
482,
540
],
"number": 13
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
48,
57
]
},
{
"category": "Identifier",
"range": [
61,
66
]
}
],
"range": [
48,
66
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
68,
77
]
},
{
"category": "Identifier",
"range": [
81,
86
]
}
],
"range": [
68,
86
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
88,
93
]
}
],
"range": [
88,
93
]
}
],
"range": [
39,
96
]
}
],
"range": [
39,
97
]
}
],
"hasChanges": false,
"range": [
39,
97
],
"number": 2
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
551,
556
]
}
],
"range": [
551,
556
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
558,
563
]
}
],
"range": [
558,
563
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
565,
570
]
}
],
"range": [
565,
570
]
}
],
"range": [
540,
571
]
}
],
"range": [
540,
572
]
}
],
"hasChanges": false,
"range": [
540,
572
],
"number": 14
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
108,
113
]
}
],
"range": [
108,
113
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
115,
120
]
}
],
"range": [
115,
120
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
122,
127
]
}
],
"range": [
122,
127
]
}
],
"range": [
97,
128
]
}
],
"range": [
97,
129
]
}
],
"hasChanges": false,
"range": [
97,
129
],
"number": 3
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
583,
588
]
},
{
"category": "Identifier",
"range": [
591,
597
]
}
],
"range": [
583,
597
]
}
],
"range": [
583,
597
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
599,
604
]
},
{
"category": "Identifier",
"range": [
607,
613
]
}
],
"range": [
599,
613
]
}
],
"range": [
599,
613
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
615,
620
]
}
],
"range": [
615,
620
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
622,
627
]
}
],
"range": [
622,
627
]
}
],
"range": [
572,
628
]
}
],
"range": [
572,
629
]
}
],
"hasChanges": false,
"range": [
572,
629
],
"number": 15
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
140,
145
]
},
{
"category": "Identifier",
"range": [
148,
154
]
}
],
"range": [
140,
154
]
}
],
"range": [
140,
154
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
156,
161
]
},
{
"category": "Identifier",
"range": [
164,
170
]
}
],
"range": [
156,
170
]
}
],
"range": [
156,
170
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
172,
177
]
}
],
"range": [
172,
177
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
179,
184
]
}
],
"range": [
179,
184
]
}
],
"range": [
129,
185
]
}
],
"range": [
129,
186
]
}
],
"hasChanges": false,
"range": [
129,
186
],
"number": 4
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
644,
662
]
}
],
"range": [
629,
663
]
}
],
"range": [
629,
664
]
}
],
"hasChanges": false,
"range": [
629,
664
],
"number": 16
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
201,
219
]
}
],
"range": [
186,
220
]
}
],
"range": [
186,
221
]
}
],
"hasChanges": false,
"range": [
186,
221
],
"number": 5
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
688,
696
]
},
{
"category": "ExpressionStatements",
"range": [
699,
701
]
}
],
"range": [
679,
701
]
}
],
"range": [
664,
702
]
}
],
"range": [
664,
703
]
}
],
"hasChanges": false,
"range": [
664,
703
],
"number": 17
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
245,
253
]
},
{
"category": "ExpressionStatements",
"range": [
256,
258
]
}
],
"range": [
236,
258
]
}
],
"range": [
221,
259
]
}
],
"range": [
221,
260
]
}
],
"hasChanges": false,
"range": [
221,
260
],
"number": 6
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
730,
732
]
}
],
"range": [
718,
732
]
}
],
"range": [
703,
733
]
}
],
"range": [
703,
734
]
}
],
"hasChanges": false,
"range": [
703,
734
],
"number": 18
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
287,
289
]
}
],
"range": [
275,
289
]
}
],
"range": [
260,
290
]
}
],
"range": [
260,
291
]
}
],
"hasChanges": false,
"range": [
260,
291
],
"number": 7
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
743,
748
]
},
{
"category": "Identifier",
"range": [
752,
761
]
}
],
"range": [
743,
761
]
}
],
"range": [
734,
764
]
}
],
"range": [
734,
765
]
}
],
"hasChanges": false,
"range": [
734,
765
],
"number": 19
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
300,
305
]
},
{
"category": "Identifier",
"range": [
309,
318
]
}
],
"range": [
300,
318
]
}
],
"range": [
291,
321
]
}
],
"range": [
291,
322
]
}
],
"hasChanges": false,
"range": [
291,
322
],
"number": 8
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
779,
784
]
}
],
"range": [
765,
785
]
}
],
"range": [
765,
786
]
}
],
"hasChanges": false,
"range": [
765,
786
],
"number": 20
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
336,
341
]
}
],
"range": [
322,
342
]
}
],
"range": [
322,
343
]
}
],
"hasChanges": false,
"range": [
322,
343
],
"number": 9
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
795,
800
]
}
],
"range": [
795,
800
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
802,
807
]
}
],
"range": [
802,
807
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
809,
814
]
}
],
"range": [
809,
814
]
},
{
"category": "StringLiteral",
"range": [
822,
828
]
}
],
"range": [
786,
829
]
}
],
"range": [
786,
830
]
}
],
"hasChanges": false,
"range": [
786,
830
],
"number": 21
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
352,
357
]
}
],
"range": [
352,
357
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
359,
364
]
}
],
"range": [
359,
364
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
366,
371
]
}
],
"range": [
366,
371
]
},
{
"category": "StringLiteral",
"range": [
379,
385
]
}
],
"range": [
343,
386
]
}
],
"range": [
343,
387
]
}
],
"hasChanges": false,
"range": [
343,
387
],
"number": 10
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
839,
846
]
},
{
"category": "Identifier",
"range": [
850,
855
]
}
],
"range": [
839,
855
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
857,
864
]
},
{
"category": "Identifier",
"range": [
868,
873
]
}
],
"range": [
857,
873
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
875,
880
]
}
],
"range": [
875,
880
]
},
{
"category": "StringLiteral",
"range": [
888,
894
]
}
],
"range": [
830,
895
]
}
],
"range": [
830,
896
]
}
],
"hasChanges": false,
"range": [
830,
896
],
"number": 22
},
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
396,
403
]
},
{
"category": "Identifier",
"range": [
407,
412
]
}
],
"range": [
396,
412
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
414,
421
]
},
{
"category": "Identifier",
"range": [
425,
430
]
}
],
"range": [
414,
430
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
432,
437
]
}
],
"range": [
432,
437
]
},
{
"category": "StringLiteral",
"range": [
445,
451
]
}
],
"range": [
387,
452
]
}
],
"range": [
387,
453
]
}
],
"hasChanges": false,
"range": [
387,
453
],
"number": 11
}
],
[
{
"terms": [
{
"category": "Program",
"children": [],
"range": [
896,
896
]
}
],
"hasChanges": false,
"range": [
896,
896
],
"number": 23
},
{
"terms": [
{
"category": "Program",
"children": [],
"range": [
453,
453
]
}
],
"hasChanges": false,
"range": [
453,
453
],
"number": 12
}
]
],
"paths": [
"export.js",
"export.js"
],
"oids": [
"281c6726314976cf5957279776a39d6cee11aa46",
"e105ba78571fac3ca34034c112646c0548b33b11"
]
},
"filePaths": [
"export.js"
],
"patch": [
"diff --git a/export.js b/export.js",
"index 281c672..e105ba7 100644",
"--- a/export.js",
"+++ b/export.js",
"@@ -1,14 +1,3 @@",
"-export { name1, name2, name3, nameN };",
"-export { variable1 as name1, variable2 as name2, nameN };",
"-export let name1, name2, nameN;",
"-export let name1 = value1, name2 = value2, name3, nameN;",
"-export default namedFunction;",
"-export default function () { };",
"-export default function name1() { };",
"-export { name1 as default };",
"-export * from 'foo';",
"-export { name1, name2, nameN } from 'foo';",
"-export { import1 as name1, import2 as name2, nameN } from 'bar';",
" export { name4, name5, name6, nameZ };",
" export { variable2 as name2, variable3 as name3, nameY };",
" export let name3, name4, nameT;"
],
"gitDir": "test/corpus/repos/javascript",
"shas": "33d58d61e860aaf9d71c3a00aff457cf8c5e7d15..52b3a9b592646247d5884c136733a12cb2971479"
}
,{
"testCaseDescription": "javascript-export-delete-rest-test",
"expectedResult": {
"rows": [
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
9,
14
]
}
],
"range": [
9,
14
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
16,
21
]
}
],
"range": [
16,
21
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
23,
28
]
}
],
"range": [
23,
28
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
30,
35
]
}
],
"range": [
30,
35
]
}
],
"range": [
0,
38
]
}
],
"patch": "delete",
"range": [
0,
39
]
}
],
"hasChanges": true,
"range": [
0,
39
],
"number": 1
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
48,
57
]
},
{
"category": "Identifier",
"range": [
61,
66
]
}
],
"range": [
48,
66
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
68,
77
]
},
{
"category": "Identifier",
"range": [
81,
86
]
}
],
"range": [
68,
86
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
88,
93
]
}
],
"range": [
88,
93
]
}
],
"range": [
39,
96
]
}
],
"patch": "delete",
"range": [
39,
97
]
}
],
"hasChanges": true,
"range": [
39,
97
],
"number": 2
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
108,
113
]
}
],
"range": [
108,
113
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
115,
120
]
}
],
"range": [
115,
120
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
122,
127
]
}
],
"range": [
122,
127
]
}
],
"range": [
97,
128
]
}
],
"patch": "delete",
"range": [
97,
129
]
}
],
"hasChanges": true,
"range": [
97,
129
],
"number": 3
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
140,
145
]
},
{
"category": "Identifier",
"range": [
148,
154
]
}
],
"range": [
140,
154
]
}
],
"range": [
140,
154
]
},
{
"category": "VarDecl",
"children": [
{
"category": "VarAssignment",
"children": [
{
"category": "Identifier",
"range": [
156,
161
]
},
{
"category": "Identifier",
"range": [
164,
170
]
}
],
"range": [
156,
170
]
}
],
"range": [
156,
170
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
172,
177
]
}
],
"range": [
172,
177
]
},
{
"category": "VarDecl",
"children": [
{
"category": "Identifier",
"range": [
179,
184
]
}
],
"range": [
179,
184
]
}
],
"range": [
129,
185
]
}
],
"patch": "delete",
"range": [
129,
186
]
}
],
"hasChanges": true,
"range": [
129,
186
],
"number": 4
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Identifier",
"range": [
201,
219
]
}
],
"range": [
186,
220
]
}
],
"patch": "delete",
"range": [
186,
221
]
}
],
"hasChanges": true,
"range": [
186,
221
],
"number": 5
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "Identifier",
"range": [
245,
253
]
},
{
"category": "ExpressionStatements",
"range": [
256,
258
]
}
],
"range": [
236,
258
]
}
],
"range": [
221,
259
]
}
],
"patch": "delete",
"range": [
221,
260
]
}
],
"hasChanges": true,
"range": [
221,
260
],
"number": 6
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "Function",
"children": [
{
"category": "ExpressionStatements",
"range": [
287,
289
]
}
],
"range": [
275,
289
]
}
],
"range": [
260,
290
]
}
],
"patch": "delete",
"range": [
260,
291
]
}
],
"hasChanges": true,
"range": [
260,
291
],
"number": 7
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
300,
305
]
},
{
"category": "Identifier",
"range": [
309,
318
]
}
],
"range": [
300,
318
]
}
],
"range": [
291,
321
]
}
],
"patch": "delete",
"range": [
291,
322
]
}
],
"hasChanges": true,
"range": [
291,
322
],
"number": 8
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "StringLiteral",
"range": [
336,
341
]
}
],
"range": [
322,
342
]
}
],
"patch": "delete",
"range": [
322,
343
]
}
],
"hasChanges": true,
"range": [
322,
343
],
"number": 9
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
352,
357
]
}
],
"range": [
352,
357
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
359,
364
]
}
],
"range": [
359,
364
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
366,
371
]
}
],
"range": [
366,
371
]
},
{
"category": "StringLiteral",
"range": [
379,
385
]
}
],
"range": [
343,
386
]
}
],
"patch": "delete",
"range": [
343,
387
]
}
],
"hasChanges": true,
"range": [
343,
387
],
"number": 10
}
],
[
{
"terms": [
{
"category": "Program",
"children": [
{
"category": "Export",
"children": [
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
396,
403
]
},
{
"category": "Identifier",
"range": [
407,
412
]
}
],
"range": [
396,
412
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
414,
421
]
},
{
"category": "Identifier",
"range": [
425,
430
]
}
],
"range": [
414,
430
]
},
{
"category": "export_specifier",
"children": [
{
"category": "Identifier",
"range": [
432,
437
]
}
],
"range": [
432,
437
]
},
{
"category": "StringLiteral",
"range": [
445,
451
]
}
],
"range": [
387,
452
]
}
],
"patch": "delete",
"range": [
387,
453
]
}
],
"hasChanges": true,
"range": [
387,
453
],
"number": 11
}
],
[
{
"terms": [
{
"category": "Program",
"children": [],
"patch": "delete",
"range": [
453,
453
]
}
],
"hasChanges": true,
"range": [
453,
453
],
"number": 12
}
]
],
"paths": [
"export.js",
"export.js"
],
"oids": [
"e105ba78571fac3ca34034c112646c0548b33b11",
"e69de29bb2d1d6434b8b29ae775ad8c2e48c5391"
]
},
"filePaths": [
"export.js"
],
"patch": [
"diff --git a/export.js b/export.js",
"index e105ba7..e69de29 100644",
"--- a/export.js",
"+++ b/export.js",
"@@ -1,11 +0,0 @@",
"-export { name4, name5, name6, nameZ };",
"-export { variable2 as name2, variable3 as name3, nameY };",
"-export let name3, name4, nameT;",
"-export let name2 = value2, name3 = value3, name4, nameO;",
"-export default otherNamedFunction;",
"-export default function newName1() {};",
"-export default function () {};",
"-export { name2 as statement };",
"-export * from 'baz';",
"-export { name7, name8, nameP } from 'buzz';",
"-export { import6 as name6, import7 as name7, nameB } from 'fizz';"
],
"gitDir": "test/corpus/repos/javascript",
"shas": "52b3a9b592646247d5884c136733a12cb2971479..5dede241573c8e353a4d8c662194e8e3b750e01a"
}]