Class: YTLJit::TypeUtil::KlassTreeNode
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#next_klass ⇒ Object
Returns the value of attribute next_klass.
-
#same_klass ⇒ Object
Returns the value of attribute same_klass.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(key, value) ⇒ KlassTreeNode
constructor
A new instance of KlassTreeNode.
Constructor Details
#initialize(key, value) ⇒ KlassTreeNode
Returns a new instance of KlassTreeNode.
69 70 71 72 73 74 75 |
# File 'lib/ytljit/vm_type.rb', line 69 def initialize(key, value) @same_klass = nil @next_klass = nil @key = key @value = value end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
79 80 81 |
# File 'lib/ytljit/vm_type.rb', line 79 def key @key end |
#next_klass ⇒ Object
Returns the value of attribute next_klass.
78 79 80 |
# File 'lib/ytljit/vm_type.rb', line 78 def next_klass @next_klass end |
#same_klass ⇒ Object
Returns the value of attribute same_klass.
77 78 79 |
# File 'lib/ytljit/vm_type.rb', line 77 def same_klass @same_klass end |
#value ⇒ Object
Returns the value of attribute value.
80 81 82 |
# File 'lib/ytljit/vm_type.rb', line 80 def value @value end |