Skip to content

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

class method

Prism::Translation::Parser::Lexer.new

new(source_buffer, lexed, offset_cache)

Initialize the lexer with the given source buffer, prism tokens, and offset cache.

See also #parse_complex #parse_float also in 4.0