Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Prism::ParseResult#mark_newlines!

mark_newlines!

Walk the tree and mark nodes that are on a new line, loosely emulating the behavior of CRuby’s :line tracepoint event.

See also #errors_format #deconstruct_keys also in 4.0 · 3.3