Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/hack-percent-proposal-within-assignment/output.json

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