Sha256: b8db943c7ee8764909b83ce3c72e95ca167f6eea9af8cf4e2110cb39255c7c16

Contents?: true

Size: 652 Bytes

Versions: 5

Compression:

Stored size: 652 Bytes

Contents

module Steep
  module AST
    module Types
      class Literal
        attr_reader location: untyped

        attr_reader value: untyped

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

        def ==: (untyped other) -> bool

        def hash: () -> Integer

        alias eql? ==

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

        def to_s: () -> String

        include Helper::NoFreeVariables

        include Helper::NoChild

        def level: () -> Array[Integer]

        def with_location: (untyped new_location) -> self

        def back_type: () -> AST::Types::Name::Instance
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
steep-1.3.0.pre.2 sig/steep/ast/types/literal.rbs
steep-1.3.0.pre.1 sig/steep/ast/types/literal.rbs
steep-1.2.1 sig/steep/ast/types/literal.rbs
steep-1.2.0 sig/steep/ast/types/literal.rbs
steep-1.2.0.pre.1 sig/steep/ast/types/literal.rbs