Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-spread-element/new-spread-default/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
13 "expression": {
14 "type": "NewExpression",
15 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
16 "callee": {
17 "type": "Identifier",
18 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"f"},
19 "name": "f"
20 },
21 "arguments": [
22 {
23 "type": "Identifier",
24 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"g"},
25 "name": "g"
26 },
27 {
28 "type": "SpreadElement",
29 "start":9,"end":17,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":17,"index":17}},
30 "argument": {
31 "type": "AssignmentExpression",
32 "start":12,"end":17,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":17,"index":17}},
33 "operator": "=",
34 "left": {
35 "type": "Identifier",
36 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13},"identifierName":"h"},
37 "name": "h"
38 },
39 "right": {
40 "type": "Identifier",
41 "start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17},"identifierName":"i"},
42 "name": "i"
43 }
44 }
45 }
46 ]
47 }
48 }
49 ],
50 "directives": []
51 }
52 }