Debian Codegraph @

tests/fixtures/ecma-version/8/modules/async-then-arrow.result.js

raw
1 export default {
2 "type": "Program",
3 "loc": {
4 "start": {
5 "line": 1,
6 "column": 0
7 },
8 "end": {
9 "line": 2,
10 "column": 7
11 }
12 },
13 "range": [
14 0,
15 13
16 ],
17 "body": [
18 {
19 "type": "ExpressionStatement",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 5
28 }
29 },
30 "range": [
31 0,
32 5
33 ],
34 "expression": {
35 "type": "Identifier",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 5
44 }
45 },
46 "range": [
47 0,
48 5
49 ],
50 "name": "async"
51 }
52 },
53 {
54 "type": "ExpressionStatement",
55 "loc": {
56 "start": {
57 "line": 2,
58 "column": 0
59 },
60 "end": {
61 "line": 2,
62 "column": 7
63 }
64 },
65 "range": [
66 6,
67 13
68 ],
69 "expression": {
70 "type": "ArrowFunctionExpression",
71 "loc": {
72 "start": {
73 "line": 2,
74 "column": 0
75 },
76 "end": {
77 "line": 2,
78 "column": 6
79 }
80 },
81 "range": [
82 6,
83 12
84 ],
85 "id": null,
86 "generator": false,
87 "expression": true,
88 "async": false,
89 "params": [
90 {
91 "type": "Identifier",
92 "loc": {
93 "start": {
94 "line": 2,
95 "column": 0
96 },
97 "end": {
98 "line": 2,
99 "column": 1
100 }
101 },
102 "range": [
103 6,
104 7
105 ],
106 "name": "a"
107 }
108 ],
109 "body": {
110 "type": "Identifier",
111 "loc": {
112 "start": {
113 "line": 2,
114 "column": 5
115 },
116 "end": {
117 "line": 2,
118 "column": 6
119 }
120 },
121 "range": [
122 11,
123 12
124 ],
125 "name": "a"
126 }
127 }
128 }
129 ],
130 "sourceType": "module",
131 "tokens": [
132 {
133 "type": "Identifier",
134 "value": "async",
135 "loc": {
136 "start": {
137 "line": 1,
138 "column": 0
139 },
140 "end": {
141 "line": 1,
142 "column": 5
143 }
144 },
145 "range": [
146 0,
147 5
148 ]
149 },
150 {
151 "type": "Identifier",
152 "value": "a",
153 "loc": {
154 "start": {
155 "line": 2,
156 "column": 0
157 },
158 "end": {
159 "line": 2,
160 "column": 1
161 }
162 },
163 "range": [
164 6,
165 7
166 ]
167 },
168 {
169 "type": "Punctuator",
170 "value": "=>",
171 "loc": {
172 "start": {
173 "line": 2,
174 "column": 2
175 },
176 "end": {
177 "line": 2,
178 "column": 4
179 }
180 },
181 "range": [
182 8,
183 10
184 ]
185 },
186 {
187 "type": "Identifier",
188 "value": "a",
189 "loc": {
190 "start": {
191 "line": 2,
192 "column": 5
193 },
194 "end": {
195 "line": 2,
196 "column": 6
197 }
198 },
199 "range": [
200 11,
201 12
202 ]
203 },
204 {
205 "type": "Punctuator",
206 "value": ";",
207 "loc": {
208 "start": {
209 "line": 2,
210 "column": 6
211 },
212 "end": {
213 "line": 2,
214 "column": 7
215 }
216 },
217 "range": [
218 12,
219 13
220 ]
221 }
222 ]
223 }