Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/369/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
4 "errors": [
5 "SyntaxError: Invalid parenthesized assignment pattern. (1:1)",
6 "SyntaxError: Invalid left-hand side in assignment expression. (1:1)"
7 ],
8 "program": {
9 "type": "Program",
10 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
11 "sourceType": "script",
12 "interpreter": null,
13 "body": [
14 {
15 "type": "ExpressionStatement",
16 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
17 "expression": {
18 "type": "AssignmentExpression",
19 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
20 "operator": "=",
21 "left": {
22 "type": "BinaryExpression",
23 "start":1,"end":6,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":6,"index":6}},
24 "left": {
25 "type": "NumericLiteral",
26 "start":1,"end":2,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":2,"index":2}},
27 "extra": {
28 "rawValue": 1,
29 "raw": "1"
30 },
31 "value": 1
32 },
33 "operator": "+",
34 "right": {
35 "type": "NumericLiteral",
36 "start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6}},
37 "extra": {
38 "rawValue": 1,
39 "raw": "1"
40 },
41 "value": 1
42 },
43 "extra": {
44 "parenthesized": true,
45 "parenStart": 0
46 }
47 },
48 "right": {
49 "type": "NumericLiteral",
50 "start":10,"end":12,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":12,"index":12}},
51 "extra": {
52 "rawValue": 10,
53 "raw": "10"
54 },
55 "value": 10
56 }
57 }
58 }
59 ],
60 "directives": []
61 }
62 }