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 179

def initialize
end

Instance Method Details

#consistent?(_other) ⇒ Boolean

[ GitHub ]

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

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

#include_untyped?(_scratch) ⇒ Boolean

[ GitHub ]

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

def include_untyped?(_scratch)
  true
end

#inspect

[ GitHub ]

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

def inspect
  "Type::Any"
end

#method_dispatch_info

[ GitHub ]

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

def method_dispatch_info
  nil
end

#screen_name(scratch)

[ GitHub ]

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

def screen_name(scratch)
  "untyped"
end

#substitute(_subst, _depth)

[ GitHub ]

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

def substitute(_subst, _depth)
  self
end