Sha256: af8f8616d1fbe14bb2afe5773f8a56f4c718946cbe6f8cd0504c1e32c1266b5f

Contents?: true

Size: 890 Bytes

Versions: 27

Compression:

Stored size: 890 Bytes

Contents

module Steep
  module AST
    module Types
      # Type variables
      class Var
        attr_reader name: Symbol

        attr_reader location: untyped

        def initialize: (name: Symbol, ?location: untyped?) -> void

        def ==: (untyped other) -> bool

        def hash: () -> Integer

        alias eql? ==

        self.@mutex: Thread::Mutex
        self.@max: Integer

        def self.fresh_name: (Symbol name) -> Symbol

        def self.fresh: (Symbol name, ?location: untyped?) -> Var

        def to_s: () -> String

        def subst: (Interface::Substitution s) -> t

        @fvs: Set[variable]
        def free_variables: () -> Set[variable]

        include Helper::NoChild

        def level: () -> Array[Integer]

        def update: (?name: Symbol, ?location: untyped) -> Var

        def with_location: (untyped new_location) -> Var
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

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