Sha256: 17c8f3928122e4d3d6b87e73ae6c3427ae0505aee4b628b5032099c841a63114

Contents?: true

Size: 1 KB

Versions: 18

Compression:

Stored size: 1 KB

Contents

module Steep
  module TypeInference
    class ContextArray
      class Entry
        attr_reader range: Range[Integer]

        attr_reader context: Context

        attr_reader sub_entries: Set[Entry]

        def initialize: (range: Range[Integer], context: Context) -> void
      end

      attr_reader buffer: RBS::Buffer

      attr_reader root: Entry

      def initialize: (buffer: RBS::Buffer, context: Context, ?range: Range[Integer]) -> void

      def range: () -> Range[Integer]

      def self.from_source: (source: Source, ?range: Range[Integer]?, context: Context) -> ContextArray

      def insert_context: (Range[Integer] range, context: Context, ?entry: Entry) -> void

      def each_entry: () { (Entry) -> void } -> void
                    | () -> Enumerator[Entry, void]

      def context_at: (Integer index, ?entry: Entry) -> Context?

      def []: (Integer index) -> Context?

      def at: (line: Integer, column: Integer) -> Context?

      def merge: (ContextArray subtree) -> void
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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