Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-call/parenthesized-argument-array/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":25,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":25,"index":25}},
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":"foo"},
20 "name": "foo"
21 },
22 "init": {
23 "type": "CallExpression",
24 "start":10,"end":25,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":25,"index":25}},
25 "callee": {
26 "type": "Identifier",
27 "start":10,"end":15,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":15,"index":15},"identifierName":"async"},
28 "name": "async"
29 },
30 "arguments": [
31 {
32 "type": "ArrayExpression",
33 "start":17,"end":24,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":24,"index":24}},
34 "elements": [
35 {
36 "type": "Identifier",
37 "start":19,"end":22,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":22,"index":22},"identifierName":"foo"},
38 "name": "foo",
39 "extra": {
40 "parenthesized": true,
41 "parenStart": 18
42 }
43 }
44 ]
45 }
46 ]
47 }
48 }
49 ],
50 "kind": "var"
51 }
52 ],
53 "directives": []
54 }
55 }