@ant-yasa/uast-parser-java-js 0.1.83 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/package.json +1 -1
  2. package/dist/src/frontend/java/ASTBuilder.d.ts +1 -1
  3. package/dist/src/frontend/java/ASTBuilder.js +4 -3
  4. package/dist/src/frontend/java/ASTBuilder.js.map +1 -1
  5. package/dist/src/frontend/java/testBuilder.d.ts +128 -128
  6. package/dist/src/frontend/javascript/parser.js +4 -2
  7. package/dist/src/frontend/javascript/parser.js.map +1 -1
  8. package/package.json +2 -2
  9. package/tests/benchmark/base/class.js.json +83 -85
  10. package/tests/benchmark/base/class_test.js.json +17 -19
  11. package/tests/benchmark/base/comment.js.json +63 -65
  12. package/tests/benchmark/base/empty.js.json +10 -10
  13. package/tests/benchmark/base/export.js.json +296 -296
  14. package/tests/benchmark/base/export1.js.json +13 -13
  15. package/tests/benchmark/base/export2.js.json +147 -147
  16. package/tests/benchmark/base/expressions.js.json +76 -76
  17. package/tests/benchmark/base/for.js.json +35 -35
  18. package/tests/benchmark/base/function.js.json +72 -72
  19. package/tests/benchmark/base/import.js.json +22 -22
  20. package/tests/benchmark/base/literal.js.json +55 -55
  21. package/tests/benchmark/base/param.js.json +19 -19
  22. package/tests/benchmark/base/parseerror.js.json +10 -10
  23. package/tests/benchmark/base/patternlike.js.json +194 -194
  24. package/tests/benchmark/base/react.js.json +9 -9
  25. package/tests/benchmark/base/switch.js.json +36 -36
  26. package/tests/benchmark/base/temp.js.json +928 -930
  27. package/tests/benchmark/base/tmp.js.json +713 -716
  28. package/tests/benchmark/base/vardecl.js.json +23 -23
  29. package/tests/index.ts +10 -9
@@ -23,7 +23,7 @@
23
23
  "line": 1,
24
24
  "column": 11
25
25
  },
26
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
26
+ "sourcefile": "for.js"
27
27
  }
28
28
  },
29
29
  "init": {
@@ -45,7 +45,7 @@
45
45
  "line": 1,
46
46
  "column": 15
47
47
  },
48
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
48
+ "sourcefile": "for.js"
49
49
  }
50
50
  },
51
51
  "cloned": false,
@@ -69,7 +69,7 @@
69
69
  "line": 1,
70
70
  "column": 15
71
71
  },
72
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
72
+ "sourcefile": "for.js"
73
73
  }
74
74
  },
75
75
  "test": {
@@ -93,7 +93,7 @@
93
93
  "line": 1,
94
94
  "column": 18
95
95
  },
96
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
96
+ "sourcefile": "for.js"
97
97
  }
98
98
  },
99
99
  "right": {
@@ -116,7 +116,7 @@
116
116
  "line": 1,
117
117
  "column": 31
118
118
  },
119
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
119
+ "sourcefile": "for.js"
120
120
  }
121
121
  },
122
122
  "property": {
@@ -137,7 +137,7 @@
137
137
  "line": 1,
138
138
  "column": 38
139
139
  },
140
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
140
+ "sourcefile": "for.js"
141
141
  }
142
142
  },
143
143
  "computed": false,
@@ -156,7 +156,7 @@
156
156
  "line": 1,
157
157
  "column": 38
158
158
  },
159
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
159
+ "sourcefile": "for.js"
160
160
  }
161
161
  },
162
162
  "_meta": {
@@ -174,7 +174,7 @@
174
174
  "line": 1,
175
175
  "column": 38
176
176
  },
177
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
177
+ "sourcefile": "for.js"
178
178
  }
179
179
  },
180
180
  "update": {
@@ -198,7 +198,7 @@
198
198
  "line": 1,
199
199
  "column": 41
200
200
  },
201
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
201
+ "sourcefile": "for.js"
202
202
  }
203
203
  },
204
204
  "isSuffix": true,
@@ -217,7 +217,7 @@
217
217
  "line": 1,
218
218
  "column": 43
219
219
  },
220
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
220
+ "sourcefile": "for.js"
221
221
  }
222
222
  },
223
223
  "body": {
@@ -243,7 +243,7 @@
243
243
  "line": 2,
244
244
  "column": 15
245
245
  },
246
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
246
+ "sourcefile": "for.js"
247
247
  }
248
248
  },
249
249
  "init": {
@@ -272,7 +272,7 @@
272
272
  "line": 2,
273
273
  "column": 28
274
274
  },
275
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
275
+ "sourcefile": "for.js"
276
276
  }
277
277
  },
278
278
  "property": {
@@ -293,7 +293,7 @@
293
293
  "line": 2,
294
294
  "column": 30
295
295
  },
296
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
296
+ "sourcefile": "for.js"
297
297
  }
298
298
  },
299
299
  "computed": true,
@@ -312,7 +312,7 @@
312
312
  "line": 2,
313
313
  "column": 31
314
314
  },
315
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
315
+ "sourcefile": "for.js"
316
316
  }
317
317
  },
318
318
  "property": {
@@ -333,7 +333,7 @@
333
333
  "line": 2,
334
334
  "column": 37
335
335
  },
336
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
336
+ "sourcefile": "for.js"
337
337
  }
338
338
  },
339
339
  "computed": false,
@@ -352,7 +352,7 @@
352
352
  "line": 2,
353
353
  "column": 37
354
354
  },
355
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
355
+ "sourcefile": "for.js"
356
356
  }
357
357
  },
358
358
  "arguments": [
@@ -375,7 +375,7 @@
375
375
  "line": 2,
376
376
  "column": 41
377
377
  },
378
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
378
+ "sourcefile": "for.js"
379
379
  }
380
380
  }
381
381
  ],
@@ -394,7 +394,7 @@
394
394
  "line": 2,
395
395
  "column": 42
396
396
  },
397
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
397
+ "sourcefile": "for.js"
398
398
  }
399
399
  },
400
400
  "property": {
@@ -416,7 +416,7 @@
416
416
  "line": 2,
417
417
  "column": 44
418
418
  },
419
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
419
+ "sourcefile": "for.js"
420
420
  }
421
421
  },
422
422
  "computed": true,
@@ -435,7 +435,7 @@
435
435
  "line": 2,
436
436
  "column": 45
437
437
  },
438
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
438
+ "sourcefile": "for.js"
439
439
  }
440
440
  },
441
441
  "cloned": false,
@@ -459,7 +459,7 @@
459
459
  "line": 2,
460
460
  "column": 45
461
461
  },
462
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
462
+ "sourcefile": "for.js"
463
463
  }
464
464
  },
465
465
  {
@@ -485,7 +485,7 @@
485
485
  "line": 3,
486
486
  "column": 15
487
487
  },
488
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
488
+ "sourcefile": "for.js"
489
489
  }
490
490
  },
491
491
  "right": {
@@ -506,7 +506,7 @@
506
506
  "line": 3,
507
507
  "column": 23
508
508
  },
509
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
509
+ "sourcefile": "for.js"
510
510
  }
511
511
  },
512
512
  "_meta": {
@@ -524,7 +524,7 @@
524
524
  "line": 3,
525
525
  "column": 23
526
526
  },
527
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
527
+ "sourcefile": "for.js"
528
528
  }
529
529
  },
530
530
  "consequent": {
@@ -552,7 +552,7 @@
552
552
  "line": 4,
553
553
  "column": 9
554
554
  },
555
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
555
+ "sourcefile": "for.js"
556
556
  }
557
557
  },
558
558
  "right": {
@@ -573,7 +573,7 @@
573
573
  "line": 4,
574
574
  "column": 13
575
575
  },
576
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
576
+ "sourcefile": "for.js"
577
577
  }
578
578
  },
579
579
  "operator": "=",
@@ -593,7 +593,7 @@
593
593
  "line": 4,
594
594
  "column": 13
595
595
  },
596
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
596
+ "sourcefile": "for.js"
597
597
  }
598
598
  },
599
599
  "_meta": {
@@ -611,7 +611,7 @@
611
611
  "line": 4,
612
612
  "column": 14
613
613
  },
614
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
614
+ "sourcefile": "for.js"
615
615
  }
616
616
  },
617
617
  {
@@ -632,7 +632,7 @@
632
632
  "line": 5,
633
633
  "column": 11
634
634
  },
635
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
635
+ "sourcefile": "for.js"
636
636
  }
637
637
  }
638
638
  ],
@@ -653,7 +653,7 @@
653
653
  "line": 6,
654
654
  "column": 4
655
655
  },
656
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
656
+ "sourcefile": "for.js"
657
657
  }
658
658
  },
659
659
  "alternative": null,
@@ -672,7 +672,7 @@
672
672
  "line": 6,
673
673
  "column": 4
674
674
  },
675
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
675
+ "sourcefile": "for.js"
676
676
  }
677
677
  }
678
678
  ],
@@ -693,7 +693,7 @@
693
693
  "line": 7,
694
694
  "column": 2
695
695
  },
696
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
696
+ "sourcefile": "for.js"
697
697
  }
698
698
  },
699
699
  "_meta": {
@@ -710,14 +710,14 @@
710
710
  "line": 7,
711
711
  "column": 2
712
712
  },
713
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
713
+ "sourcefile": "for.js"
714
714
  }
715
715
  }
716
716
  ],
717
717
  "language": "javascript",
718
718
  "languageVersion": null,
719
719
  "uri": "",
720
- "version": "0.1.63",
720
+ "version": "0.0.0",
721
721
  "_meta": {
722
722
  "_extra": {
723
723
  "end": 149,
@@ -733,6 +733,6 @@
733
733
  "line": 8,
734
734
  "column": 1
735
735
  },
736
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/for.js"
736
+ "sourcefile": "for.js"
737
737
  }
738
738
  }