Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/hack-hash-proposal-nested-pipelines-with-arrow-function-with-required-topics/output.json

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