Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}},
13 "expression": {
14 "type": "ArrowFunctionExpression",
15 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
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":27,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":27,"index":27}},
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": "CallExpression",
37 "start":10,"end":27,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":27,"index":27}},
38 "callee": {
39 "type": "Identifier",
40 "start":10,"end":13,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":13,"index":13},"identifierName":"foo"},
41 "name": "foo"
42 },
43 "arguments": [
44 {
45 "type": "AssignmentExpression",
46 "start":14,"end":26,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":26,"index":26}},
47 "operator": "=",
48 "left": {
49 "type": "Identifier",
50 "start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15},"identifierName":"x"},
51 "name": "x"
52 },
53 "right": {
54 "type": "BinaryExpression",
55 "start":18,"end":26,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":26,"index":26}},
56 "left": {
57 "type": "NumericLiteral",
58 "start":18,"end":19,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":19,"index":19}},
59 "extra": {
60 "rawValue": 1,
61 "raw": "1"
62 },
63 "value": 1
64 },
65 "operator": "|>",
66 "right": {
67 "type": "Identifier",
68 "start":23,"end":26,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":26,"index":26},"identifierName":"foo"},
69 "name": "foo"
70 }
71 }
72 }
73 ]
74 }
75 }
76 }
77 }
78 ],
79 "directives": []
80 }
81 }