Module: RBS::AST::Ruby::Helpers::LocationHelper

Included in:
Declarations::Base, Members::Base, InlineParser::Parser
Defined in:
lib/rbs/ast/ruby/helpers/location_helper.rb

Instance Method Summary collapse

Instance Method Details

#rbs_location(location) ⇒ Object



8
9
10
# File 'lib/rbs/ast/ruby/helpers/location_helper.rb', line 8

def rbs_location(location)
  Location.new(buffer, location.start_character_offset, location.end_character_offset)
end