Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-call/parenthesized-spread-object/output.json

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