Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-functions/await-identifier-class-binding-inside-params-of-function-inside-params-of-async-function/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":50,"index":50}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":50,"index":50}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":50,"index":50}},
13 "expression": {
14 "type": "ArrowFunctionExpression",
15 "start":0,"end":50,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":50,"index":50}},
16 "id": null,
17 "generator": false,
18 "async": true,
19 "params": [
20 {
21 "type": "AssignmentPattern",
22 "start":7,"end":43,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":43,"index":43}},
23 "left": {
24 "type": "Identifier",
25 "start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"x"},
26 "name": "x"
27 },
28 "right": {
29 "type": "FunctionExpression",
30 "start":11,"end":43,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":43,"index":43}},
31 "id": {
32 "type": "Identifier",
33 "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"f"},
34 "name": "f"
35 },
36 "generator": false,
37 "async": false,
38 "params": [
39 {
40 "type": "AssignmentPattern",
41 "start":22,"end":40,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":40,"index":40}},
42 "left": {
43 "type": "Identifier",
44 "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23},"identifierName":"x"},
45 "name": "x"
46 },
47 "right": {
48 "type": "ClassExpression",
49 "start":26,"end":40,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":40,"index":40}},
50 "id": {
51 "type": "Identifier",
52 "start":32,"end":37,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":37,"index":37},"identifierName":"await"},
53 "name": "await"
54 },
55 "superClass": null,
56 "body": {
57 "type": "ClassBody",
58 "start":38,"end":40,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":40,"index":40}},
59 "body": []
60 }
61 }
62 }
63 ],
64 "body": {
65 "type": "BlockStatement",
66 "start":41,"end":43,"loc":{"start":{"line":1,"column":41,"index":41},"end":{"line":1,"column":43,"index":43}},
67 "body": [],
68 "directives": []
69 }
70 }
71 }
72 ],
73 "body": {
74 "type": "BlockStatement",
75 "start":48,"end":50,"loc":{"start":{"line":1,"column":48,"index":48},"end":{"line":1,"column":50,"index":50}},
76 "body": [],
77 "directives": []
78 }
79 }
80 }
81 ],
82 "directives": []
83 }
84 }