Sha256: 28fbdf7099089e596dae26d86993a8265f56c95da4c985466095a816e11e7687

Contents?: true

Size: 1.43 KB

Versions: 3

Compression:

Stored size: 1.43 KB

Contents

module Steep
  module AST
    module Types
      module Name
        class Base
          attr_reader location: untyped

          attr_reader name: untyped

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

          include Helper::NoFreeVariables

          def subst: (untyped s) -> self

          def level: () -> ::Array[0]
        end

        class Applying < Base
          attr_reader args: untyped

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

          def ==: (untyped other) -> untyped

          alias eql? ==

          def hash: () -> untyped

          def to_s: () -> ::String

          def with_location: (untyped new_location) -> untyped

          def subst: (untyped s) -> (untyped | self)

          def free_variables: () -> untyped

          def each_child: () ?{ () -> untyped } -> untyped

          include Helper::ChildrenLevel

          def level: () -> untyped
        end

        class Singleton < Base
          def ==: (untyped other) -> untyped

          alias eql? ==

          def hash: () -> untyped

          def to_s: () -> ::String

          def with_location: (untyped new_location) -> untyped

          include Helper::NoChild
        end

        class Instance < Applying
          def to_module: () -> untyped
        end

        class Interface < Applying
        end

        class Alias < Applying
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
steep-1.1.1 sig/steep/ast/types/name.rbs
steep-1.1.0 sig/steep/ast/types/name.rbs
steep-1.1.0.pre.1 sig/steep/ast/types/name.rbs