Sha256: 3b30c645b6b8588e84a1676e0bbb5a709bf60b3a4bb7b17ad5005dfd243b04f2

Contents?: true

Size: 742 Bytes

Versions: 26

Compression:

Stored size: 742 Bytes

Contents

module Steep
  module AST
    module Types
      class Tuple
        attr_reader types: Array[t]

        attr_reader location: untyped

        def initialize: (types: Array[t], ?location: untyped) -> void

        def ==: (untyped other) -> bool

        def hash: () -> Integer

        alias eql? ==

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

        def to_s: () -> ::String

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

        include Helper::ChildrenLevel

        def each_child: () { (t) -> void } -> void
                      | () -> Enumerator[t, void]

        def level: () -> Array[Integer]

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
steep-1.4.0.dev.3 sig/steep/ast/types/tuple.rbs
steep-1.3.2 sig/steep/ast/types/tuple.rbs
steep-1.3.1 sig/steep/ast/types/tuple.rbs
steep-1.4.0.dev.2 sig/steep/ast/types/tuple.rbs
steep-1.4.0.dev.1 sig/steep/ast/types/tuple.rbs
steep-1.3.0 sig/steep/ast/types/tuple.rbs