Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

Prism::Translation::Parser::Compiler.new

new(parser, offset_cache, forwarding: [], in_destructure: false, in_pattern: false)

Initialize a new compiler with the given parser, offset cache, and options.