Skip to content

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

class method

Prism::ParseLexResult.new

new(value, comments, magic_comments, data_loc, errors, warnings, source)

Create a new parse lex result object with the given values.

See also #deconstruct_keys also in 4.0