class Prism::LexResult
This is a result specific to the lex and lex_file methods.
This is a result specific to the lex and lex_file methods.
Attributes
Public Class Methods
(Array[Token] value, Array[MagicComment] magic_comments, Location? data_loc, Array[ParseError] errors, Array[ParseWarning] warnings, bool continuable, Source source) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/prism-2.1.0-x86_64-linux-gnu/lib/prism/parse_result.rb, line 1064 def initialize(value, magic_comments, data_loc, errors, warnings, continuable, source) @value = value super(magic_comments, data_loc, errors, warnings, continuable, source) end