123456789_123456789_123456789_123456789_123456789_

Class: TypeProf::Type::Any

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: TypeProf::Type
Defined in: lib/typeprof/type.rb

Constant Summary

::TypeProf::Type - Inherited

Builtin, DummySubstitution

Class Method Summary

Instance Method Summary

Constructor Details

.newAny

[ GitHub ]

  
# File 'lib/typeprof/type.rb', line 182

def initialize
end

Instance Method Details

#consistent?(_other) ⇒ Boolean

[ GitHub ]

  
# File 'lib/typeprof/type.rb', line 197

def consistent?(_other)
  raise "should not be called"
end

#include_untyped?(_scratch) ⇒ Boolean

[ GitHub ]

  
# File 'lib/typeprof/type.rb', line 205

def include_untyped?(_scratch)
  true
end

#inspect

[ GitHub ]

  
# File 'lib/typeprof/type.rb', line 185

def inspect
  "Type::Any"
end

#method_dispatch_info

[ GitHub ]

  
# File 'lib/typeprof/type.rb', line 193

def method_dispatch_info
  nil
end

#screen_name(scratch)

[ GitHub ]

  
# File 'lib/typeprof/type.rb', line 189

def screen_name(scratch)
  "untyped"
end

#substitute(_subst, _depth)

[ GitHub ]

  
# File 'lib/typeprof/type.rb', line 201

def substitute(_subst, _depth)
  self
end