output.json 3.0 KB

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