Debian Codegraph @

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

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