Class: Internal::ByteDecoder::Expression::ConstantAssignment
- Inherits:
-
Constant
- Object
- Internal::ByteDecoder::Expression
- Constant
- Internal::ByteDecoder::Expression::ConstantAssignment
- Defined in:
- lib/decompiler/vm/bytedecoder.rb
Instance Attribute Summary
Attributes inherited from Internal::ByteDecoder::Expression
Instance Method Summary collapse
-
#initialize(pc, klass, name, value) ⇒ ConstantAssignment
constructor
A new instance of ConstantAssignment.
- #to_s ⇒ Object
Methods inherited from Constant
Methods inherited from Internal::ByteDecoder::Expression
Constructor Details
#initialize(pc, klass, name, value) ⇒ ConstantAssignment
Returns a new instance of ConstantAssignment.
351 352 353 354 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 351 def initialize(pc, klass, name, value) super(pc, klass, name) @value = value end |
Instance Method Details
#to_s ⇒ Object
356 357 358 359 360 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 356 def to_s s = super() s << " = #{@value}" return s end |