Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/fsharp-proposal-arrow-in-body-alt-parens/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
13 "expression": {
14 "type": "ArrowFunctionExpression",
15 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
16 "id": null,
17 "generator": false,
18 "async": false,
19 "params": [
20 {
21 "type": "Identifier",
22 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"x"},
23 "name": "x"
24 }
25 ],
26 "body": {
27 "type": "BinaryExpression",
28 "start":5,"end":38,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":38,"index":38}},
29 "left": {
30 "type": "Identifier",
31 "start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6},"identifierName":"x"},
32 "name": "x"
33 },
34 "operator": "|>",
35 "right": {
36 "type": "ArrowFunctionExpression",
37 "start":11,"end":37,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":37,"index":37}},
38 "id": null,
39 "generator": false,
40 "async": false,
41 "params": [
42 {
43 "type": "Identifier",
44 "start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12},"identifierName":"y"},
45 "name": "y"
46 }
47 ],
48 "body": {
49 "type": "BinaryExpression",
50 "start":16,"end":37,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":37,"index":37}},
51 "left": {
52 "type": "BinaryExpression",
53 "start":16,"end":21,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":21,"index":21}},
54 "left": {
55 "type": "Identifier",
56 "start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17},"identifierName":"y"},
57 "name": "y"
58 },
59 "operator": "+",
60 "right": {
61 "type": "NumericLiteral",
62 "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21}},
63 "extra": {
64 "rawValue": 3,
65 "raw": "3"
66 },
67 "value": 3
68 }
69 },
70 "operator": "|>",
71 "right": {
72 "type": "ArrowFunctionExpression",
73 "start":26,"end":36,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":36,"index":36}},
74 "id": null,
75 "generator": false,
76 "async": false,
77 "params": [
78 {
79 "type": "Identifier",
80 "start":26,"end":27,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":27,"index":27},"identifierName":"b"},
81 "name": "b"
82 }
83 ],
84 "body": {
85 "type": "BinaryExpression",
86 "start":31,"end":36,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":36,"index":36}},
87 "left": {
88 "type": "Identifier",
89 "start":31,"end":32,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":32,"index":32},"identifierName":"y"},
90 "name": "y"
91 },
92 "operator": "+",
93 "right": {
94 "type": "Identifier",
95 "start":35,"end":36,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":36,"index":36},"identifierName":"b"},
96 "name": "b"
97 }
98 },
99 "extra": {
100 "parenthesized": true,
101 "parenStart": 25
102 }
103 }
104 },
105 "extra": {
106 "parenthesized": true,
107 "parenStart": 10
108 }
109 }
110 }
111 }
112 }
113 ],
114 "directives": []
115 }
116 }