output.json 3.6 KB

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