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
readonly
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.
81 82 83 84 85 86 87 |
# File 'lib/ytljit/vm_type.rb', line 81 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.
91 92 93 |
# File 'lib/ytljit/vm_type.rb', line 91 def key @key end |
#next_klass ⇒ Object
Returns the value of attribute next_klass.
90 91 92 |
# File 'lib/ytljit/vm_type.rb', line 90 def next_klass @next_klass end |
#same_klass ⇒ Object
Returns the value of attribute same_klass.
89 90 91 |
# File 'lib/ytljit/vm_type.rb', line 89 def same_klass @same_klass end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
92 93 94 |
# File 'lib/ytljit/vm_type.rb', line 92 def value @value end |