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