module Prism::Debug

def self.newlines(source)

the source.
For the given source string, return the byte offsets of every newline in

Debug::newlines(source) -> Array
:call-seq:
def self.newlines(source)
  Prism.parse(source).source.offsets
end