Sha256: 6926a882131cb18b2205f473869f6cd15f2d3b2508e2be8884c98bab8bb5cffb

Contents?: true

Size: 1.12 KB

Versions: 18

Compression:

Stored size: 1.12 KB

Contents

use LanguageServer::Protocol::Constant::SymbolKind

module Steep
  module Index
    class SignatureSymbolProvider
      module LSP = LanguageServer::Protocol

      class SymbolInformation
        attr_reader name: String

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

        attr_reader container_name: String?

        attr_reader kind: SymbolKind::t

        def initialize: (name: String, location: RBS::Location[untyped, untyped], container_name: String?, kind: SymbolKind::t) -> void
      end

      attr_reader project: Project

      attr_reader indexes: Array[RBSIndex]

      attr_reader assignment: Services::PathAssignment

      def initialize: (project: Project, assignment: Services::PathAssignment) -> void

      def self.test_type_name: (String query, RBS::TypeName type_name) -> bool

      alias self.test_const_name self.test_type_name

      def self.test_global_name: (String query, Symbol global_name) -> bool

      def self.test_method_name: (String query, method_name) -> bool

      def assigned?: (Pathname) -> bool

      def query_symbol: (String query) -> Array[SymbolInformation]
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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