Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/destructuring/binding-arguments-module/output.json

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