Skip to content
class method

Prism::Translation::RubyParser.parse

parse(source, filepath = "(string)")

Parse the given source and translate it into the seattlerb/ruby_parser gem’s Sexp format.

See also #parse .parse_file also in 3.4