@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
@@ -24,7 +24,7 @@
24
24
  "line": 2,
25
25
  "column": 30
26
26
  },
27
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/react.js"
27
+ "sourcefile": "react.js"
28
28
  }
29
29
  },
30
30
  "body": [],
@@ -44,7 +44,7 @@
44
44
  "line": 8,
45
45
  "column": 2
46
46
  },
47
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/react.js"
47
+ "sourcefile": "react.js"
48
48
  }
49
49
  },
50
50
  {
@@ -69,7 +69,7 @@
69
69
  "line": 2,
70
70
  "column": 30
71
71
  },
72
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/react.js"
72
+ "sourcefile": "react.js"
73
73
  }
74
74
  },
75
75
  "body": [],
@@ -89,7 +89,7 @@
89
89
  "line": 8,
90
90
  "column": 2
91
91
  },
92
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/react.js"
92
+ "sourcefile": "react.js"
93
93
  }
94
94
  },
95
95
  "alias": {
@@ -110,7 +110,7 @@
110
110
  "line": 2,
111
111
  "column": 30
112
112
  },
113
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/react.js"
113
+ "sourcefile": "react.js"
114
114
  }
115
115
  },
116
116
  "_meta": {},
@@ -123,7 +123,7 @@
123
123
  "line": 8,
124
124
  "column": 2
125
125
  },
126
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/react.js"
126
+ "sourcefile": "react.js"
127
127
  }
128
128
  }
129
129
  ],
@@ -142,14 +142,14 @@
142
142
  "line": 8,
143
143
  "column": 2
144
144
  },
145
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/react.js"
145
+ "sourcefile": "react.js"
146
146
  }
147
147
  }
148
148
  ],
149
149
  "language": "javascript",
150
150
  "languageVersion": null,
151
151
  "uri": "",
152
- "version": "0.1.63",
152
+ "version": "0.0.0",
153
153
  "_meta": {
154
154
  "_extra": {
155
155
  "end": 158,
@@ -206,6 +206,6 @@
206
206
  "line": 9,
207
207
  "column": 1
208
208
  },
209
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/react.js"
209
+ "sourcefile": "react.js"
210
210
  }
211
211
  }
@@ -21,7 +21,7 @@
21
21
  "line": 1,
22
22
  "column": 10
23
23
  },
24
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
24
+ "sourcefile": "switch.js"
25
25
  }
26
26
  },
27
27
  "init": {
@@ -43,7 +43,7 @@
43
43
  "line": 1,
44
44
  "column": 14
45
45
  },
46
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
46
+ "sourcefile": "switch.js"
47
47
  }
48
48
  },
49
49
  "cloned": false,
@@ -66,7 +66,7 @@
66
66
  "line": 1,
67
67
  "column": 14
68
68
  },
69
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
69
+ "sourcefile": "switch.js"
70
70
  }
71
71
  },
72
72
  {
@@ -89,7 +89,7 @@
89
89
  "line": 2,
90
90
  "column": 12
91
91
  },
92
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
92
+ "sourcefile": "switch.js"
93
93
  }
94
94
  },
95
95
  "cases": [
@@ -114,7 +114,7 @@
114
114
  "line": 3,
115
115
  "column": 9
116
116
  },
117
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
117
+ "sourcefile": "switch.js"
118
118
  }
119
119
  },
120
120
  "body": {
@@ -144,7 +144,7 @@
144
144
  "line": 4,
145
145
  "column": 12
146
146
  },
147
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
147
+ "sourcefile": "switch.js"
148
148
  }
149
149
  },
150
150
  "property": {
@@ -165,7 +165,7 @@
165
165
  "line": 4,
166
166
  "column": 16
167
167
  },
168
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
168
+ "sourcefile": "switch.js"
169
169
  }
170
170
  },
171
171
  "computed": false,
@@ -184,7 +184,7 @@
184
184
  "line": 4,
185
185
  "column": 16
186
186
  },
187
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
187
+ "sourcefile": "switch.js"
188
188
  }
189
189
  },
190
190
  "arguments": [
@@ -207,7 +207,7 @@
207
207
  "line": 4,
208
208
  "column": 18
209
209
  },
210
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
210
+ "sourcefile": "switch.js"
211
211
  }
212
212
  }
213
213
  ],
@@ -226,7 +226,7 @@
226
226
  "line": 4,
227
227
  "column": 19
228
228
  },
229
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
229
+ "sourcefile": "switch.js"
230
230
  }
231
231
  },
232
232
  "_meta": {
@@ -244,7 +244,7 @@
244
244
  "line": 4,
245
245
  "column": 19
246
246
  },
247
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
247
+ "sourcefile": "switch.js"
248
248
  }
249
249
  },
250
250
  {
@@ -265,7 +265,7 @@
265
265
  "line": 5,
266
266
  "column": 10
267
267
  },
268
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
268
+ "sourcefile": "switch.js"
269
269
  }
270
270
  }
271
271
  ],
@@ -280,7 +280,7 @@
280
280
  "line": 5,
281
281
  "column": 10
282
282
  },
283
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
283
+ "sourcefile": "switch.js"
284
284
  }
285
285
  },
286
286
  "_meta": {
@@ -298,7 +298,7 @@
298
298
  "line": 5,
299
299
  "column": 10
300
300
  },
301
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
301
+ "sourcefile": "switch.js"
302
302
  }
303
303
  },
304
304
  {
@@ -322,7 +322,7 @@
322
322
  "line": 6,
323
323
  "column": 9
324
324
  },
325
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
325
+ "sourcefile": "switch.js"
326
326
  }
327
327
  },
328
328
  "body": {
@@ -352,7 +352,7 @@
352
352
  "line": 7,
353
353
  "column": 12
354
354
  },
355
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
355
+ "sourcefile": "switch.js"
356
356
  }
357
357
  },
358
358
  "property": {
@@ -373,7 +373,7 @@
373
373
  "line": 7,
374
374
  "column": 16
375
375
  },
376
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
376
+ "sourcefile": "switch.js"
377
377
  }
378
378
  },
379
379
  "computed": false,
@@ -392,7 +392,7 @@
392
392
  "line": 7,
393
393
  "column": 16
394
394
  },
395
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
395
+ "sourcefile": "switch.js"
396
396
  }
397
397
  },
398
398
  "arguments": [
@@ -415,7 +415,7 @@
415
415
  "line": 7,
416
416
  "column": 18
417
417
  },
418
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
418
+ "sourcefile": "switch.js"
419
419
  }
420
420
  }
421
421
  ],
@@ -434,7 +434,7 @@
434
434
  "line": 7,
435
435
  "column": 19
436
436
  },
437
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
437
+ "sourcefile": "switch.js"
438
438
  }
439
439
  },
440
440
  "_meta": {
@@ -452,7 +452,7 @@
452
452
  "line": 7,
453
453
  "column": 19
454
454
  },
455
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
455
+ "sourcefile": "switch.js"
456
456
  }
457
457
  },
458
458
  {
@@ -473,7 +473,7 @@
473
473
  "line": 8,
474
474
  "column": 10
475
475
  },
476
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
476
+ "sourcefile": "switch.js"
477
477
  }
478
478
  }
479
479
  ],
@@ -488,7 +488,7 @@
488
488
  "line": 8,
489
489
  "column": 10
490
490
  },
491
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
491
+ "sourcefile": "switch.js"
492
492
  }
493
493
  },
494
494
  "_meta": {
@@ -506,7 +506,7 @@
506
506
  "line": 8,
507
507
  "column": 10
508
508
  },
509
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
509
+ "sourcefile": "switch.js"
510
510
  }
511
511
  },
512
512
  {
@@ -539,7 +539,7 @@
539
539
  "line": 10,
540
540
  "column": 12
541
541
  },
542
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
542
+ "sourcefile": "switch.js"
543
543
  }
544
544
  },
545
545
  "property": {
@@ -560,7 +560,7 @@
560
560
  "line": 10,
561
561
  "column": 16
562
562
  },
563
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
563
+ "sourcefile": "switch.js"
564
564
  }
565
565
  },
566
566
  "computed": false,
@@ -579,7 +579,7 @@
579
579
  "line": 10,
580
580
  "column": 16
581
581
  },
582
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
582
+ "sourcefile": "switch.js"
583
583
  }
584
584
  },
585
585
  "arguments": [
@@ -605,7 +605,7 @@
605
605
  "line": 10,
606
606
  "column": 19
607
607
  },
608
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
608
+ "sourcefile": "switch.js"
609
609
  }
610
610
  },
611
611
  "isSuffix": false,
@@ -624,7 +624,7 @@
624
624
  "line": 10,
625
625
  "column": 19
626
626
  },
627
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
627
+ "sourcefile": "switch.js"
628
628
  }
629
629
  }
630
630
  ],
@@ -643,7 +643,7 @@
643
643
  "line": 10,
644
644
  "column": 20
645
645
  },
646
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
646
+ "sourcefile": "switch.js"
647
647
  }
648
648
  },
649
649
  "_meta": {
@@ -661,7 +661,7 @@
661
661
  "line": 10,
662
662
  "column": 20
663
663
  },
664
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
664
+ "sourcefile": "switch.js"
665
665
  }
666
666
  }
667
667
  ],
@@ -676,7 +676,7 @@
676
676
  "line": 10,
677
677
  "column": 20
678
678
  },
679
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
679
+ "sourcefile": "switch.js"
680
680
  }
681
681
  },
682
682
  "_meta": {
@@ -694,7 +694,7 @@
694
694
  "line": 10,
695
695
  "column": 20
696
696
  },
697
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
697
+ "sourcefile": "switch.js"
698
698
  }
699
699
  }
700
700
  ],
@@ -713,14 +713,14 @@
713
713
  "line": 11,
714
714
  "column": 2
715
715
  },
716
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
716
+ "sourcefile": "switch.js"
717
717
  }
718
718
  }
719
719
  ],
720
720
  "language": "javascript",
721
721
  "languageVersion": null,
722
722
  "uri": "",
723
- "version": "0.1.63",
723
+ "version": "0.0.0",
724
724
  "_meta": {
725
725
  "_extra": {
726
726
  "end": 140,
@@ -736,6 +736,6 @@
736
736
  "line": 12,
737
737
  "column": 1
738
738
  },
739
- "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/switch.js"
739
+ "sourcefile": "switch.js"
740
740
  }
741
741
  }