This module is the entry-point for converting a prism syntax tree into the seattlerb/ruby_parser gem’s syntax tree.

Class Methods

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

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

Instance Methods

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

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

Parse the give file and translate it into the seattlerb/ruby_parser gem’s Sexp format. This method is provided for API compatibility to RubyParser and takes an optional +timeout+ argument.

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