Class
A result class specialized for holding tokens produced by the lexer.
Attributes
Read
The list of tokens that were produced by the lexer.
Class Methods
dev
View on GitHub
# File tmp/rubies/ruby-master/lib/prism/lex_compat.rb, line 47
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
Create a new lex compat result object with the given values.