Debian Codegraph @

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