module Foo; end ^^^^^^^^^^^^^^^
foo in bar ^^^^^^^^^^
-> { _1 + _2 } ^^^^^^^^^^^^^^
Ripper
gives back the escaped string content but strips out the common leading whitespace. Prism
gives back the unescaped string content and a location for the escaped string content. Unfortunately these don’t work well together, so here we need to re-derive the common leading whitespace.
Reset nil attributes to their default values to make the spec valid
Parses the most indented lines into blocks that are marked and added to the frontier
def foo(bar: baz); end
^^^^^^^^
def foo(bar: baz); end
^^^^^^^^
if /foo #{bar}/ then end
^^^^^^^^^^^^