Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-functions/await-inside-parenthesized-assign/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":40}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":40}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":40}},
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":40,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":3,"column":1,"index":40}},
24 "body": [
25 {
26 "type": "ExpressionStatement",
27 "start":24,"end":38,"loc":{"start":{"line":2,"column":2,"index":24},"end":{"line":2,"column":16,"index":38}},
28 "expression": {
29 "type": "AssignmentExpression",
30 "start":25,"end":36,"loc":{"start":{"line":2,"column":3,"index":25},"end":{"line":2,"column":14,"index":36}},
31 "operator": "=",
32 "left": {
33 "type": "Identifier",
34 "start":25,"end":26,"loc":{"start":{"line":2,"column":3,"index":25},"end":{"line":2,"column":4,"index":26},"identifierName":"x"},
35 "name": "x"
36 },
37 "right": {
38 "type": "AwaitExpression",
39 "start":29,"end":36,"loc":{"start":{"line":2,"column":7,"index":29},"end":{"line":2,"column":14,"index":36}},
40 "argument": {
41 "type": "NumericLiteral",
42 "start":35,"end":36,"loc":{"start":{"line":2,"column":13,"index":35},"end":{"line":2,"column":14,"index":36}},
43 "extra": {
44 "rawValue": 2,
45 "raw": "2"
46 },
47 "value": 2
48 }
49 },
50 "extra": {
51 "parenthesized": true,
52 "parenStart": 24
53 }
54 }
55 }
56 ],
57 "directives": []
58 }
59 }
60 ],
61 "directives": []
62 }
63 }