output.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. {
  2. "type": "File",
  3. "start": 0,
  4. "end": 17,
  5. "loc": {
  6. "start": {
  7. "line": 1,
  8. "column": 0
  9. },
  10. "end": {
  11. "line": 1,
  12. "column": 17
  13. }
  14. },
  15. "program": {
  16. "type": "Program",
  17. "start": 0,
  18. "end": 17,
  19. "loc": {
  20. "start": {
  21. "line": 1,
  22. "column": 0
  23. },
  24. "end": {
  25. "line": 1,
  26. "column": 17
  27. }
  28. },
  29. "sourceType": "script",
  30. "interpreter": null,
  31. "body": [
  32. {
  33. "type": "ExpressionStatement",
  34. "start": 0,
  35. "end": 17,
  36. "loc": {
  37. "start": {
  38. "line": 1,
  39. "column": 0
  40. },
  41. "end": {
  42. "line": 1,
  43. "column": 17
  44. }
  45. },
  46. "expression": {
  47. "type": "CallExpression",
  48. "start": 0,
  49. "end": 17,
  50. "loc": {
  51. "start": {
  52. "line": 1,
  53. "column": 0
  54. },
  55. "end": {
  56. "line": 1,
  57. "column": 17
  58. }
  59. },
  60. "callee": {
  61. "type": "Identifier",
  62. "start": 0,
  63. "end": 3,
  64. "loc": {
  65. "start": {
  66. "line": 1,
  67. "column": 0
  68. },
  69. "end": {
  70. "line": 1,
  71. "column": 3
  72. },
  73. "identifierName": "foo"
  74. },
  75. "name": "foo"
  76. },
  77. "arguments": [
  78. {
  79. "type": "ArrowFunctionExpression",
  80. "start": 4,
  81. "end": 16,
  82. "loc": {
  83. "start": {
  84. "line": 1,
  85. "column": 4
  86. },
  87. "end": {
  88. "line": 1,
  89. "column": 16
  90. }
  91. },
  92. "id": null,
  93. "generator": false,
  94. "async": false,
  95. "params": [
  96. {
  97. "type": "Identifier",
  98. "start": 5,
  99. "end": 6,
  100. "loc": {
  101. "start": {
  102. "line": 1,
  103. "column": 5
  104. },
  105. "end": {
  106. "line": 1,
  107. "column": 6
  108. },
  109. "identifierName": "x"
  110. },
  111. "name": "x"
  112. },
  113. {
  114. "type": "Identifier",
  115. "start": 8,
  116. "end": 9,
  117. "loc": {
  118. "start": {
  119. "line": 1,
  120. "column": 8
  121. },
  122. "end": {
  123. "line": 1,
  124. "column": 9
  125. },
  126. "identifierName": "y"
  127. },
  128. "name": "y"
  129. }
  130. ],
  131. "body": {
  132. "type": "BlockStatement",
  133. "start": 14,
  134. "end": 16,
  135. "loc": {
  136. "start": {
  137. "line": 1,
  138. "column": 14
  139. },
  140. "end": {
  141. "line": 1,
  142. "column": 16
  143. }
  144. },
  145. "body": [],
  146. "directives": []
  147. }
  148. }
  149. ]
  150. }
  151. }
  152. ],
  153. "directives": []
  154. }
  155. }