module YARP

def self.lex_file(filepath)

Mirror the YARP.lex_file API by using the serialization API.
def self.lex_file(filepath)
  LibRubyParser::YPString.with(filepath) do |string|
    lex(string.read, filepath)
  end
end