foo => bar => baz ^^^^^^^^^^
Foo::Bar ^^^^^^^^
“foo #{bar}” ^^^^^^
def foo(…); bar(…); end ^^^
def foo(…); end ^^^
“foo #{bar}” ^^^^^^^^^^^^
foo #{bar}
^^^^^^^^^^^^
foo(bar: baz) ^^^^^^^^
foo in bar ^^^^^^^^^^
-> { 1 + 2 } ^^^^^^^^^^^^^^
foo => ^(bar) ^^^^^^
foo rescue bar ^^^^^^^^^^^^^^
class << self; end ^^^^^^^^^^^^^^^^^^
When the content of a string node is split across multiple lines, the parser gem creates individual string nodes for each line the content is part of.
foo => bar => baz ^^^^^^^^^^
Foo = 1 ^^^^^^^ Foo, Bar = 1 ^^^ ^^^
Foo::Bar ^^^^^^^^
"foo #{bar}" ^^^^^^
def foo(...); bar(...); end ^^^