module RBS::AST::Ruby::Helpers::LocationHelper
Public Instance Methods
(Prism::Location) → Location
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.1.3/lib/rbs/ast/ruby/helpers/location_helper.rb, line 8 def rbs_location(location) Location.new(buffer, buffer.character_offset(location.start_offset), buffer.character_offset(location.end_offset)) end