Sha256: db1021faad87e761e6081abecfa580b1eba9007c86f9c31a9658c21e8009ce3b

Contents?: true

Size: 786 Bytes

Versions: 1

Compression:

Stored size: 786 Bytes

Contents

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

        attr_reader location: RBS::Location[untyped, untyped]?

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

        def ==: (untyped other) -> bool

        def hash: () -> Integer

        alias eql? ==

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

        def to_s: () -> ::String

        def free_variables: () -> Set[Symbol]

        include Helper::ChildrenLevel

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

        def level: () -> Array[Integer]

        def with_location: (RBS::Location[untyped, untyped] new_location) -> Tuple
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
steep-1.3.0.pre.2 sig/steep/ast/types/tuple.rbs