instance method
SyntaxSuggest::RipperErrors#on_assign_error
on_assign_error(msg)
lib/syntax_suggest/ripper_errors.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/syntax_suggest/ripper_errors.rb, line 19
def on_parse_error(msg)
@errors ||= []
@errors << msg
end
Alias of #on_parse_error
Comes from ripper, called on every parse error, msg is a string
See also
#on_parse_error
#on_alias_error
#on_class_name_error
#compile_error
also in
3.4 · 3.3 · 3.2