Sha256: 57d12b1f77eba3b79c6eda66875d6e568f2ec390eebdf9214a00df45ef0c052f

Contents?: true

Size: 480 Bytes

Versions: 10

Compression:

Stored size: 480 Bytes

Contents

module Steep
  module AST
    module Types
      class Bot
        extend SharedInstance
        
        def ==(other)
          other.is_a?(Bot)
        end

        def hash
          self.class.hash
        end

        alias eql? ==

        def subst(s)
          self
        end

        def to_s
          "bot"
        end

        include Helper::NoFreeVariables

        include Helper::NoChild

        def level
          [2]
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
steep-1.9.1 lib/steep/ast/types/bot.rb
steep-1.9.0 lib/steep/ast/types/bot.rb
steep-1.9.0.dev.2 lib/steep/ast/types/bot.rb
steep-1.9.0.dev.1 lib/steep/ast/types/bot.rb
steep-1.8.3 lib/steep/ast/types/bot.rb
steep-1.8.2 lib/steep/ast/types/bot.rb
steep-1.8.1 lib/steep/ast/types/bot.rb
steep-1.8.0 lib/steep/ast/types/bot.rb
steep-1.8.0.pre.2 lib/steep/ast/types/bot.rb
steep-1.8.0.pre.1 lib/steep/ast/types/bot.rb