Sha256: fc5941cc0134127475adaa962d03768eedc94fcb096acc2229fb7c5d873403a3

Contents?: true

Size: 910 Bytes

Versions: 8

Compression:

Stored size: 910 Bytes

Contents

use RBS::Environment

module Steep
  module Services
    class SignatureHelpProvider
      module MethodCall = TypeInference::MethodCall

      class Item
        attr_reader method_type: RBS::MethodType

        attr_reader comment: RBS::AST::Comment?

        def initialize: (RBS::MethodType, RBS::AST::Comment?) -> void
      end

      attr_reader source: Source

      attr_reader path: Pathname

      attr_reader subtyping: Subtyping::Check

      attr_reader buffer: RBS::Buffer

      def env: () -> Environment

      def initialize: (source: Source, subtyping: Subtyping::Check) -> void

      # 1-origin line, 0-origin column
      #
      def run: (line: Integer, column: Integer) -> [Array[Item], Integer?]?

      private

      def signature_help_for: (Parser::AST::Node, Typing) -> [Array[Item], Integer?]?

      def type_check!: (line: Integer, column: Integer) -> Typing
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
steep-1.5.0.pre.5 sig/steep/services/signature_help_provider.rbs
steep-1.5.0.pre.4 sig/steep/services/signature_help_provider.rbs
steep-1.5.0.pre.3 sig/steep/services/signature_help_provider.rbs
steep-1.5.0.pre.2 sig/steep/services/signature_help_provider.rbs
steep-1.5.0.pre.1 sig/steep/services/signature_help_provider.rbs
steep-1.4.0 sig/steep/services/signature_help_provider.rbs
steep-1.4.0.dev.5 sig/steep/services/signature_help_provider.rbs
steep-1.4.0.dev.4 sig/steep/services/signature_help_provider.rbs