class RBS::ParsingError

属性

error_message[R]
location[R]
token_type[R]

公共类方法

new(location, error_message, token_type) 点击切换源代码
调用父类方法
# File rbs-3.8.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