foo => [bar] ^^^^^
def foo(&bar); end ^^^^
foo => bar => baz ^^^^^^^^^^
def foo(bar); end ^^^
def foo(*bar); end ^^^^
def foo(*); end ^
For %-arrays whitespace, the parser gem only considers whitespace before the newline.
foo => [bar] ^^^^^
def foo(&bar); end ^^^^
foo => bar => baz ^^^^^^^^^^
def foo(bar); end ^^^
def foo(*bar); end ^^^^ def foo(*); end ^