@ant-yasa/uast-parser-java-js 0.1.21-beta.1 → 0.1.21

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.
@@ -1,1809 +0,0 @@
1
- {
2
- "type": "CompileUnit",
3
- "body": [
4
- {
5
- "type": "ClassDefinition",
6
- "id": {
7
- "type": "Identifier",
8
- "name": "Base1",
9
- "_meta": {
10
- "_extra": {
11
- "start": 6,
12
- "end": 11
13
- }
14
- },
15
- "loc": {
16
- "start": {
17
- "line": 1,
18
- "column": 7
19
- },
20
- "end": {
21
- "line": 1,
22
- "column": 12
23
- },
24
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
25
- }
26
- },
27
- "body": [
28
- {
29
- "type": "FunctionDefinition",
30
- "id": {
31
- "type": "Identifier",
32
- "name": "constructor",
33
- "_meta": {
34
- "_extra": {
35
- "start": 16,
36
- "end": 27
37
- }
38
- },
39
- "loc": {
40
- "start": {
41
- "line": 2,
42
- "column": 3
43
- },
44
- "end": {
45
- "line": 2,
46
- "column": 14
47
- }
48
- }
49
- },
50
- "parameters": [],
51
- "returnType": {
52
- "type": "DynamicType",
53
- "id": null,
54
- "_meta": {},
55
- "loc": {
56
- "start": {
57
- "line": 2,
58
- "column": 3
59
- },
60
- "end": {
61
- "line": 4,
62
- "column": 4
63
- },
64
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
65
- }
66
- },
67
- "body": {
68
- "type": "ScopedStatement",
69
- "body": [
70
- {
71
- "type": "ScopedStatement",
72
- "body": [
73
- {
74
- "type": "ExpressionStatement",
75
- "expression": {
76
- "type": "AssignmentExpression",
77
- "left": {
78
- "type": "MemberAccess",
79
- "object": {
80
- "type": "ThisExpression",
81
- "_meta": {
82
- "_extra": {
83
- "start": 36,
84
- "end": 40
85
- }
86
- },
87
- "loc": {
88
- "start": {
89
- "line": 3,
90
- "column": 5
91
- },
92
- "end": {
93
- "line": 3,
94
- "column": 9
95
- },
96
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
97
- }
98
- },
99
- "property": {
100
- "type": "Identifier",
101
- "name": "a1",
102
- "_meta": {
103
- "_extra": {
104
- "start": 41,
105
- "end": 43
106
- }
107
- },
108
- "loc": {
109
- "start": {
110
- "line": 3,
111
- "column": 10
112
- },
113
- "end": {
114
- "line": 3,
115
- "column": 12
116
- },
117
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
118
- }
119
- },
120
- "computed": false,
121
- "_meta": {
122
- "_extra": {
123
- "start": 36,
124
- "end": 43
125
- }
126
- },
127
- "loc": {
128
- "start": {
129
- "line": 3,
130
- "column": 5
131
- },
132
- "end": {
133
- "line": 3,
134
- "column": 12
135
- },
136
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
137
- }
138
- },
139
- "right": {
140
- "type": "Literal",
141
- "value": 3,
142
- "literalType": "number",
143
- "_meta": {
144
- "_extra": {
145
- "start": 46,
146
- "end": 47
147
- }
148
- },
149
- "loc": {
150
- "start": {
151
- "line": 3,
152
- "column": 15
153
- },
154
- "end": {
155
- "line": 3,
156
- "column": 16
157
- },
158
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
159
- }
160
- },
161
- "operator": "=",
162
- "cloned": false,
163
- "_meta": {
164
- "_extra": {
165
- "start": 36,
166
- "end": 47
167
- }
168
- },
169
- "loc": {
170
- "start": {
171
- "line": 3,
172
- "column": 5
173
- },
174
- "end": {
175
- "line": 3,
176
- "column": 16
177
- },
178
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
179
- }
180
- },
181
- "_meta": {
182
- "_extra": {
183
- "start": 36,
184
- "end": 48
185
- }
186
- },
187
- "loc": {
188
- "start": {
189
- "line": 3,
190
- "column": 5
191
- },
192
- "end": {
193
- "line": 3,
194
- "column": 17
195
- },
196
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
197
- }
198
- }
199
- ],
200
- "id": null,
201
- "_meta": {
202
- "_extra": {
203
- "start": 30,
204
- "end": 52,
205
- "directives": []
206
- }
207
- },
208
- "loc": {
209
- "start": {
210
- "line": 2,
211
- "column": 17
212
- },
213
- "end": {
214
- "line": 4,
215
- "column": 4
216
- },
217
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
218
- }
219
- }
220
- ],
221
- "id": null,
222
- "_meta": {},
223
- "loc": {
224
- "start": {
225
- "line": 2,
226
- "column": 3
227
- },
228
- "end": {
229
- "line": 4,
230
- "column": 4
231
- },
232
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
233
- }
234
- },
235
- "modifiers": [],
236
- "_meta": {
237
- "isConstructor": true,
238
- "_extra": {
239
- "start": 16,
240
- "end": 52
241
- }
242
- },
243
- "loc": {
244
- "start": {
245
- "line": 2,
246
- "column": 3
247
- },
248
- "end": {
249
- "line": 4,
250
- "column": 4
251
- },
252
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
253
- }
254
- },
255
- {
256
- "type": "FunctionDefinition",
257
- "id": {
258
- "type": "Identifier",
259
- "name": "b1",
260
- "_meta": {
261
- "_extra": {
262
- "start": 56,
263
- "end": 58
264
- }
265
- },
266
- "loc": {
267
- "start": {
268
- "line": 6,
269
- "column": 3
270
- },
271
- "end": {
272
- "line": 6,
273
- "column": 5
274
- }
275
- }
276
- },
277
- "parameters": [],
278
- "returnType": {
279
- "type": "DynamicType",
280
- "id": null,
281
- "_meta": {},
282
- "loc": {
283
- "start": {
284
- "line": 6,
285
- "column": 3
286
- },
287
- "end": {
288
- "line": 8,
289
- "column": 4
290
- },
291
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
292
- }
293
- },
294
- "body": {
295
- "type": "ScopedStatement",
296
- "body": [
297
- {
298
- "type": "ScopedStatement",
299
- "body": [
300
- {
301
- "type": "ReturnStatement",
302
- "argument": {
303
- "type": "MemberAccess",
304
- "object": {
305
- "type": "ThisExpression",
306
- "_meta": {
307
- "_extra": {
308
- "start": 74,
309
- "end": 78
310
- }
311
- },
312
- "loc": {
313
- "start": {
314
- "line": 7,
315
- "column": 12
316
- },
317
- "end": {
318
- "line": 7,
319
- "column": 16
320
- },
321
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
322
- }
323
- },
324
- "property": {
325
- "type": "Identifier",
326
- "name": "a1",
327
- "_meta": {
328
- "_extra": {
329
- "start": 79,
330
- "end": 81
331
- }
332
- },
333
- "loc": {
334
- "start": {
335
- "line": 7,
336
- "column": 17
337
- },
338
- "end": {
339
- "line": 7,
340
- "column": 19
341
- },
342
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
343
- }
344
- },
345
- "computed": false,
346
- "_meta": {
347
- "_extra": {
348
- "start": 74,
349
- "end": 81
350
- }
351
- },
352
- "loc": {
353
- "start": {
354
- "line": 7,
355
- "column": 12
356
- },
357
- "end": {
358
- "line": 7,
359
- "column": 19
360
- },
361
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
362
- }
363
- },
364
- "isYield": false,
365
- "_meta": {
366
- "_extra": {
367
- "start": 67,
368
- "end": 82
369
- }
370
- },
371
- "loc": {
372
- "start": {
373
- "line": 7,
374
- "column": 5
375
- },
376
- "end": {
377
- "line": 7,
378
- "column": 20
379
- },
380
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
381
- }
382
- }
383
- ],
384
- "id": null,
385
- "_meta": {
386
- "_extra": {
387
- "start": 61,
388
- "end": 86,
389
- "directives": []
390
- }
391
- },
392
- "loc": {
393
- "start": {
394
- "line": 6,
395
- "column": 8
396
- },
397
- "end": {
398
- "line": 8,
399
- "column": 4
400
- },
401
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
402
- }
403
- }
404
- ],
405
- "id": null,
406
- "_meta": {},
407
- "loc": {
408
- "start": {
409
- "line": 6,
410
- "column": 3
411
- },
412
- "end": {
413
- "line": 8,
414
- "column": 4
415
- },
416
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
417
- }
418
- },
419
- "modifiers": [],
420
- "_meta": {
421
- "_extra": {
422
- "start": 56,
423
- "end": 86
424
- }
425
- },
426
- "loc": {
427
- "start": {
428
- "line": 6,
429
- "column": 3
430
- },
431
- "end": {
432
- "line": 8,
433
- "column": 4
434
- },
435
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
436
- }
437
- }
438
- ],
439
- "supers": [
440
- null
441
- ],
442
- "_meta": {
443
- "_extra": {
444
- "end": 88
445
- }
446
- },
447
- "loc": {
448
- "start": {
449
- "line": 1,
450
- "column": 1
451
- },
452
- "end": {
453
- "line": 9,
454
- "column": 2
455
- },
456
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
457
- }
458
- },
459
- {
460
- "type": "ClassDefinition",
461
- "id": {
462
- "type": "Identifier",
463
- "name": "Base2",
464
- "_meta": {
465
- "_extra": {
466
- "start": 96,
467
- "end": 101
468
- }
469
- },
470
- "loc": {
471
- "start": {
472
- "line": 11,
473
- "column": 7
474
- },
475
- "end": {
476
- "line": 11,
477
- "column": 12
478
- },
479
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
480
- }
481
- },
482
- "body": [
483
- {
484
- "type": "FunctionDefinition",
485
- "id": {
486
- "type": "Identifier",
487
- "name": "constructor",
488
- "_meta": {
489
- "_extra": {
490
- "start": 119,
491
- "end": 130
492
- }
493
- },
494
- "loc": {
495
- "start": {
496
- "line": 12,
497
- "column": 3
498
- },
499
- "end": {
500
- "line": 12,
501
- "column": 14
502
- }
503
- }
504
- },
505
- "parameters": [],
506
- "returnType": {
507
- "type": "DynamicType",
508
- "id": null,
509
- "_meta": {},
510
- "loc": {
511
- "start": {
512
- "line": 12,
513
- "column": 3
514
- },
515
- "end": {
516
- "line": 16,
517
- "column": 4
518
- },
519
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
520
- }
521
- },
522
- "body": {
523
- "type": "ScopedStatement",
524
- "body": [
525
- {
526
- "type": "ScopedStatement",
527
- "body": [
528
- {
529
- "type": "ExpressionStatement",
530
- "expression": {
531
- "type": "CallExpression",
532
- "callee": {
533
- "type": "SuperExpression",
534
- "_meta": {
535
- "_extra": {
536
- "start": 139,
537
- "end": 144
538
- }
539
- },
540
- "loc": {
541
- "start": {
542
- "line": 13,
543
- "column": 5
544
- },
545
- "end": {
546
- "line": 13,
547
- "column": 10
548
- },
549
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
550
- }
551
- },
552
- "arguments": [],
553
- "_meta": {
554
- "_extra": {
555
- "start": 139,
556
- "end": 146
557
- }
558
- },
559
- "loc": {
560
- "start": {
561
- "line": 13,
562
- "column": 5
563
- },
564
- "end": {
565
- "line": 13,
566
- "column": 12
567
- },
568
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
569
- }
570
- },
571
- "_meta": {
572
- "_extra": {
573
- "start": 139,
574
- "end": 147
575
- }
576
- },
577
- "loc": {
578
- "start": {
579
- "line": 13,
580
- "column": 5
581
- },
582
- "end": {
583
- "line": 13,
584
- "column": 13
585
- },
586
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
587
- }
588
- },
589
- {
590
- "type": "ExpressionStatement",
591
- "expression": {
592
- "type": "AssignmentExpression",
593
- "left": {
594
- "type": "MemberAccess",
595
- "object": {
596
- "type": "ThisExpression",
597
- "_meta": {
598
- "_extra": {
599
- "start": 152,
600
- "end": 156
601
- }
602
- },
603
- "loc": {
604
- "start": {
605
- "line": 14,
606
- "column": 5
607
- },
608
- "end": {
609
- "line": 14,
610
- "column": 9
611
- },
612
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
613
- }
614
- },
615
- "property": {
616
- "type": "Identifier",
617
- "name": "a1",
618
- "_meta": {
619
- "_extra": {
620
- "start": 157,
621
- "end": 159
622
- }
623
- },
624
- "loc": {
625
- "start": {
626
- "line": 14,
627
- "column": 10
628
- },
629
- "end": {
630
- "line": 14,
631
- "column": 12
632
- },
633
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
634
- }
635
- },
636
- "computed": false,
637
- "_meta": {
638
- "_extra": {
639
- "start": 152,
640
- "end": 159
641
- }
642
- },
643
- "loc": {
644
- "start": {
645
- "line": 14,
646
- "column": 5
647
- },
648
- "end": {
649
- "line": 14,
650
- "column": 12
651
- },
652
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
653
- }
654
- },
655
- "right": {
656
- "type": "Literal",
657
- "value": 4,
658
- "literalType": "number",
659
- "_meta": {
660
- "_extra": {
661
- "start": 162,
662
- "end": 163
663
- }
664
- },
665
- "loc": {
666
- "start": {
667
- "line": 14,
668
- "column": 15
669
- },
670
- "end": {
671
- "line": 14,
672
- "column": 16
673
- },
674
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
675
- }
676
- },
677
- "operator": "=",
678
- "cloned": false,
679
- "_meta": {
680
- "_extra": {
681
- "start": 152,
682
- "end": 163
683
- }
684
- },
685
- "loc": {
686
- "start": {
687
- "line": 14,
688
- "column": 5
689
- },
690
- "end": {
691
- "line": 14,
692
- "column": 16
693
- },
694
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
695
- }
696
- },
697
- "_meta": {
698
- "_extra": {
699
- "start": 152,
700
- "end": 164
701
- }
702
- },
703
- "loc": {
704
- "start": {
705
- "line": 14,
706
- "column": 5
707
- },
708
- "end": {
709
- "line": 14,
710
- "column": 17
711
- },
712
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
713
- }
714
- },
715
- {
716
- "type": "ExpressionStatement",
717
- "expression": {
718
- "type": "AssignmentExpression",
719
- "left": {
720
- "type": "MemberAccess",
721
- "object": {
722
- "type": "ThisExpression",
723
- "_meta": {
724
- "_extra": {
725
- "start": 169,
726
- "end": 173
727
- }
728
- },
729
- "loc": {
730
- "start": {
731
- "line": 15,
732
- "column": 5
733
- },
734
- "end": {
735
- "line": 15,
736
- "column": 9
737
- },
738
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
739
- }
740
- },
741
- "property": {
742
- "type": "Identifier",
743
- "name": "a2",
744
- "_meta": {
745
- "_extra": {
746
- "start": 174,
747
- "end": 176
748
- }
749
- },
750
- "loc": {
751
- "start": {
752
- "line": 15,
753
- "column": 10
754
- },
755
- "end": {
756
- "line": 15,
757
- "column": 12
758
- },
759
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
760
- }
761
- },
762
- "computed": false,
763
- "_meta": {
764
- "_extra": {
765
- "start": 169,
766
- "end": 176
767
- }
768
- },
769
- "loc": {
770
- "start": {
771
- "line": 15,
772
- "column": 5
773
- },
774
- "end": {
775
- "line": 15,
776
- "column": 12
777
- },
778
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
779
- }
780
- },
781
- "right": {
782
- "type": "Literal",
783
- "value": 5,
784
- "literalType": "number",
785
- "_meta": {
786
- "_extra": {
787
- "start": 179,
788
- "end": 180
789
- }
790
- },
791
- "loc": {
792
- "start": {
793
- "line": 15,
794
- "column": 15
795
- },
796
- "end": {
797
- "line": 15,
798
- "column": 16
799
- },
800
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
801
- }
802
- },
803
- "operator": "=",
804
- "cloned": false,
805
- "_meta": {
806
- "_extra": {
807
- "start": 169,
808
- "end": 180
809
- }
810
- },
811
- "loc": {
812
- "start": {
813
- "line": 15,
814
- "column": 5
815
- },
816
- "end": {
817
- "line": 15,
818
- "column": 16
819
- },
820
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
821
- }
822
- },
823
- "_meta": {
824
- "_extra": {
825
- "start": 169,
826
- "end": 181
827
- }
828
- },
829
- "loc": {
830
- "start": {
831
- "line": 15,
832
- "column": 5
833
- },
834
- "end": {
835
- "line": 15,
836
- "column": 17
837
- },
838
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
839
- }
840
- }
841
- ],
842
- "id": null,
843
- "_meta": {
844
- "_extra": {
845
- "start": 133,
846
- "end": 185,
847
- "directives": []
848
- }
849
- },
850
- "loc": {
851
- "start": {
852
- "line": 12,
853
- "column": 17
854
- },
855
- "end": {
856
- "line": 16,
857
- "column": 4
858
- },
859
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
860
- }
861
- }
862
- ],
863
- "id": null,
864
- "_meta": {},
865
- "loc": {
866
- "start": {
867
- "line": 12,
868
- "column": 3
869
- },
870
- "end": {
871
- "line": 16,
872
- "column": 4
873
- },
874
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
875
- }
876
- },
877
- "modifiers": [],
878
- "_meta": {
879
- "isConstructor": true,
880
- "_extra": {
881
- "start": 119,
882
- "end": 185
883
- }
884
- },
885
- "loc": {
886
- "start": {
887
- "line": 12,
888
- "column": 3
889
- },
890
- "end": {
891
- "line": 16,
892
- "column": 4
893
- },
894
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
895
- }
896
- },
897
- {
898
- "type": "FunctionDefinition",
899
- "id": {
900
- "type": "Identifier",
901
- "name": "b2",
902
- "_meta": {
903
- "_extra": {
904
- "start": 189,
905
- "end": 191
906
- }
907
- },
908
- "loc": {
909
- "start": {
910
- "line": 18,
911
- "column": 3
912
- },
913
- "end": {
914
- "line": 18,
915
- "column": 5
916
- }
917
- }
918
- },
919
- "parameters": [],
920
- "returnType": {
921
- "type": "DynamicType",
922
- "id": null,
923
- "_meta": {},
924
- "loc": {
925
- "start": {
926
- "line": 18,
927
- "column": 3
928
- },
929
- "end": {
930
- "line": 20,
931
- "column": 4
932
- },
933
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
934
- }
935
- },
936
- "body": {
937
- "type": "ScopedStatement",
938
- "body": [
939
- {
940
- "type": "ScopedStatement",
941
- "body": [
942
- {
943
- "type": "ReturnStatement",
944
- "argument": {
945
- "type": "BinaryExpression",
946
- "operator": "+",
947
- "left": {
948
- "type": "CallExpression",
949
- "callee": {
950
- "type": "MemberAccess",
951
- "object": {
952
- "type": "SuperExpression",
953
- "_meta": {
954
- "_extra": {
955
- "start": 207,
956
- "end": 212
957
- }
958
- },
959
- "loc": {
960
- "start": {
961
- "line": 19,
962
- "column": 12
963
- },
964
- "end": {
965
- "line": 19,
966
- "column": 17
967
- },
968
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
969
- }
970
- },
971
- "property": {
972
- "type": "Identifier",
973
- "name": "b1",
974
- "_meta": {
975
- "_extra": {
976
- "start": 213,
977
- "end": 215
978
- }
979
- },
980
- "loc": {
981
- "start": {
982
- "line": 19,
983
- "column": 18
984
- },
985
- "end": {
986
- "line": 19,
987
- "column": 20
988
- },
989
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
990
- }
991
- },
992
- "computed": false,
993
- "_meta": {
994
- "_extra": {
995
- "start": 207,
996
- "end": 215
997
- }
998
- },
999
- "loc": {
1000
- "start": {
1001
- "line": 19,
1002
- "column": 12
1003
- },
1004
- "end": {
1005
- "line": 19,
1006
- "column": 20
1007
- },
1008
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1009
- }
1010
- },
1011
- "arguments": [],
1012
- "_meta": {
1013
- "_extra": {
1014
- "start": 207,
1015
- "end": 217
1016
- }
1017
- },
1018
- "loc": {
1019
- "start": {
1020
- "line": 19,
1021
- "column": 12
1022
- },
1023
- "end": {
1024
- "line": 19,
1025
- "column": 22
1026
- },
1027
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1028
- }
1029
- },
1030
- "right": {
1031
- "type": "Literal",
1032
- "value": 1,
1033
- "literalType": "number",
1034
- "_meta": {
1035
- "_extra": {
1036
- "start": 220,
1037
- "end": 221
1038
- }
1039
- },
1040
- "loc": {
1041
- "start": {
1042
- "line": 19,
1043
- "column": 25
1044
- },
1045
- "end": {
1046
- "line": 19,
1047
- "column": 26
1048
- },
1049
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1050
- }
1051
- },
1052
- "_meta": {
1053
- "_extra": {
1054
- "start": 207,
1055
- "end": 221
1056
- }
1057
- },
1058
- "loc": {
1059
- "start": {
1060
- "line": 19,
1061
- "column": 12
1062
- },
1063
- "end": {
1064
- "line": 19,
1065
- "column": 26
1066
- },
1067
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1068
- }
1069
- },
1070
- "isYield": false,
1071
- "_meta": {
1072
- "_extra": {
1073
- "start": 200,
1074
- "end": 222
1075
- }
1076
- },
1077
- "loc": {
1078
- "start": {
1079
- "line": 19,
1080
- "column": 5
1081
- },
1082
- "end": {
1083
- "line": 19,
1084
- "column": 27
1085
- },
1086
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1087
- }
1088
- }
1089
- ],
1090
- "id": null,
1091
- "_meta": {
1092
- "_extra": {
1093
- "start": 194,
1094
- "end": 226,
1095
- "directives": []
1096
- }
1097
- },
1098
- "loc": {
1099
- "start": {
1100
- "line": 18,
1101
- "column": 8
1102
- },
1103
- "end": {
1104
- "line": 20,
1105
- "column": 4
1106
- },
1107
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1108
- }
1109
- }
1110
- ],
1111
- "id": null,
1112
- "_meta": {},
1113
- "loc": {
1114
- "start": {
1115
- "line": 18,
1116
- "column": 3
1117
- },
1118
- "end": {
1119
- "line": 20,
1120
- "column": 4
1121
- },
1122
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1123
- }
1124
- },
1125
- "modifiers": [],
1126
- "_meta": {
1127
- "_extra": {
1128
- "start": 189,
1129
- "end": 226
1130
- }
1131
- },
1132
- "loc": {
1133
- "start": {
1134
- "line": 18,
1135
- "column": 3
1136
- },
1137
- "end": {
1138
- "line": 20,
1139
- "column": 4
1140
- },
1141
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1142
- }
1143
- }
1144
- ],
1145
- "supers": [
1146
- {
1147
- "type": "Identifier",
1148
- "name": "Base1",
1149
- "_meta": {
1150
- "_extra": {
1151
- "start": 110,
1152
- "end": 115
1153
- }
1154
- },
1155
- "loc": {
1156
- "start": {
1157
- "line": 11,
1158
- "column": 21
1159
- },
1160
- "end": {
1161
- "line": 11,
1162
- "column": 26
1163
- },
1164
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1165
- }
1166
- }
1167
- ],
1168
- "_meta": {
1169
- "_extra": {
1170
- "start": 90,
1171
- "end": 228
1172
- }
1173
- },
1174
- "loc": {
1175
- "start": {
1176
- "line": 11,
1177
- "column": 1
1178
- },
1179
- "end": {
1180
- "line": 21,
1181
- "column": 2
1182
- },
1183
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1184
- }
1185
- },
1186
- {
1187
- "type": "ClassDefinition",
1188
- "id": {
1189
- "type": "Identifier",
1190
- "name": "Derived",
1191
- "_meta": {
1192
- "_extra": {
1193
- "start": 236,
1194
- "end": 243
1195
- }
1196
- },
1197
- "loc": {
1198
- "start": {
1199
- "line": 23,
1200
- "column": 7
1201
- },
1202
- "end": {
1203
- "line": 23,
1204
- "column": 14
1205
- },
1206
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1207
- }
1208
- },
1209
- "body": [
1210
- {
1211
- "type": "FunctionDefinition",
1212
- "id": {
1213
- "type": "Identifier",
1214
- "name": "constructor",
1215
- "_meta": {
1216
- "_extra": {
1217
- "start": 261,
1218
- "end": 272
1219
- }
1220
- },
1221
- "loc": {
1222
- "start": {
1223
- "line": 24,
1224
- "column": 3
1225
- },
1226
- "end": {
1227
- "line": 24,
1228
- "column": 14
1229
- }
1230
- }
1231
- },
1232
- "parameters": [],
1233
- "returnType": {
1234
- "type": "DynamicType",
1235
- "id": null,
1236
- "_meta": {},
1237
- "loc": {
1238
- "start": {
1239
- "line": 24,
1240
- "column": 3
1241
- },
1242
- "end": {
1243
- "line": 27,
1244
- "column": 4
1245
- },
1246
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1247
- }
1248
- },
1249
- "body": {
1250
- "type": "ScopedStatement",
1251
- "body": [
1252
- {
1253
- "type": "ScopedStatement",
1254
- "body": [
1255
- {
1256
- "type": "ExpressionStatement",
1257
- "expression": {
1258
- "type": "CallExpression",
1259
- "callee": {
1260
- "type": "SuperExpression",
1261
- "_meta": {
1262
- "_extra": {
1263
- "start": 281,
1264
- "end": 286
1265
- }
1266
- },
1267
- "loc": {
1268
- "start": {
1269
- "line": 25,
1270
- "column": 5
1271
- },
1272
- "end": {
1273
- "line": 25,
1274
- "column": 10
1275
- },
1276
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1277
- }
1278
- },
1279
- "arguments": [],
1280
- "_meta": {
1281
- "_extra": {
1282
- "start": 281,
1283
- "end": 288
1284
- }
1285
- },
1286
- "loc": {
1287
- "start": {
1288
- "line": 25,
1289
- "column": 5
1290
- },
1291
- "end": {
1292
- "line": 25,
1293
- "column": 12
1294
- },
1295
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1296
- }
1297
- },
1298
- "_meta": {
1299
- "_extra": {
1300
- "start": 281,
1301
- "end": 289
1302
- }
1303
- },
1304
- "loc": {
1305
- "start": {
1306
- "line": 25,
1307
- "column": 5
1308
- },
1309
- "end": {
1310
- "line": 25,
1311
- "column": 13
1312
- },
1313
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1314
- }
1315
- },
1316
- {
1317
- "type": "ExpressionStatement",
1318
- "expression": {
1319
- "type": "AssignmentExpression",
1320
- "left": {
1321
- "type": "MemberAccess",
1322
- "object": {
1323
- "type": "ThisExpression",
1324
- "_meta": {
1325
- "_extra": {
1326
- "start": 294,
1327
- "end": 298
1328
- }
1329
- },
1330
- "loc": {
1331
- "start": {
1332
- "line": 26,
1333
- "column": 5
1334
- },
1335
- "end": {
1336
- "line": 26,
1337
- "column": 9
1338
- },
1339
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1340
- }
1341
- },
1342
- "property": {
1343
- "type": "Identifier",
1344
- "name": "a3",
1345
- "_meta": {
1346
- "_extra": {
1347
- "start": 299,
1348
- "end": 301
1349
- }
1350
- },
1351
- "loc": {
1352
- "start": {
1353
- "line": 26,
1354
- "column": 10
1355
- },
1356
- "end": {
1357
- "line": 26,
1358
- "column": 12
1359
- },
1360
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1361
- }
1362
- },
1363
- "computed": false,
1364
- "_meta": {
1365
- "_extra": {
1366
- "start": 294,
1367
- "end": 301
1368
- }
1369
- },
1370
- "loc": {
1371
- "start": {
1372
- "line": 26,
1373
- "column": 5
1374
- },
1375
- "end": {
1376
- "line": 26,
1377
- "column": 12
1378
- },
1379
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1380
- }
1381
- },
1382
- "right": {
1383
- "type": "Literal",
1384
- "value": 6,
1385
- "literalType": "number",
1386
- "_meta": {
1387
- "_extra": {
1388
- "start": 304,
1389
- "end": 305
1390
- }
1391
- },
1392
- "loc": {
1393
- "start": {
1394
- "line": 26,
1395
- "column": 15
1396
- },
1397
- "end": {
1398
- "line": 26,
1399
- "column": 16
1400
- },
1401
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1402
- }
1403
- },
1404
- "operator": "=",
1405
- "cloned": false,
1406
- "_meta": {
1407
- "_extra": {
1408
- "start": 294,
1409
- "end": 305
1410
- }
1411
- },
1412
- "loc": {
1413
- "start": {
1414
- "line": 26,
1415
- "column": 5
1416
- },
1417
- "end": {
1418
- "line": 26,
1419
- "column": 16
1420
- },
1421
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1422
- }
1423
- },
1424
- "_meta": {
1425
- "_extra": {
1426
- "start": 294,
1427
- "end": 306
1428
- }
1429
- },
1430
- "loc": {
1431
- "start": {
1432
- "line": 26,
1433
- "column": 5
1434
- },
1435
- "end": {
1436
- "line": 26,
1437
- "column": 17
1438
- },
1439
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1440
- }
1441
- }
1442
- ],
1443
- "id": null,
1444
- "_meta": {
1445
- "_extra": {
1446
- "start": 275,
1447
- "end": 310,
1448
- "directives": []
1449
- }
1450
- },
1451
- "loc": {
1452
- "start": {
1453
- "line": 24,
1454
- "column": 17
1455
- },
1456
- "end": {
1457
- "line": 27,
1458
- "column": 4
1459
- },
1460
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1461
- }
1462
- }
1463
- ],
1464
- "id": null,
1465
- "_meta": {},
1466
- "loc": {
1467
- "start": {
1468
- "line": 24,
1469
- "column": 3
1470
- },
1471
- "end": {
1472
- "line": 27,
1473
- "column": 4
1474
- },
1475
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1476
- }
1477
- },
1478
- "modifiers": [],
1479
- "_meta": {
1480
- "isConstructor": true,
1481
- "_extra": {
1482
- "start": 261,
1483
- "end": 310
1484
- }
1485
- },
1486
- "loc": {
1487
- "start": {
1488
- "line": 24,
1489
- "column": 3
1490
- },
1491
- "end": {
1492
- "line": 27,
1493
- "column": 4
1494
- },
1495
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1496
- }
1497
- },
1498
- {
1499
- "type": "FunctionDefinition",
1500
- "id": {
1501
- "type": "Identifier",
1502
- "name": "b3",
1503
- "_meta": {
1504
- "_extra": {
1505
- "start": 314,
1506
- "end": 316
1507
- }
1508
- },
1509
- "loc": {
1510
- "start": {
1511
- "line": 29,
1512
- "column": 3
1513
- },
1514
- "end": {
1515
- "line": 29,
1516
- "column": 5
1517
- }
1518
- }
1519
- },
1520
- "parameters": [],
1521
- "returnType": {
1522
- "type": "DynamicType",
1523
- "id": null,
1524
- "_meta": {},
1525
- "loc": {
1526
- "start": {
1527
- "line": 29,
1528
- "column": 3
1529
- },
1530
- "end": {
1531
- "line": 31,
1532
- "column": 4
1533
- },
1534
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1535
- }
1536
- },
1537
- "body": {
1538
- "type": "ScopedStatement",
1539
- "body": [
1540
- {
1541
- "type": "ScopedStatement",
1542
- "body": [
1543
- {
1544
- "type": "ReturnStatement",
1545
- "argument": {
1546
- "type": "BinaryExpression",
1547
- "operator": "+",
1548
- "left": {
1549
- "type": "CallExpression",
1550
- "callee": {
1551
- "type": "MemberAccess",
1552
- "object": {
1553
- "type": "SuperExpression",
1554
- "_meta": {
1555
- "_extra": {
1556
- "start": 332,
1557
- "end": 337
1558
- }
1559
- },
1560
- "loc": {
1561
- "start": {
1562
- "line": 30,
1563
- "column": 12
1564
- },
1565
- "end": {
1566
- "line": 30,
1567
- "column": 17
1568
- },
1569
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1570
- }
1571
- },
1572
- "property": {
1573
- "type": "Identifier",
1574
- "name": "b2",
1575
- "_meta": {
1576
- "_extra": {
1577
- "start": 338,
1578
- "end": 340
1579
- }
1580
- },
1581
- "loc": {
1582
- "start": {
1583
- "line": 30,
1584
- "column": 18
1585
- },
1586
- "end": {
1587
- "line": 30,
1588
- "column": 20
1589
- },
1590
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1591
- }
1592
- },
1593
- "computed": false,
1594
- "_meta": {
1595
- "_extra": {
1596
- "start": 332,
1597
- "end": 340
1598
- }
1599
- },
1600
- "loc": {
1601
- "start": {
1602
- "line": 30,
1603
- "column": 12
1604
- },
1605
- "end": {
1606
- "line": 30,
1607
- "column": 20
1608
- },
1609
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1610
- }
1611
- },
1612
- "arguments": [],
1613
- "_meta": {
1614
- "_extra": {
1615
- "start": 332,
1616
- "end": 342
1617
- }
1618
- },
1619
- "loc": {
1620
- "start": {
1621
- "line": 30,
1622
- "column": 12
1623
- },
1624
- "end": {
1625
- "line": 30,
1626
- "column": 22
1627
- },
1628
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1629
- }
1630
- },
1631
- "right": {
1632
- "type": "Literal",
1633
- "value": 4,
1634
- "literalType": "number",
1635
- "_meta": {
1636
- "_extra": {
1637
- "start": 345,
1638
- "end": 346
1639
- }
1640
- },
1641
- "loc": {
1642
- "start": {
1643
- "line": 30,
1644
- "column": 25
1645
- },
1646
- "end": {
1647
- "line": 30,
1648
- "column": 26
1649
- },
1650
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1651
- }
1652
- },
1653
- "_meta": {
1654
- "_extra": {
1655
- "start": 332,
1656
- "end": 346
1657
- }
1658
- },
1659
- "loc": {
1660
- "start": {
1661
- "line": 30,
1662
- "column": 12
1663
- },
1664
- "end": {
1665
- "line": 30,
1666
- "column": 26
1667
- },
1668
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1669
- }
1670
- },
1671
- "isYield": false,
1672
- "_meta": {
1673
- "_extra": {
1674
- "start": 325,
1675
- "end": 347
1676
- }
1677
- },
1678
- "loc": {
1679
- "start": {
1680
- "line": 30,
1681
- "column": 5
1682
- },
1683
- "end": {
1684
- "line": 30,
1685
- "column": 27
1686
- },
1687
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1688
- }
1689
- }
1690
- ],
1691
- "id": null,
1692
- "_meta": {
1693
- "_extra": {
1694
- "start": 319,
1695
- "end": 351,
1696
- "directives": []
1697
- }
1698
- },
1699
- "loc": {
1700
- "start": {
1701
- "line": 29,
1702
- "column": 8
1703
- },
1704
- "end": {
1705
- "line": 31,
1706
- "column": 4
1707
- },
1708
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1709
- }
1710
- }
1711
- ],
1712
- "id": null,
1713
- "_meta": {},
1714
- "loc": {
1715
- "start": {
1716
- "line": 29,
1717
- "column": 3
1718
- },
1719
- "end": {
1720
- "line": 31,
1721
- "column": 4
1722
- },
1723
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1724
- }
1725
- },
1726
- "modifiers": [],
1727
- "_meta": {
1728
- "_extra": {
1729
- "start": 314,
1730
- "end": 351
1731
- }
1732
- },
1733
- "loc": {
1734
- "start": {
1735
- "line": 29,
1736
- "column": 3
1737
- },
1738
- "end": {
1739
- "line": 31,
1740
- "column": 4
1741
- },
1742
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1743
- }
1744
- }
1745
- ],
1746
- "supers": [
1747
- {
1748
- "type": "Identifier",
1749
- "name": "Base2",
1750
- "_meta": {
1751
- "_extra": {
1752
- "start": 252,
1753
- "end": 257
1754
- }
1755
- },
1756
- "loc": {
1757
- "start": {
1758
- "line": 23,
1759
- "column": 23
1760
- },
1761
- "end": {
1762
- "line": 23,
1763
- "column": 28
1764
- },
1765
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1766
- }
1767
- }
1768
- ],
1769
- "_meta": {
1770
- "_extra": {
1771
- "start": 230,
1772
- "end": 353
1773
- }
1774
- },
1775
- "loc": {
1776
- "start": {
1777
- "line": 23,
1778
- "column": 1
1779
- },
1780
- "end": {
1781
- "line": 32,
1782
- "column": 2
1783
- },
1784
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1785
- }
1786
- }
1787
- ],
1788
- "language": "javascript",
1789
- "languageVersion": null,
1790
- "uri": "",
1791
- "version": "0.1.19-beta.6",
1792
- "_meta": {
1793
- "_extra": {
1794
- "end": 354,
1795
- "directives": []
1796
- }
1797
- },
1798
- "loc": {
1799
- "start": {
1800
- "line": 1,
1801
- "column": 1
1802
- },
1803
- "end": {
1804
- "line": 33,
1805
- "column": 1
1806
- },
1807
- "sourcefile": "/Users/curry/IdeaProjects/git/YASA-UAST/parser-Java-Js/tests/benchmark/base/class.js"
1808
- }
1809
- }