Class: Internal::ByteDecoder::Expression::Variable
- Inherits:
-
Internal::ByteDecoder::Expression
- Object
- Internal::ByteDecoder::Expression
- Internal::ByteDecoder::Expression::Variable
- Defined in:
- lib/decompiler/vm/bytedecoder.rb
Instance Attribute Summary
Attributes inherited from Internal::ByteDecoder::Expression
Instance Method Summary collapse
-
#initialize(pc, name) ⇒ Variable
constructor
A new instance of Variable.
- #precedence ⇒ Object
- #to_s ⇒ Object
Methods inherited from Internal::ByteDecoder::Expression
Constructor Details
#initialize(pc, name) ⇒ Variable
Returns a new instance of Variable.
312 313 314 315 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 312 def initialize(pc, name) super(pc) @name = name end |
Instance Method Details
#precedence ⇒ Object
321 322 323 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 321 def precedence return 1 end |
#to_s ⇒ Object
317 318 319 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 317 def to_s return @name.to_s end |