Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-functions/21/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
13 "expression": {
14 "type": "FunctionExpression",
15 "start":1,"end":37,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":37,"index":37}},
16 "id": null,
17 "generator": false,
18 "async": false,
19 "params": [],
20 "body": {
21 "type": "BlockStatement",
22 "start":12,"end":37,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":37,"index":37}},
23 "body": [
24 {
25 "type": "VariableDeclaration",
26 "start":14,"end":24,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":24,"index":24}},
27 "declarations": [
28 {
29 "type": "VariableDeclarator",
30 "start":18,"end":23,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":23,"index":23}},
31 "id": {
32 "type": "Identifier",
33 "start":18,"end":23,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":23,"index":23},"identifierName":"async"},
34 "name": "async"
35 },
36 "init": null
37 }
38 ],
39 "kind": "var"
40 },
41 {
42 "type": "ExpressionStatement",
43 "start":25,"end":35,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":35,"index":35}},
44 "expression": {
45 "type": "AssignmentExpression",
46 "start":25,"end":35,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":35,"index":35}},
47 "operator": "=",
48 "left": {
49 "type": "Identifier",
50 "start":25,"end":30,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":30,"index":30},"identifierName":"async"},
51 "name": "async"
52 },
53 "right": {
54 "type": "NumericLiteral",
55 "start":33,"end":35,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":35,"index":35}},
56 "extra": {
57 "rawValue": 10,
58 "raw": "10"
59 },
60 "value": 10
61 }
62 }
63 }
64 ],
65 "directives": []
66 },
67 "extra": {
68 "parenthesized": true,
69 "parenStart": 0
70 }
71 }
72 }
73 ],
74 "directives": []
75 }
76 }