@@ -287,32 +287,31 @@ defmodule ElixirLS.LanguageServer.Providers.ExecuteCommand.ManipulatePipes do
287
287
end
288
288
end
289
289
290
- # do_get_pipe_call(text :: utf16 binary, {utf16 binary, has_passed_through_whitespace, should_halt })
291
- defp do_get_pipe_call ( text , acc \\ { "" , false , false } )
290
+ # do_get_pipe_call(text :: utf16 binary, {utf16 binary, has_passed_through_whitespace})
291
+ defp do_get_pipe_call ( text , acc \\ { "" , false } )
292
292
293
- defp do_get_pipe_call ( _text , { acc , _ , true } ) , do: acc
294
- defp do_get_pipe_call ( "" , { acc , _ , _ } ) , do: acc
293
+ defp do_get_pipe_call ( "" , { acc , _ } ) , do: acc
295
294
296
- defp do_get_pipe_call ( << ?\r :: utf16 , ?\n :: utf16 , _ :: bitstring >> , { acc , true , _ } ) ,
295
+ defp do_get_pipe_call ( << ?\r :: utf16 , ?\n :: utf16 , _ :: bitstring >> , { acc , true } ) ,
297
296
do: << ?\r :: utf16 , ?\n :: utf16 , acc :: bitstring >>
298
297
299
- defp do_get_pipe_call ( << 0 , c :: utf8 , _ :: bitstring >> , { acc , true , _ } )
298
+ defp do_get_pipe_call ( << 0 , c :: utf8 , _ :: bitstring >> , { acc , true } )
300
299
when c in [ ?\t , ?\v , ?\r , ?\n , ?\s ] ,
301
300
do: << c :: utf16 , acc :: bitstring >>
302
301
303
- defp do_get_pipe_call ( << 0 , ?\r , 0 , ?\n , text :: bitstring >> , { acc , false , _ } ) ,
304
- do: do_get_pipe_call ( text , { << ?\r :: utf16 , ?\n :: utf16 , acc :: bitstring >> , false , false } )
302
+ defp do_get_pipe_call ( << 0 , ?\r , 0 , ?\n , text :: bitstring >> , { acc , false } ) ,
303
+ do: do_get_pipe_call ( text , { << ?\r :: utf16 , ?\n :: utf16 , acc :: bitstring >> , false } )
305
304
306
- defp do_get_pipe_call ( << 0 , c :: utf8 , text :: bitstring >> , { acc , false , _ } )
305
+ defp do_get_pipe_call ( << 0 , c :: utf8 , text :: bitstring >> , { acc , false } )
307
306
when c in [ ?\t , ?\v , ?\n , ?\s ] ,
308
- do: do_get_pipe_call ( text , { << c :: utf16 , acc :: bitstring >> , false , false } )
307
+ do: do_get_pipe_call ( text , { << c :: utf16 , acc :: bitstring >> , false } )
309
308
310
- defp do_get_pipe_call ( << 0 , c :: utf8 , text :: bitstring >> , { acc , _ , _ } )
309
+ defp do_get_pipe_call ( << 0 , c :: utf8 , text :: bitstring >> , { acc , _ } )
311
310
when c in [ ?| , ?> ] ,
312
- do: do_get_pipe_call ( text , { << c :: utf16 , acc :: bitstring >> , false , false } )
311
+ do: do_get_pipe_call ( text , { << c :: utf16 , acc :: bitstring >> , false } )
313
312
314
- defp do_get_pipe_call ( << c :: utf16 , text :: bitstring >> , { acc , _ , _ } ) ,
315
- do: do_get_pipe_call ( text , { << c :: utf16 , acc :: bitstring >> , true , false } )
313
+ defp do_get_pipe_call ( << c :: utf16 , text :: bitstring >> , { acc , _ } ) ,
314
+ do: do_get_pipe_call ( text , { << c :: utf16 , acc :: bitstring >> , true } )
316
315
317
316
defp get_function_call_before ( head ) do
318
317
call_without_function_name =
0 commit comments