class RBS::ParsingError
Attributes
error_message[R]
location[R]
token_type[R]
Public Class Methods
new(location, error_message, token_type)
click to toggle source
Calls superclass method
# File rbs-3.7.0/lib/rbs/errors.rb, line 58 def initialize(location, error_message, token_type) @location = location @error_message = error_message @token_type = token_type super "#{Location.to_string location}: Syntax error: #{error_message}, token=`#{location.source}` (#{token_type})" end