Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":6,"end":39,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":39,"index":39}},
17 "id": {
18 "type": "ObjectPattern",
19 "start":6,"end":13,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":13,"index":13}},
20 "properties": [
21 {
22 "type": "ObjectProperty",
23 "start":7,"end":12,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":12,"index":12}},
24 "key": {
25 "type": "Identifier",
26 "start":7,"end":12,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":12,"index":12},"identifierName":"async"},
27 "name": "async"
28 },
29 "computed": false,
30 "method": false,
31 "shorthand": true,
32 "value": {
33 "type": "Identifier",
34 "start":7,"end":12,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":12,"index":12},"identifierName":"async"},
35 "name": "async"
36 },
37 "extra": {
38 "shorthand": true
39 }
40 }
41 ]
42 },
43 "init": {
44 "type": "CallExpression",
45 "start":16,"end":39,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":39,"index":39}},
46 "callee": {
47 "type": "Identifier",
48 "start":16,"end":23,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":23,"index":23},"identifierName":"require"},
49 "name": "require"
50 },
51 "arguments": [
52 {
53 "type": "StringLiteral",
54 "start":24,"end":38,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":38,"index":38}},
55 "extra": {
56 "rawValue": "../lang/task",
57 "raw": "'../lang/task'"
58 },
59 "value": "../lang/task"
60 }
61 ]
62 }
63 }
64 ],
65 "kind": "const"
66 }
67 ],
68 "directives": []
69 }
70 }