Sha256: 34a1e75faa5b23ec9ba58378b4f8973fecd0713cffeb78d279586f86f0559ba5

Contents?: true

Size: 751 Bytes

Versions: 14

Compression:

Stored size: 751 Bytes

Contents

module Steep
  module Subtyping
    class VariableVariance
      attr_reader covariants: untyped

      attr_reader contravariants: untyped

      def initialize: (covariants: untyped, contravariants: untyped) -> void

      def covariant?: (untyped var) -> untyped

      def contravariant?: (untyped var) -> untyped

      def invariant?: (untyped var) -> untyped

      def self.from_type: (AST::Types::t) -> VariableVariance

      def self.from_method_type: (untyped method_type) -> untyped

      def self.add_params: (untyped params, block: untyped, covariants: untyped, contravariants: untyped) -> untyped

      def self.add_type: (untyped `type`, variance: untyped, covariants: untyped, contravariants: untyped) -> untyped
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
steep-1.4.0 sig/steep/subtyping/variable_variance.rbs
steep-1.4.0.dev.5 sig/steep/subtyping/variable_variance.rbs
steep-1.4.0.dev.4 sig/steep/subtyping/variable_variance.rbs
steep-1.4.0.dev.3 sig/steep/subtyping/variable_variance.rbs
steep-1.3.2 sig/steep/subtyping/variable_variance.rbs
steep-1.3.1 sig/steep/subtyping/variable_variance.rbs
steep-1.4.0.dev.2 sig/steep/subtyping/variable_variance.rbs
steep-1.4.0.dev.1 sig/steep/subtyping/variable_variance.rbs
steep-1.3.0 sig/steep/subtyping/variable_variance.rbs
steep-1.3.0.pre.2 sig/steep/subtyping/variable_variance.rbs
steep-1.3.0.pre.1 sig/steep/subtyping/variable_variance.rbs
steep-1.2.1 sig/steep/subtyping/variable_variance.rbs
steep-1.2.0 sig/steep/subtyping/variable_variance.rbs
steep-1.2.0.pre.1 sig/steep/subtyping/variable_variance.rbs