Class: YTLJit::TypeUtil::KlassTreeNode

Inherits:
Object
  • Object
show all
Defined in:
lib/ytljit/vm_type.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key, value) ⇒ KlassTreeNode

Returns a new instance of KlassTreeNode.



67
68
69
70
71
72
73
# File 'lib/ytljit/vm_type.rb', line 67

def initialize(key, value)
  @same_klass = nil
  @next_klass = nil

  @key = key
  @value = value
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



77
78
79
# File 'lib/ytljit/vm_type.rb', line 77

def key
  @key
end

#next_klassObject

Returns the value of attribute next_klass.



76
77
78
# File 'lib/ytljit/vm_type.rb', line 76

def next_klass
  @next_klass
end

#same_klassObject

Returns the value of attribute same_klass.



75
76
77
# File 'lib/ytljit/vm_type.rb', line 75

def same_klass
  @same_klass
end

#valueObject (readonly)

Returns the value of attribute value.



78
79
80
# File 'lib/ytljit/vm_type.rb', line 78

def value
  @value
end