Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
4 "errors": [
5 "SyntaxError: Binding member expression. (1:2)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
16 "expression": {
17 "type": "ArrowFunctionExpression",
18 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
19 "id": null,
20 "generator": false,
21 "async": false,
22 "params": [
23 {
24 "type": "ArrayPattern",
25 "start":1,"end":6,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":6,"index":6}},
26 "elements": [
27 {
28 "type": "MemberExpression",
29 "start":2,"end":5,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":5,"index":5}},
30 "object": {
31 "type": "Identifier",
32 "start":2,"end":3,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":3,"index":3},"identifierName":"a"},
33 "name": "a"
34 },
35 "computed": false,
36 "property": {
37 "type": "Identifier",
38 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"a"},
39 "name": "a"
40 }
41 }
42 ]
43 }
44 ],
45 "body": {
46 "type": "NumericLiteral",
47 "start":11,"end":13,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":13,"index":13}},
48 "extra": {
49 "rawValue": 42,
50 "raw": "42"
51 },
52 "value": 42
53 }
54 }
55 }
56 ],
57 "directives": []
58 }
59 }