Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/183/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
13 "expression": {
14 "type": "ArrowFunctionExpression",
15 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
16 "id": null,
17 "generator": false,
18 "async": false,
19 "params": [
20 {
21 "type": "ObjectPattern",
22 "start":1,"end":12,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":12,"index":12}},
23 "properties": [
24 {
25 "type": "ObjectProperty",
26 "start":3,"end":7,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":7,"index":7}},
27 "method": false,
28 "key": {
29 "type": "Identifier",
30 "start":3,"end":4,"loc":{"start":{"line":1,"column":3,"index":3},"end":{"line":1,"column":4,"index":4},"identifierName":"a"},
31 "name": "a"
32 },
33 "computed": false,
34 "shorthand": false,
35 "value": {
36 "type": "Identifier",
37 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"b"},
38 "name": "b"
39 }
40 },
41 {
42 "type": "ObjectProperty",
43 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10}},
44 "method": false,
45 "key": {
46 "type": "Identifier",
47 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"c"},
48 "name": "c"
49 },
50 "computed": false,
51 "shorthand": true,
52 "value": {
53 "type": "Identifier",
54 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"c"},
55 "name": "c"
56 },
57 "extra": {
58 "shorthand": true
59 }
60 }
61 ]
62 },
63 {
64 "type": "ArrayPattern",
65 "start":14,"end":20,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":20,"index":20}},
66 "elements": [
67 {
68 "type": "Identifier",
69 "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"d"},
70 "name": "d"
71 },
72 {
73 "type": "Identifier",
74 "start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19},"identifierName":"e"},
75 "name": "e"
76 }
77 ]
78 },
79 {
80 "type": "RestElement",
81 "start":22,"end":26,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":26,"index":26}},
82 "argument": {
83 "type": "Identifier",
84 "start":25,"end":26,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":26,"index":26},"identifierName":"f"},
85 "name": "f"
86 }
87 }
88 ],
89 "body": {
90 "type": "BlockStatement",
91 "start":31,"end":33,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":33,"index":33}},
92 "body": [],
93 "directives": []
94 }
95 }
96 }
97 ],
98 "directives": []
99 }
100 }