Class: Internal::ByteDecoder::Expression::Defined
- Inherits:
-
Internal::ByteDecoder::Expression
- Object
- Internal::ByteDecoder::Expression
- Internal::ByteDecoder::Expression::Defined
- Defined in:
- lib/decompiler/vm/bytedecoder.rb
Instance Attribute Summary
Attributes inherited from Internal::ByteDecoder::Expression
Instance Method Summary collapse
-
#initialize(pc, arg) ⇒ Defined
constructor
A new instance of Defined.
- #precedence ⇒ Object
- #to_s ⇒ Object
Methods inherited from Internal::ByteDecoder::Expression
Constructor Details
#initialize(pc, arg) ⇒ Defined
Returns a new instance of Defined.
297 298 299 300 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 297 def initialize(pc, arg) super(pc) @arg = arg end |
Instance Method Details
#precedence ⇒ Object
306 307 308 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 306 def precedence return 1 end |
#to_s ⇒ Object
302 303 304 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 302 def to_s return "defined?(#{@arg.to_s})" end |