Debian Codegraph @

tests/fixtures/ecma-version/11/modules/import-meta/import-meta.result.js

raw
1 export default {
2 "type": "Program",
3 "loc": {
4 "start": {
5 "line": 1,
6 "column": 0
7 },
8 "end": {
9 "line": 1,
10 "column": 27
11 }
12 },
13 "range": [
14 0,
15 27
16 ],
17 "body": [
18 {
19 "type": "VariableDeclaration",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 27
28 }
29 },
30 "range": [
31 0,
32 27
33 ],
34 "declarations": [
35 {
36 "type": "VariableDeclarator",
37 "loc": {
38 "start": {
39 "line": 1,
40 "column": 6
41 },
42 "end": {
43 "line": 1,
44 "column": 27
45 }
46 },
47 "range": [
48 6,
49 27
50 ],
51 "id": {
52 "type": "Identifier",
53 "loc": {
54 "start": {
55 "line": 1,
56 "column": 6
57 },
58 "end": {
59 "line": 1,
60 "column": 9
61 }
62 },
63 "range": [
64 6,
65 9
66 ],
67 "name": "url"
68 },
69 "init": {
70 "type": "MemberExpression",
71 "loc": {
72 "start": {
73 "line": 1,
74 "column": 12
75 },
76 "end": {
77 "line": 1,
78 "column": 27
79 }
80 },
81 "range": [
82 12,
83 27
84 ],
85 "object": {
86 "type": "MetaProperty",
87 "loc": {
88 "start": {
89 "line": 1,
90 "column": 12
91 },
92 "end": {
93 "line": 1,
94 "column": 23
95 }
96 },
97 "range": [
98 12,
99 23
100 ],
101 "meta": {
102 "type": "Identifier",
103 "loc": {
104 "start": {
105 "line": 1,
106 "column": 12
107 },
108 "end": {
109 "line": 1,
110 "column": 18
111 }
112 },
113 "range": [
114 12,
115 18
116 ],
117 "name": "import"
118 },
119 "property": {
120 "type": "Identifier",
121 "loc": {
122 "start": {
123 "line": 1,
124 "column": 19
125 },
126 "end": {
127 "line": 1,
128 "column": 23
129 }
130 },
131 "range": [
132 19,
133 23
134 ],
135 "name": "meta"
136 }
137 },
138 "property": {
139 "type": "Identifier",
140 "loc": {
141 "start": {
142 "line": 1,
143 "column": 24
144 },
145 "end": {
146 "line": 1,
147 "column": 27
148 }
149 },
150 "range": [
151 24,
152 27
153 ],
154 "name": "url"
155 },
156 "computed": false,
157 "optional": false
158 }
159 }
160 ],
161 "kind": "const"
162 }
163 ],
164 "sourceType": "module",
165 "tokens": [
166 {
167 "type": "Keyword",
168 "value": "const",
169 "loc": {
170 "start": {
171 "line": 1,
172 "column": 0
173 },
174 "end": {
175 "line": 1,
176 "column": 5
177 }
178 },
179 "range": [
180 0,
181 5
182 ]
183 },
184 {
185 "type": "Identifier",
186 "value": "url",
187 "loc": {
188 "start": {
189 "line": 1,
190 "column": 6
191 },
192 "end": {
193 "line": 1,
194 "column": 9
195 }
196 },
197 "range": [
198 6,
199 9
200 ]
201 },
202 {
203 "type": "Punctuator",
204 "value": "=",
205 "loc": {
206 "start": {
207 "line": 1,
208 "column": 10
209 },
210 "end": {
211 "line": 1,
212 "column": 11
213 }
214 },
215 "range": [
216 10,
217 11
218 ]
219 },
220 {
221 "type": "Keyword",
222 "value": "import",
223 "loc": {
224 "start": {
225 "line": 1,
226 "column": 12
227 },
228 "end": {
229 "line": 1,
230 "column": 18
231 }
232 },
233 "range": [
234 12,
235 18
236 ]
237 },
238 {
239 "type": "Punctuator",
240 "value": ".",
241 "loc": {
242 "start": {
243 "line": 1,
244 "column": 18
245 },
246 "end": {
247 "line": 1,
248 "column": 19
249 }
250 },
251 "range": [
252 18,
253 19
254 ]
255 },
256 {
257 "type": "Identifier",
258 "value": "meta",
259 "loc": {
260 "start": {
261 "line": 1,
262 "column": 19
263 },
264 "end": {
265 "line": 1,
266 "column": 23
267 }
268 },
269 "range": [
270 19,
271 23
272 ]
273 },
274 {
275 "type": "Punctuator",
276 "value": ".",
277 "loc": {
278 "start": {
279 "line": 1,
280 "column": 23
281 },
282 "end": {
283 "line": 1,
284 "column": 24
285 }
286 },
287 "range": [
288 23,
289 24
290 ]
291 },
292 {
293 "type": "Identifier",
294 "value": "url",
295 "loc": {
296 "start": {
297 "line": 1,
298 "column": 24
299 },
300 "end": {
301 "line": 1,
302 "column": 27
303 }
304 },
305 "range": [
306 24,
307 27
308 ]
309 }
310 ]
311 };