Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/hack-hash-proposal-assignment-to-topic/output.json

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