Skip to content
instance method

Prism::Translation::RubyParser#translate

translate(result, filepath)

Translate the given parse result and filepath into the seattlerb/ruby_parser gem’s Sexp format.

See also #process #parse_file also in 3.4