Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":27,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":27,"index":27}},
17 "id": {
18 "type": "Identifier",
19 "start":4,"end":7,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":7,"index":7},"identifierName":"obj"},
20 "name": "obj"
21 },
22 "init": {
23 "type": "ObjectExpression",
24 "start":10,"end":27,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":27,"index":27}},
25 "properties": [
26 {
27 "type": "ObjectProperty",
28 "start":12,"end":25,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":25,"index":25}},
29 "method": false,
30 "key": {
31 "type": "Identifier",
32 "start":12,"end":17,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":17,"index":17},"identifierName":"async"},
33 "name": "async"
34 },
35 "computed": false,
36 "shorthand": false,
37 "value": {
38 "type": "StringLiteral",
39 "start":19,"end":25,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":25,"index":25}},
40 "extra": {
41 "rawValue": "test",
42 "raw": "\"test\""
43 },
44 "value": "test"
45 }
46 }
47 ]
48 }
49 }
50 ],
51 "kind": "var"
52 }
53 ],
54 "directives": []
55 }
56 }