Class: TypedRb::Types::TySymbol

Inherits:
TyObject show all
Defined in:
lib/typed/types/ty_object.rb

Instance Attribute Summary

Attributes inherited from TyObject

#classes, #hierarchy, #modules, #ruby_type, #with_ruby_type

Attributes inherited from Type

#node

Instance Method Summary collapse

Methods inherited from TyObject

#<=>, #as_object_type, #check_type, #compatible?, #dynamic?, #either?, #find_function_type, #find_function_type_in_hierarchy, #find_var_type, #generic?, #join, #max, #resolve_ruby_method, #singleton?, #to_s, #union

Methods included from Comparable

#<=>

Methods inherited from Type

#compatible?, #either?, #stack_jump?

Constructor Details

#initialize(node = nil) ⇒ TySymbol

Returns a new instance of TySymbol.



254
255
256
# File 'lib/typed/types/ty_object.rb', line 254

def initialize(node = nil)
  super(Symbol, node)
end