2024-05-12 18:06:37 +00:00
|
|
|
proposal Pipeline{
|
2024-05-19 17:53:14 +00:00
|
|
|
|
|
|
|
case SingleArgument {
|
2024-05-12 18:06:37 +00:00
|
|
|
applicable to {
|
2024-05-15 18:55:03 +00:00
|
|
|
"<<someFunctionIdent:Identifier || MemberExpression>>(<<someFunctionParam: Expression>>);"
|
2024-05-12 18:06:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
transform to {
|
|
|
|
"<<someFunctionParam>> |> <<someFunctionIdent>>(%);"
|
|
|
|
}
|
|
|
|
}
|
2024-05-19 17:53:14 +00:00
|
|
|
|
|
|
|
case TwoArgument{
|
|
|
|
applicable to {
|
|
|
|
"<<someFunctionIdent: Identifier || MemberExpression>>(<<someFunctionParam: Expression>>, <<moreFunctionParam: Expression>>)"
|
|
|
|
}
|
|
|
|
transform to {
|
|
|
|
"<<someFunctionParam>> |> <<someFunctionIdent>>(%, <<moreFunctionParam>>)"
|
|
|
|
}
|
|
|
|
}
|
2024-05-12 18:06:37 +00:00
|
|
|
}
|