output.json 4.6 KB

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