Class: Furnace::AVM2::ABC::LoadStoreOpcode
- Defined in:
- lib/furnace-avm2/abc/opcodes/load_store_opcode.rb
Direct Known Subclasses
AS3GetLocal, AS3GetLocal0, AS3GetLocal1, AS3GetLocal2, AS3GetLocal3, AS3SetLocal, AS3SetLocal0, AS3SetLocal1, AS3SetLocal2, AS3SetLocal3
Constant Summary
Constants inherited from Opcode
Instance Attribute Summary
Attributes inherited from Opcode
Instance Method Summary collapse
Methods inherited from Opcode
body, #byte_length, #consumes_context, define_property, #disassemble, #disassemble_parameters, #initialize, mnemonic, #next, #offset, #read, #root, #write
Constructor Details
This class inherits a constructor from Furnace::AVM2::ABC::Opcode
Instance Method Details
#ast_type ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/furnace-avm2/abc/opcodes/load_store_opcode.rb', line 10 def ast_type if direction == :load :get_local elsif direction == :store :set_local end end |
#parameters ⇒ Object
6 7 8 |
# File 'lib/furnace-avm2/abc/opcodes/load_store_opcode.rb', line 6 def parameters [ index ] end |