class RBS::Environment
def buffers_decls
def buffers_decls # @type var hash: Hash[Buffer, Array[AST::Declarations::t]] hash = {} declarations.each do |decl| location = decl.location or next (hash[location.buffer] ||= []) << decl end hash end
def buffers_decls # @type var hash: Hash[Buffer, Array[AST::Declarations::t]] hash = {} declarations.each do |decl| location = decl.location or next (hash[location.buffer] ||= []) << decl end hash end