class Prism::LexCompat::Result
A result class specialized for holding tokens produced by the lexer.
A result class specialized for holding tokens produced by the lexer.
Attributes
Public Class Methods
(Array[lex_compat_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/lex_compat.rb, line 53 def initialize(value, magic_comments, data_loc, errors, warnings, continuable, source) @value = value super(magic_comments, data_loc, errors, warnings, continuable, source) end