Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/hack-double-at-proposal-do-transform-for-in-loop-and-topic-in-loop-head/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
13 "expression": {
14 "type": "BinaryExpression",
15 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
16 "left": {
17 "type": "Identifier",
18 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5},"identifierName":"value"},
19 "name": "value"
20 },
21 "operator": "|>",
22 "right": {
23 "type": "DoExpression",
24 "start":9,"end":32,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":32,"index":32}},
25 "async": false,
26 "body": {
27 "type": "BlockStatement",
28 "start":12,"end":32,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":32,"index":32}},
29 "body": [
30 {
31 "type": "ForInStatement",
32 "start":14,"end":30,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":30,"index":30}},
33 "left": {
34 "type": "Identifier",
35 "start":19,"end":20,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":20,"index":20},"identifierName":"e"},
36 "name": "e"
37 },
38 "right": {
39 "type": "TopicReference",
40 "start":24,"end":26,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":26,"index":26}}
41 },
42 "body": {
43 "type": "ExpressionStatement",
44 "start":28,"end":30,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":30,"index":30}},
45 "expression": {
46 "type": "Identifier",
47 "start":28,"end":29,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":29,"index":29},"identifierName":"e"},
48 "name": "e"
49 }
50 }
51 }
52 ],
53 "directives": []
54 }
55 }
56 }
57 }
58 ],
59 "directives": []
60 }
61 }