Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/fsharp-proposal-arrow-and-object-in-body-with-operator/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": "ArrowFunctionExpression",
15 "start":0,"end":46,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":46,"index":46}},
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":46,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":46,"index":46}},
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": "ObjectExpression",
37 "start":10,"end":46,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":46,"index":46}},
38 "properties": [
39 {
40 "type": "ObjectProperty",
41 "start":12,"end":44,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":44,"index":44}},
42 "method": false,
43 "key": {
44 "type": "Identifier",
45 "start":12,"end":18,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":18,"index":18},"identifierName":"method"},
46 "name": "method"
47 },
48 "computed": false,
49 "shorthand": false,
50 "value": {
51 "type": "ArrowFunctionExpression",
52 "start":20,"end":44,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":44,"index":44}},
53 "id": null,
54 "generator": false,
55 "async": false,
56 "params": [
57 {
58 "type": "Identifier",
59 "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"y"},
60 "name": "y"
61 }
62 ],
63 "body": {
64 "type": "BinaryExpression",
65 "start":25,"end":44,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":44,"index":44}},
66 "left": {
67 "type": "BinaryExpression",
68 "start":25,"end":30,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":30,"index":30}},
69 "left": {
70 "type": "Identifier",
71 "start":25,"end":26,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":26,"index":26},"identifierName":"y"},
72 "name": "y"
73 },
74 "operator": "+",
75 "right": {
76 "type": "NumericLiteral",
77 "start":29,"end":30,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":30,"index":30}},
78 "extra": {
79 "rawValue": 1,
80 "raw": "1"
81 },
82 "value": 1
83 }
84 },
85 "operator": "|>",
86 "right": {
87 "type": "ArrowFunctionExpression",
88 "start":34,"end":44,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":44,"index":44}},
89 "id": null,
90 "generator": false,
91 "async": false,
92 "params": [
93 {
94 "type": "Identifier",
95 "start":34,"end":35,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":35,"index":35},"identifierName":"z"},
96 "name": "z"
97 }
98 ],
99 "body": {
100 "type": "BinaryExpression",
101 "start":39,"end":44,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":44,"index":44}},
102 "left": {
103 "type": "Identifier",
104 "start":39,"end":40,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":40,"index":40},"identifierName":"z"},
105 "name": "z"
106 },
107 "operator": "*",
108 "right": {
109 "type": "NumericLiteral",
110 "start":43,"end":44,"loc":{"start":{"line":1,"column":43,"index":43},"end":{"line":1,"column":44,"index":44}},
111 "extra": {
112 "rawValue": 2,
113 "raw": "2"
114 },
115 "value": 2
116 }
117 }
118 }
119 }
120 }
121 }
122 ]
123 }
124 }
125 }
126 }
127 ],
128 "directives": []
129 }
130 }