module YARP
def self.parse_file(filepath)
native strings instead of Ruby strings because it allows us to use mmap when
Mirror the YARP.parse_file API by using the serialization API. This uses
def self.parse_file(filepath) LibRubyParser.with_string(filepath) { |string| parse(string.read, filepath) } end