class Prism::ParseLexResult

This is a result specific to the ‘parse_lex` and `parse_lex_file` methods.

def deconstruct_keys(keys)

Implement the hash pattern matching interface for ParseLexResult.
def deconstruct_keys(keys)
  super.merge!(value: value)
end

def initialize(value, comments, magic_comments, data_loc, errors, warnings, source)

Create a new parse lex result object with the given values.
def initialize(value, comments, magic_comments, data_loc, errors, warnings, source)
  @value = value
  super(comments, magic_comments, data_loc, errors, warnings, source)
end