@ant-yasa/uast-parser-php 0.2.9 → 0.2.10

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 (33) hide show
  1. package/dist/package.json +1 -1
  2. package/package.json +1 -1
  3. package/src/index.ts +26 -0
  4. package/src/parser.ts +1234 -0
  5. package/tests/benchmark/base/advanced.php +20 -0
  6. package/tests/benchmark/base/advanced.php.json +1269 -0
  7. package/tests/benchmark/base/basic.php +3 -0
  8. package/tests/benchmark/base/basic.php.json +292 -0
  9. package/tests/benchmark/base/closure-class.php +24 -0
  10. package/tests/benchmark/base/closure-class.php.json +1623 -0
  11. package/tests/benchmark/base/control-flow.php +37 -0
  12. package/tests/benchmark/base/control-flow.php.json +2010 -0
  13. package/tests/benchmark/base/enum-trait-adapt.php +31 -0
  14. package/tests/benchmark/base/enum-trait-adapt.php.json +965 -0
  15. package/tests/benchmark/base/exprs.php +4 -0
  16. package/tests/benchmark/base/exprs.php.json +811 -0
  17. package/tests/benchmark/base/flow-extras.php +12 -0
  18. package/tests/benchmark/base/flow-extras.php.json +897 -0
  19. package/tests/benchmark/base/function.php +7 -0
  20. package/tests/benchmark/base/function.php.json +536 -0
  21. package/tests/benchmark/base/modern-php.php +13 -0
  22. package/tests/benchmark/base/modern-php.php.json +508 -0
  23. package/tests/benchmark/base/namespace.php +5 -0
  24. package/tests/benchmark/base/namespace.php.json +307 -0
  25. package/tests/benchmark/base/new-static.php +3 -0
  26. package/tests/benchmark/base/new-static.php.json +399 -0
  27. package/tests/benchmark/base/runtime.php +13 -0
  28. package/tests/benchmark/base/runtime.php.json +1095 -0
  29. package/tests/benchmark/base/strings-casts.php +17 -0
  30. package/tests/benchmark/base/strings-casts.php.json +1357 -0
  31. package/tests/benchmark/base/structures.php +26 -0
  32. package/tests/benchmark/base/structures.php.json +1582 -0
  33. package/tests/index.ts +87 -0
@@ -0,0 +1,1095 @@
1
+ {
2
+ "type": "CompileUnit",
3
+ "body": [
4
+ {
5
+ "type": "FunctionDefinition",
6
+ "id": {
7
+ "type": "Identifier",
8
+ "name": "run",
9
+ "_meta": {
10
+ "loc": {
11
+ "start": {
12
+ "line": 3,
13
+ "column": 10
14
+ },
15
+ "end": {
16
+ "line": 3,
17
+ "column": 13
18
+ },
19
+ "sourcefile": "runtime.php"
20
+ }
21
+ },
22
+ "loc": {
23
+ "start": {
24
+ "line": 3,
25
+ "column": 10
26
+ },
27
+ "end": {
28
+ "line": 3,
29
+ "column": 13
30
+ },
31
+ "sourcefile": "runtime.php"
32
+ }
33
+ },
34
+ "parameters": [
35
+ {
36
+ "type": "VariableDeclaration",
37
+ "id": {
38
+ "type": "Identifier",
39
+ "name": "code",
40
+ "_meta": {
41
+ "loc": {
42
+ "start": {
43
+ "line": 3,
44
+ "column": 14
45
+ },
46
+ "end": {
47
+ "line": 3,
48
+ "column": 19
49
+ },
50
+ "sourcefile": "runtime.php"
51
+ }
52
+ },
53
+ "loc": {
54
+ "start": {
55
+ "line": 3,
56
+ "column": 14
57
+ },
58
+ "end": {
59
+ "line": 3,
60
+ "column": 19
61
+ },
62
+ "sourcefile": "runtime.php"
63
+ }
64
+ },
65
+ "init": null,
66
+ "cloned": false,
67
+ "varType": {
68
+ "type": "DynamicType",
69
+ "id": null,
70
+ "_meta": {}
71
+ },
72
+ "_meta": {
73
+ "variadic": false,
74
+ "loc": {
75
+ "start": {
76
+ "line": 3,
77
+ "column": 14
78
+ },
79
+ "end": {
80
+ "line": 3,
81
+ "column": 19
82
+ },
83
+ "sourcefile": "runtime.php"
84
+ }
85
+ },
86
+ "loc": {
87
+ "start": {
88
+ "line": 3,
89
+ "column": 14
90
+ },
91
+ "end": {
92
+ "line": 3,
93
+ "column": 19
94
+ },
95
+ "sourcefile": "runtime.php"
96
+ }
97
+ },
98
+ {
99
+ "type": "VariableDeclaration",
100
+ "id": {
101
+ "type": "Identifier",
102
+ "name": "x",
103
+ "_meta": {
104
+ "loc": {
105
+ "start": {
106
+ "line": 3,
107
+ "column": 21
108
+ },
109
+ "end": {
110
+ "line": 3,
111
+ "column": 23
112
+ },
113
+ "sourcefile": "runtime.php"
114
+ }
115
+ },
116
+ "loc": {
117
+ "start": {
118
+ "line": 3,
119
+ "column": 21
120
+ },
121
+ "end": {
122
+ "line": 3,
123
+ "column": 23
124
+ },
125
+ "sourcefile": "runtime.php"
126
+ }
127
+ },
128
+ "init": null,
129
+ "cloned": false,
130
+ "varType": {
131
+ "type": "DynamicType",
132
+ "id": null,
133
+ "_meta": {}
134
+ },
135
+ "_meta": {
136
+ "variadic": false,
137
+ "loc": {
138
+ "start": {
139
+ "line": 3,
140
+ "column": 21
141
+ },
142
+ "end": {
143
+ "line": 3,
144
+ "column": 23
145
+ },
146
+ "sourcefile": "runtime.php"
147
+ }
148
+ },
149
+ "loc": {
150
+ "start": {
151
+ "line": 3,
152
+ "column": 21
153
+ },
154
+ "end": {
155
+ "line": 3,
156
+ "column": 23
157
+ },
158
+ "sourcefile": "runtime.php"
159
+ }
160
+ }
161
+ ],
162
+ "returnType": {
163
+ "type": "DynamicType",
164
+ "id": null,
165
+ "_meta": {}
166
+ },
167
+ "body": {
168
+ "type": "ScopedStatement",
169
+ "body": [
170
+ {
171
+ "type": "ExpressionStatement",
172
+ "expression": {
173
+ "type": "CallExpression",
174
+ "callee": {
175
+ "type": "Identifier",
176
+ "name": "print",
177
+ "_meta": {}
178
+ },
179
+ "arguments": [
180
+ {
181
+ "type": "Identifier",
182
+ "name": "x",
183
+ "_meta": {
184
+ "loc": {
185
+ "start": {
186
+ "line": 5,
187
+ "column": 11
188
+ },
189
+ "end": {
190
+ "line": 5,
191
+ "column": 13
192
+ },
193
+ "sourcefile": "runtime.php"
194
+ }
195
+ },
196
+ "loc": {
197
+ "start": {
198
+ "line": 5,
199
+ "column": 11
200
+ },
201
+ "end": {
202
+ "line": 5,
203
+ "column": 13
204
+ },
205
+ "sourcefile": "runtime.php"
206
+ }
207
+ }
208
+ ],
209
+ "_meta": {
210
+ "loc": {
211
+ "start": {
212
+ "line": 5,
213
+ "column": 5
214
+ },
215
+ "end": {
216
+ "line": 5,
217
+ "column": 13
218
+ },
219
+ "sourcefile": "runtime.php"
220
+ }
221
+ },
222
+ "loc": {
223
+ "start": {
224
+ "line": 5,
225
+ "column": 5
226
+ },
227
+ "end": {
228
+ "line": 5,
229
+ "column": 13
230
+ },
231
+ "sourcefile": "runtime.php"
232
+ }
233
+ },
234
+ "_meta": {
235
+ "loc": {
236
+ "start": {
237
+ "line": 5,
238
+ "column": 5
239
+ },
240
+ "end": {
241
+ "line": 5,
242
+ "column": 14
243
+ },
244
+ "sourcefile": "runtime.php"
245
+ }
246
+ },
247
+ "loc": {
248
+ "start": {
249
+ "line": 5,
250
+ "column": 5
251
+ },
252
+ "end": {
253
+ "line": 5,
254
+ "column": 14
255
+ },
256
+ "sourcefile": "runtime.php"
257
+ }
258
+ },
259
+ {
260
+ "type": "ExpressionStatement",
261
+ "expression": {
262
+ "type": "CallExpression",
263
+ "callee": {
264
+ "type": "Identifier",
265
+ "name": "eval",
266
+ "_meta": {
267
+ "loc": {
268
+ "start": {
269
+ "line": 6,
270
+ "column": 5
271
+ },
272
+ "end": {
273
+ "line": 6,
274
+ "column": 9
275
+ },
276
+ "sourcefile": "runtime.php"
277
+ }
278
+ },
279
+ "loc": {
280
+ "start": {
281
+ "line": 6,
282
+ "column": 5
283
+ },
284
+ "end": {
285
+ "line": 6,
286
+ "column": 9
287
+ },
288
+ "sourcefile": "runtime.php"
289
+ }
290
+ },
291
+ "arguments": [
292
+ {
293
+ "type": "Identifier",
294
+ "name": "code",
295
+ "_meta": {
296
+ "loc": {
297
+ "start": {
298
+ "line": 6,
299
+ "column": 10
300
+ },
301
+ "end": {
302
+ "line": 6,
303
+ "column": 15
304
+ },
305
+ "sourcefile": "runtime.php"
306
+ }
307
+ },
308
+ "loc": {
309
+ "start": {
310
+ "line": 6,
311
+ "column": 10
312
+ },
313
+ "end": {
314
+ "line": 6,
315
+ "column": 15
316
+ },
317
+ "sourcefile": "runtime.php"
318
+ }
319
+ }
320
+ ],
321
+ "_meta": {
322
+ "loc": {
323
+ "start": {
324
+ "line": 6,
325
+ "column": 5
326
+ },
327
+ "end": {
328
+ "line": 6,
329
+ "column": 16
330
+ },
331
+ "sourcefile": "runtime.php"
332
+ }
333
+ },
334
+ "loc": {
335
+ "start": {
336
+ "line": 6,
337
+ "column": 5
338
+ },
339
+ "end": {
340
+ "line": 6,
341
+ "column": 16
342
+ },
343
+ "sourcefile": "runtime.php"
344
+ }
345
+ },
346
+ "_meta": {
347
+ "loc": {
348
+ "start": {
349
+ "line": 6,
350
+ "column": 5
351
+ },
352
+ "end": {
353
+ "line": 6,
354
+ "column": 17
355
+ },
356
+ "sourcefile": "runtime.php"
357
+ }
358
+ },
359
+ "loc": {
360
+ "start": {
361
+ "line": 6,
362
+ "column": 5
363
+ },
364
+ "end": {
365
+ "line": 6,
366
+ "column": 17
367
+ },
368
+ "sourcefile": "runtime.php"
369
+ }
370
+ },
371
+ {
372
+ "type": "ExpressionStatement",
373
+ "expression": {
374
+ "type": "CallExpression",
375
+ "callee": {
376
+ "type": "MemberAccess",
377
+ "object": {
378
+ "type": "Identifier",
379
+ "name": "this",
380
+ "_meta": {
381
+ "loc": {
382
+ "start": {
383
+ "line": 7,
384
+ "column": 6
385
+ },
386
+ "end": {
387
+ "line": 7,
388
+ "column": 11
389
+ },
390
+ "sourcefile": "runtime.php"
391
+ }
392
+ },
393
+ "loc": {
394
+ "start": {
395
+ "line": 7,
396
+ "column": 6
397
+ },
398
+ "end": {
399
+ "line": 7,
400
+ "column": 11
401
+ },
402
+ "sourcefile": "runtime.php"
403
+ }
404
+ },
405
+ "property": {
406
+ "type": "Identifier",
407
+ "name": "call",
408
+ "_meta": {
409
+ "loc": {
410
+ "start": {
411
+ "line": 7,
412
+ "column": 13
413
+ },
414
+ "end": {
415
+ "line": 7,
416
+ "column": 17
417
+ },
418
+ "sourcefile": "runtime.php"
419
+ }
420
+ },
421
+ "loc": {
422
+ "start": {
423
+ "line": 7,
424
+ "column": 13
425
+ },
426
+ "end": {
427
+ "line": 7,
428
+ "column": 17
429
+ },
430
+ "sourcefile": "runtime.php"
431
+ }
432
+ },
433
+ "computed": false,
434
+ "_meta": {
435
+ "loc": {
436
+ "start": {
437
+ "line": 7,
438
+ "column": 6
439
+ },
440
+ "end": {
441
+ "line": 7,
442
+ "column": 19
443
+ },
444
+ "sourcefile": "runtime.php"
445
+ }
446
+ },
447
+ "loc": {
448
+ "start": {
449
+ "line": 7,
450
+ "column": 6
451
+ },
452
+ "end": {
453
+ "line": 7,
454
+ "column": 19
455
+ },
456
+ "sourcefile": "runtime.php"
457
+ }
458
+ },
459
+ "arguments": [],
460
+ "_meta": {
461
+ "loc": {
462
+ "start": {
463
+ "line": 7,
464
+ "column": 6
465
+ },
466
+ "end": {
467
+ "line": 7,
468
+ "column": 19
469
+ },
470
+ "sourcefile": "runtime.php"
471
+ },
472
+ "silent": true
473
+ },
474
+ "loc": {
475
+ "start": {
476
+ "line": 7,
477
+ "column": 6
478
+ },
479
+ "end": {
480
+ "line": 7,
481
+ "column": 19
482
+ },
483
+ "sourcefile": "runtime.php"
484
+ }
485
+ },
486
+ "_meta": {
487
+ "loc": {
488
+ "start": {
489
+ "line": 7,
490
+ "column": 5
491
+ },
492
+ "end": {
493
+ "line": 7,
494
+ "column": 20
495
+ },
496
+ "sourcefile": "runtime.php"
497
+ }
498
+ },
499
+ "loc": {
500
+ "start": {
501
+ "line": 7,
502
+ "column": 5
503
+ },
504
+ "end": {
505
+ "line": 7,
506
+ "column": 20
507
+ },
508
+ "sourcefile": "runtime.php"
509
+ }
510
+ },
511
+ {
512
+ "type": "CallExpression",
513
+ "callee": {
514
+ "type": "Identifier",
515
+ "name": "exit",
516
+ "_meta": {}
517
+ },
518
+ "arguments": [
519
+ {
520
+ "type": "Identifier",
521
+ "name": "code",
522
+ "_meta": {
523
+ "loc": {
524
+ "start": {
525
+ "line": 8,
526
+ "column": 10
527
+ },
528
+ "end": {
529
+ "line": 8,
530
+ "column": 15
531
+ },
532
+ "sourcefile": "runtime.php"
533
+ }
534
+ },
535
+ "loc": {
536
+ "start": {
537
+ "line": 8,
538
+ "column": 10
539
+ },
540
+ "end": {
541
+ "line": 8,
542
+ "column": 15
543
+ },
544
+ "sourcefile": "runtime.php"
545
+ }
546
+ }
547
+ ],
548
+ "_meta": {
549
+ "loc": {
550
+ "start": {
551
+ "line": 8,
552
+ "column": 5
553
+ },
554
+ "end": {
555
+ "line": 8,
556
+ "column": 17
557
+ },
558
+ "sourcefile": "runtime.php"
559
+ }
560
+ },
561
+ "loc": {
562
+ "start": {
563
+ "line": 8,
564
+ "column": 5
565
+ },
566
+ "end": {
567
+ "line": 8,
568
+ "column": 17
569
+ },
570
+ "sourcefile": "runtime.php"
571
+ }
572
+ }
573
+ ],
574
+ "id": null,
575
+ "_meta": {
576
+ "loc": {
577
+ "start": {
578
+ "line": 4,
579
+ "column": 1
580
+ },
581
+ "end": {
582
+ "line": 9,
583
+ "column": 2
584
+ },
585
+ "sourcefile": "runtime.php"
586
+ }
587
+ },
588
+ "loc": {
589
+ "start": {
590
+ "line": 4,
591
+ "column": 1
592
+ },
593
+ "end": {
594
+ "line": 9,
595
+ "column": 2
596
+ },
597
+ "sourcefile": "runtime.php"
598
+ }
599
+ },
600
+ "modifiers": [],
601
+ "_meta": {
602
+ "loc": {
603
+ "start": {
604
+ "line": 3,
605
+ "column": 1
606
+ },
607
+ "end": {
608
+ "line": 9,
609
+ "column": 2
610
+ },
611
+ "sourcefile": "runtime.php"
612
+ }
613
+ },
614
+ "loc": {
615
+ "start": {
616
+ "line": 3,
617
+ "column": 1
618
+ },
619
+ "end": {
620
+ "line": 9,
621
+ "column": 2
622
+ },
623
+ "sourcefile": "runtime.php"
624
+ }
625
+ },
626
+ {
627
+ "type": "ExpressionStatement",
628
+ "expression": {
629
+ "type": "AssignmentExpression",
630
+ "left": {
631
+ "type": "Identifier",
632
+ "name": "fn",
633
+ "_meta": {
634
+ "loc": {
635
+ "start": {
636
+ "line": 11,
637
+ "column": 1
638
+ },
639
+ "end": {
640
+ "line": 11,
641
+ "column": 4
642
+ },
643
+ "sourcefile": "runtime.php"
644
+ }
645
+ },
646
+ "loc": {
647
+ "start": {
648
+ "line": 11,
649
+ "column": 1
650
+ },
651
+ "end": {
652
+ "line": 11,
653
+ "column": 4
654
+ },
655
+ "sourcefile": "runtime.php"
656
+ }
657
+ },
658
+ "right": {
659
+ "type": "FunctionDefinition",
660
+ "id": null,
661
+ "parameters": [
662
+ {
663
+ "type": "VariableDeclaration",
664
+ "id": {
665
+ "type": "Identifier",
666
+ "name": "a",
667
+ "_meta": {
668
+ "loc": {
669
+ "start": {
670
+ "line": 11,
671
+ "column": 18
672
+ },
673
+ "end": {
674
+ "line": 11,
675
+ "column": 20
676
+ },
677
+ "sourcefile": "runtime.php"
678
+ }
679
+ },
680
+ "loc": {
681
+ "start": {
682
+ "line": 11,
683
+ "column": 18
684
+ },
685
+ "end": {
686
+ "line": 11,
687
+ "column": 20
688
+ },
689
+ "sourcefile": "runtime.php"
690
+ }
691
+ },
692
+ "init": null,
693
+ "cloned": false,
694
+ "varType": {
695
+ "type": "DynamicType",
696
+ "id": null,
697
+ "_meta": {}
698
+ },
699
+ "_meta": {
700
+ "variadic": false,
701
+ "loc": {
702
+ "start": {
703
+ "line": 11,
704
+ "column": 18
705
+ },
706
+ "end": {
707
+ "line": 11,
708
+ "column": 20
709
+ },
710
+ "sourcefile": "runtime.php"
711
+ }
712
+ },
713
+ "loc": {
714
+ "start": {
715
+ "line": 11,
716
+ "column": 18
717
+ },
718
+ "end": {
719
+ "line": 11,
720
+ "column": 20
721
+ },
722
+ "sourcefile": "runtime.php"
723
+ }
724
+ }
725
+ ],
726
+ "returnType": {
727
+ "type": "DynamicType",
728
+ "id": null,
729
+ "_meta": {}
730
+ },
731
+ "body": {
732
+ "type": "ScopedStatement",
733
+ "body": [
734
+ {
735
+ "type": "ReturnStatement",
736
+ "argument": {
737
+ "type": "BinaryExpression",
738
+ "operator": "+",
739
+ "left": {
740
+ "type": "BinaryExpression",
741
+ "operator": "+",
742
+ "left": {
743
+ "type": "Identifier",
744
+ "name": "a",
745
+ "_meta": {
746
+ "loc": {
747
+ "start": {
748
+ "line": 12,
749
+ "column": 12
750
+ },
751
+ "end": {
752
+ "line": 12,
753
+ "column": 14
754
+ },
755
+ "sourcefile": "runtime.php"
756
+ }
757
+ },
758
+ "loc": {
759
+ "start": {
760
+ "line": 12,
761
+ "column": 12
762
+ },
763
+ "end": {
764
+ "line": 12,
765
+ "column": 14
766
+ },
767
+ "sourcefile": "runtime.php"
768
+ }
769
+ },
770
+ "right": {
771
+ "type": "Identifier",
772
+ "name": "x",
773
+ "_meta": {
774
+ "loc": {
775
+ "start": {
776
+ "line": 12,
777
+ "column": 17
778
+ },
779
+ "end": {
780
+ "line": 12,
781
+ "column": 19
782
+ },
783
+ "sourcefile": "runtime.php"
784
+ }
785
+ },
786
+ "loc": {
787
+ "start": {
788
+ "line": 12,
789
+ "column": 17
790
+ },
791
+ "end": {
792
+ "line": 12,
793
+ "column": 19
794
+ },
795
+ "sourcefile": "runtime.php"
796
+ }
797
+ },
798
+ "_meta": {
799
+ "loc": {
800
+ "start": {
801
+ "line": 12,
802
+ "column": 12
803
+ },
804
+ "end": {
805
+ "line": 12,
806
+ "column": 19
807
+ },
808
+ "sourcefile": "runtime.php"
809
+ }
810
+ },
811
+ "loc": {
812
+ "start": {
813
+ "line": 12,
814
+ "column": 12
815
+ },
816
+ "end": {
817
+ "line": 12,
818
+ "column": 19
819
+ },
820
+ "sourcefile": "runtime.php"
821
+ }
822
+ },
823
+ "right": {
824
+ "type": "Identifier",
825
+ "name": "y",
826
+ "_meta": {
827
+ "loc": {
828
+ "start": {
829
+ "line": 12,
830
+ "column": 22
831
+ },
832
+ "end": {
833
+ "line": 12,
834
+ "column": 24
835
+ },
836
+ "sourcefile": "runtime.php"
837
+ }
838
+ },
839
+ "loc": {
840
+ "start": {
841
+ "line": 12,
842
+ "column": 22
843
+ },
844
+ "end": {
845
+ "line": 12,
846
+ "column": 24
847
+ },
848
+ "sourcefile": "runtime.php"
849
+ }
850
+ },
851
+ "_meta": {
852
+ "loc": {
853
+ "start": {
854
+ "line": 12,
855
+ "column": 12
856
+ },
857
+ "end": {
858
+ "line": 12,
859
+ "column": 24
860
+ },
861
+ "sourcefile": "runtime.php"
862
+ }
863
+ },
864
+ "loc": {
865
+ "start": {
866
+ "line": 12,
867
+ "column": 12
868
+ },
869
+ "end": {
870
+ "line": 12,
871
+ "column": 24
872
+ },
873
+ "sourcefile": "runtime.php"
874
+ }
875
+ },
876
+ "isYield": false,
877
+ "_meta": {
878
+ "loc": {
879
+ "start": {
880
+ "line": 12,
881
+ "column": 5
882
+ },
883
+ "end": {
884
+ "line": 12,
885
+ "column": 25
886
+ },
887
+ "sourcefile": "runtime.php"
888
+ }
889
+ },
890
+ "loc": {
891
+ "start": {
892
+ "line": 12,
893
+ "column": 5
894
+ },
895
+ "end": {
896
+ "line": 12,
897
+ "column": 25
898
+ },
899
+ "sourcefile": "runtime.php"
900
+ }
901
+ }
902
+ ],
903
+ "id": null,
904
+ "_meta": {
905
+ "loc": {
906
+ "start": {
907
+ "line": 11,
908
+ "column": 36
909
+ },
910
+ "end": {
911
+ "line": 13,
912
+ "column": 2
913
+ },
914
+ "sourcefile": "runtime.php"
915
+ }
916
+ },
917
+ "loc": {
918
+ "start": {
919
+ "line": 11,
920
+ "column": 36
921
+ },
922
+ "end": {
923
+ "line": 13,
924
+ "column": 2
925
+ },
926
+ "sourcefile": "runtime.php"
927
+ }
928
+ },
929
+ "modifiers": [],
930
+ "_meta": {
931
+ "loc": {
932
+ "start": {
933
+ "line": 11,
934
+ "column": 7
935
+ },
936
+ "end": {
937
+ "line": 13,
938
+ "column": 2
939
+ },
940
+ "sourcefile": "runtime.php"
941
+ },
942
+ "uses": [
943
+ {
944
+ "type": "Identifier",
945
+ "name": "x",
946
+ "_meta": {
947
+ "loc": {
948
+ "start": {
949
+ "line": 11,
950
+ "column": 28
951
+ },
952
+ "end": {
953
+ "line": 11,
954
+ "column": 30
955
+ },
956
+ "sourcefile": "runtime.php"
957
+ },
958
+ "byref": true
959
+ },
960
+ "loc": {
961
+ "start": {
962
+ "line": 11,
963
+ "column": 28
964
+ },
965
+ "end": {
966
+ "line": 11,
967
+ "column": 30
968
+ },
969
+ "sourcefile": "runtime.php"
970
+ }
971
+ },
972
+ {
973
+ "type": "Identifier",
974
+ "name": "y",
975
+ "_meta": {
976
+ "loc": {
977
+ "start": {
978
+ "line": 11,
979
+ "column": 32
980
+ },
981
+ "end": {
982
+ "line": 11,
983
+ "column": 34
984
+ },
985
+ "sourcefile": "runtime.php"
986
+ }
987
+ },
988
+ "loc": {
989
+ "start": {
990
+ "line": 11,
991
+ "column": 32
992
+ },
993
+ "end": {
994
+ "line": 11,
995
+ "column": 34
996
+ },
997
+ "sourcefile": "runtime.php"
998
+ }
999
+ }
1000
+ ]
1001
+ },
1002
+ "loc": {
1003
+ "start": {
1004
+ "line": 11,
1005
+ "column": 7
1006
+ },
1007
+ "end": {
1008
+ "line": 13,
1009
+ "column": 2
1010
+ },
1011
+ "sourcefile": "runtime.php"
1012
+ }
1013
+ },
1014
+ "operator": "=",
1015
+ "cloned": false,
1016
+ "_meta": {
1017
+ "loc": {
1018
+ "start": {
1019
+ "line": 11,
1020
+ "column": 1
1021
+ },
1022
+ "end": {
1023
+ "line": 13,
1024
+ "column": 2
1025
+ },
1026
+ "sourcefile": "runtime.php"
1027
+ }
1028
+ },
1029
+ "loc": {
1030
+ "start": {
1031
+ "line": 11,
1032
+ "column": 1
1033
+ },
1034
+ "end": {
1035
+ "line": 13,
1036
+ "column": 2
1037
+ },
1038
+ "sourcefile": "runtime.php"
1039
+ }
1040
+ },
1041
+ "_meta": {
1042
+ "loc": {
1043
+ "start": {
1044
+ "line": 11,
1045
+ "column": 1
1046
+ },
1047
+ "end": {
1048
+ "line": 13,
1049
+ "column": 3
1050
+ },
1051
+ "sourcefile": "runtime.php"
1052
+ }
1053
+ },
1054
+ "loc": {
1055
+ "start": {
1056
+ "line": 11,
1057
+ "column": 1
1058
+ },
1059
+ "end": {
1060
+ "line": 13,
1061
+ "column": 3
1062
+ },
1063
+ "sourcefile": "runtime.php"
1064
+ }
1065
+ }
1066
+ ],
1067
+ "language": "php",
1068
+ "languageVersion": null,
1069
+ "uri": "runtime.php",
1070
+ "version": "0.0.0",
1071
+ "_meta": {
1072
+ "loc": {
1073
+ "start": {
1074
+ "line": 1,
1075
+ "column": 1
1076
+ },
1077
+ "end": {
1078
+ "line": 14,
1079
+ "column": 1
1080
+ },
1081
+ "sourcefile": "runtime.php"
1082
+ }
1083
+ },
1084
+ "loc": {
1085
+ "start": {
1086
+ "line": 1,
1087
+ "column": 1
1088
+ },
1089
+ "end": {
1090
+ "line": 14,
1091
+ "column": 1
1092
+ },
1093
+ "sourcefile": "runtime.php"
1094
+ }
1095
+ }