Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-functions/await-identifier-inside-parameters-of-nested-function/output.json

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