Sha256: 5b076f042931bbcafab9003d6c7491e647521ff96b9a46f97d0162e42b8bc42a

Contents?: true

Size: 1.34 KB

Versions: 6

Compression:

Stored size: 1.34 KB

Contents

module Steep
  module Services
    module HoverProvider
      class RBS
        class TypeAliasContent
          attr_reader location: ::RBS::Location[untyped, untyped]

          attr_reader decl: ::RBS::AST::Declarations::Alias

          def initialize: (location: ::RBS::Location[untyped, untyped], decl: ::RBS::AST::Declarations::Alias) -> void
        end

        class ClassContent
          attr_reader location: ::RBS::Location[untyped, untyped]

          attr_reader decl: ::RBS::AST::Declarations::Class | ::RBS::AST::Declarations::Module

          def initialize: (location: ::RBS::Location[untyped, untyped], decl: ::RBS::AST::Declarations::Class | ::RBS::AST::Declarations::Module) -> void
        end

        class InterfaceContent
          attr_reader location: ::RBS::Location[untyped, untyped]

          attr_reader decl: ::RBS::AST::Declarations::Interface

          def initialize: (location: ::RBS::Location[untyped, untyped], decl: ::RBS::AST::Declarations::Interface) -> void
        end

        type content = TypeAliasContent | ClassContent | InterfaceContent

        attr_reader service: TypeCheckService

        def initialize: (service: TypeCheckService) -> void

        def project: () -> Project

        def content_for: (target: Project::Target, path: Pathname, line: Integer, column: Integer) -> content?
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
steep-1.3.2 sig/steep/services/hover_provider/rbs.rbs
steep-1.3.1 sig/steep/services/hover_provider/rbs.rbs
steep-1.4.0.dev.1 sig/steep/services/hover_provider/rbs.rbs
steep-1.3.0 sig/steep/services/hover_provider/rbs.rbs
steep-1.3.0.pre.2 sig/steep/services/hover_provider/rbs.rbs
steep-1.3.0.pre.1 sig/steep/services/hover_provider/rbs.rbs