Debian Codegraph @

packages/babel-parser/test/fixtures/es2018/async-generators/for-await/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":48}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":48}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":48}},
13 "id": {
14 "type": "Identifier",
15 "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"f"},
16 "name": "f"
17 },
18 "generator": false,
19 "async": true,
20 "params": [],
21 "body": {
22 "type": "BlockStatement",
23 "start":19,"end":48,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":3,"column":1,"index":48}},
24 "body": [
25 {
26 "type": "ForOfStatement",
27 "start":23,"end":46,"loc":{"start":{"line":2,"column":2,"index":23},"end":{"line":2,"column":25,"index":46}},
28 "await": true,
29 "left": {
30 "type": "VariableDeclaration",
31 "start":34,"end":39,"loc":{"start":{"line":2,"column":13,"index":34},"end":{"line":2,"column":18,"index":39}},
32 "declarations": [
33 {
34 "type": "VariableDeclarator",
35 "start":38,"end":39,"loc":{"start":{"line":2,"column":17,"index":38},"end":{"line":2,"column":18,"index":39}},
36 "id": {
37 "type": "Identifier",
38 "start":38,"end":39,"loc":{"start":{"line":2,"column":17,"index":38},"end":{"line":2,"column":18,"index":39},"identifierName":"x"},
39 "name": "x"
40 },
41 "init": null
42 }
43 ],
44 "kind": "let"
45 },
46 "right": {
47 "type": "Identifier",
48 "start":43,"end":44,"loc":{"start":{"line":2,"column":22,"index":43},"end":{"line":2,"column":23,"index":44},"identifierName":"y"},
49 "name": "y"
50 },
51 "body": {
52 "type": "EmptyStatement",
53 "start":45,"end":46,"loc":{"start":{"line":2,"column":24,"index":45},"end":{"line":2,"column":25,"index":46}}
54 }
55 }
56 ],
57 "directives": []
58 }
59 }
60 ],
61 "directives": []
62 }
63 }