Class: Internal::ByteDecoder::Expression::Array
- Inherits:
-
Internal::ByteDecoder::Expression
- Object
- Internal::ByteDecoder::Expression
- Internal::ByteDecoder::Expression::Array
- Defined in:
- lib/decompiler/vm/bytedecoder.rb
Instance Attribute Summary
Attributes inherited from Internal::ByteDecoder::Expression
Instance Method Summary collapse
-
#initialize(pc, args) ⇒ Array
constructor
A new instance of Array.
- #precedence ⇒ Object
- #to_s ⇒ Object
Methods inherited from Internal::ByteDecoder::Expression
Constructor Details
#initialize(pc, args) ⇒ Array
Returns a new instance of Array.
256 257 258 259 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 256 def initialize(pc, args) super(pc) @args = args end |
Instance Method Details
#precedence ⇒ Object
268 269 270 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 268 def precedence return 1 end |
#to_s ⇒ Object
261 262 263 264 265 266 |
# File 'lib/decompiler/vm/bytedecoder.rb', line 261 def to_s s = '[ ' s << @args.join(', ') s << ' ]' return s end |