class Ruby::Prism::LexResult
This is a result specific to the lex and lex_file methods.
Attributes
The list of tokens that were parsed from the source code.
Public Class Methods
Create a new lex result object with the given values.
: (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 1062 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