Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/smart-proposal-do-transform-if-statement-and-topic-in-if-body/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
13 "expression": {
14 "type": "BinaryExpression",
15 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
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": "PipelineTopicExpression",
24 "start":9,"end":27,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":27,"index":27}},
25 "expression": {
26 "type": "DoExpression",
27 "start":9,"end":27,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":27,"index":27}},
28 "async": false,
29 "body": {
30 "type": "BlockStatement",
31 "start":12,"end":27,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":27,"index":27}},
32 "body": [
33 {
34 "type": "IfStatement",
35 "start":14,"end":25,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":25,"index":25}},
36 "test": {
37 "type": "Identifier",
38 "start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21},"identifierName":"yes"},
39 "name": "yes"
40 },
41 "consequent": {
42 "type": "ExpressionStatement",
43 "start":23,"end":25,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":25,"index":25}},
44 "expression": {
45 "type": "PipelinePrimaryTopicReference",
46 "start":23,"end":24,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":24,"index":24}}
47 }
48 },
49 "alternate": null
50 }
51 ],
52 "directives": []
53 }
54 }
55 }
56 }
57 }
58 ],
59 "directives": []
60 }
61 }