Skip to content

Commit 6d4d300

Browse files
committed
pipeCall tests
1 parent 4e579c7 commit 6d4d300

File tree

2 files changed

+133
-0
lines changed

2 files changed

+133
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a |> b(c)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
{
2+
"type": "File",
3+
"start": 0,
4+
"end": 9,
5+
"loc": {
6+
"start": {
7+
"line": 1,
8+
"column": 0
9+
},
10+
"end": {
11+
"line": 1,
12+
"column": 9
13+
}
14+
},
15+
"program": {
16+
"type": "Program",
17+
"start": 0,
18+
"end": 9,
19+
"loc": {
20+
"start": {
21+
"line": 1,
22+
"column": 0
23+
},
24+
"end": {
25+
"line": 1,
26+
"column": 9
27+
}
28+
},
29+
"sourceType": "script",
30+
"body": [
31+
{
32+
"type": "ExpressionStatement",
33+
"start": 0,
34+
"end": 9,
35+
"loc": {
36+
"start": {
37+
"line": 1,
38+
"column": 0
39+
},
40+
"end": {
41+
"line": 1,
42+
"column": 9
43+
}
44+
},
45+
"expression": {
46+
"type": "CallExpression",
47+
"start": 0,
48+
"end": 9,
49+
"loc": {
50+
"start": {
51+
"line": 1,
52+
"column": 0
53+
},
54+
"end": {
55+
"line": 1,
56+
"column": 9
57+
}
58+
},
59+
"callee": {
60+
"type": "PipeCallExpression",
61+
"start": 0,
62+
"end": 6,
63+
"loc": {
64+
"start": {
65+
"line": 1,
66+
"column": 0
67+
},
68+
"end": {
69+
"line": 1,
70+
"column": 6
71+
}
72+
},
73+
"left": {
74+
"type": "Identifier",
75+
"start": 0,
76+
"end": 1,
77+
"loc": {
78+
"start": {
79+
"line": 1,
80+
"column": 0
81+
},
82+
"end": {
83+
"line": 1,
84+
"column": 1
85+
},
86+
"identifierName": "a"
87+
},
88+
"name": "a"
89+
},
90+
"right": {
91+
"type": "Identifier",
92+
"start": 5,
93+
"end": 6,
94+
"loc": {
95+
"start": {
96+
"line": 1,
97+
"column": 5
98+
},
99+
"end": {
100+
"line": 1,
101+
"column": 6
102+
},
103+
"identifierName": "b"
104+
},
105+
"name": "b"
106+
}
107+
},
108+
"arguments": [
109+
{
110+
"type": "Identifier",
111+
"start": 7,
112+
"end": 8,
113+
"loc": {
114+
"start": {
115+
"line": 1,
116+
"column": 7
117+
},
118+
"end": {
119+
"line": 1,
120+
"column": 8
121+
},
122+
"identifierName": "c"
123+
},
124+
"name": "c"
125+
}
126+
]
127+
}
128+
}
129+
],
130+
"directives": []
131+
}
132+
}

0 commit comments

Comments
 (0)