Sha256: 7a41b61bfe417dd32ecfef6ca297576fdfd1edd1eb36c09d2b53b89da32f5824

Contents?: true

Size: 1.47 KB

Versions: 21

Compression:

Stored size: 1.47 KB

Contents

use RBS::Location, RBS::AST::Declarations, RBS::AST::Directives, RBS::TypeName, RBS::Environment

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

          attr_reader decl: Declarations::TypeAlias

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

        class ClassContent
          attr_reader location: Location[untyped, untyped]

          type decl = Declarations::Class | Declarations::Module | Declarations::ClassAlias | Declarations::ModuleAlias

          attr_reader decl: decl

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

        class InterfaceContent
          attr_reader location: Location[untyped, untyped]

          attr_reader decl: Declarations::Interface

          def initialize: (location: Location[untyped, untyped], decl: 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?

        def content_for_type_name: (TypeName, env: Environment, location: Location[untyped, untyped]) -> content?
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
steep-1.7.0.dev.3 sig/steep/services/hover_provider/rbs.rbs
steep-1.7.0.dev.2 sig/steep/services/hover_provider/rbs.rbs
steep-1.7.0.dev.1 sig/steep/services/hover_provider/rbs.rbs
steep-1.6.0 sig/steep/services/hover_provider/rbs.rbs
steep-1.6.0.pre.4 sig/steep/services/hover_provider/rbs.rbs
steep-1.6.0.pre.3 sig/steep/services/hover_provider/rbs.rbs
steep-1.6.0.pre.2 sig/steep/services/hover_provider/rbs.rbs
steep-1.6.0.pre.1 sig/steep/services/hover_provider/rbs.rbs
steep-1.5.3 sig/steep/services/hover_provider/rbs.rbs
steep-1.5.2 sig/steep/services/hover_provider/rbs.rbs
steep-1.5.1 sig/steep/services/hover_provider/rbs.rbs
steep-1.5.0 sig/steep/services/hover_provider/rbs.rbs
steep-1.5.0.pre.6 sig/steep/services/hover_provider/rbs.rbs
steep-1.5.0.pre.5 sig/steep/services/hover_provider/rbs.rbs
steep-1.5.0.pre.4 sig/steep/services/hover_provider/rbs.rbs
steep-1.5.0.pre.3 sig/steep/services/hover_provider/rbs.rbs
steep-1.5.0.pre.2 sig/steep/services/hover_provider/rbs.rbs
steep-1.5.0.pre.1 sig/steep/services/hover_provider/rbs.rbs
steep-1.4.0 sig/steep/services/hover_provider/rbs.rbs
steep-1.4.0.dev.5 sig/steep/services/hover_provider/rbs.rbs