Method: Prism::LexCompat::Result#initialize

Defined in:
lib/prism/lex_compat.rb

#initialize(value, comments, magic_comments, data_loc, errors, warnings, source) ⇒ Result

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



19
20
21
22
# File 'lib/prism/lex_compat.rb', line 19

def initialize(value, comments, magic_comments, data_loc, errors, warnings, source)
  @value = value
  super(comments, magic_comments, data_loc, errors, warnings, source)
end