Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":46,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":46,"index":46}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":46,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":46,"index":46}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":46,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":46,"index":46}},
13 "expression": {
14 "type": "BinaryExpression",
15 "start":0,"end":46,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":46,"index":46}},
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":46,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":46,"index":46}},
25 "expression": {
26 "type": "DoExpression",
27 "start":9,"end":46,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":46,"index":46}},
28 "async": false,
29 "body": {
30 "type": "BlockStatement",
31 "start":12,"end":46,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":46,"index":46}},
32 "body": [
33 {
34 "type": "IfStatement",
35 "start":14,"end":44,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":44,"index":44}},
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":28,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":28,"index":28}},
44 "expression": {
45 "type": "NullLiteral",
46 "start":23,"end":27,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":27,"index":27}}
47 }
48 },
49 "alternate": {
50 "type": "IfStatement",
51 "start":34,"end":44,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":44,"index":44}},
52 "test": {
53 "type": "Identifier",
54 "start":38,"end":40,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":40,"index":40},"identifierName":"no"},
55 "name": "no"
56 },
57 "consequent": {
58 "type": "ExpressionStatement",
59 "start":42,"end":44,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":44,"index":44}},
60 "expression": {
61 "type": "PipelinePrimaryTopicReference",
62 "start":42,"end":43,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":43,"index":43}}
63 }
64 },
65 "alternate": null
66 }
67 }
68 ],
69 "directives": []
70 }
71 }
72 }
73 }
74 }
75 ],
76 "directives": []
77 }
78 }