class Ruby::Prism::ParseLexResult

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

Attributes

A tuple of the syntax tree and the list of tokens that were parsed from the source code.

Public Class Methods

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

: ([ProgramNode, Array] value, Array comments, Array magic_comments, Location? data_loc, Array errors, Array warnings, bool continuable, Source source) -> void

Calls superclass method Ruby::Prism::Result::new
# File lib/ruby/prism/parse_result.rb, line 1084
def initialize(value, comments, magic_comments, data_loc, errors, warnings, continuable, source)
  @value = value
  super(comments, magic_comments, data_loc, errors, warnings, continuable, source)
end