Class: Furnace::AVM2::ABC::AS3Coerce

Inherits:
TypeConversionOpcode show all
Defined in:
lib/furnace-avm2/abc/opcodes/type_conversion/as3_coerce.rb

Constant Summary

Constants inherited from Opcode

Opcode::MAP

Instance Attribute Summary

Attributes inherited from Opcode

#sequence

Instance Method Summary collapse

Methods inherited from Opcode

#ast_type, 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

#collect_ns(options) ⇒ Object



16
17
18
# File 'lib/furnace-avm2/abc/opcodes/type_conversion/as3_coerce.rb', line 16

def collect_ns(options)
  body.type.collect_ns(options)
end

#parametersObject



12
13
14
# File 'lib/furnace-avm2/abc/opcodes/type_conversion/as3_coerce.rb', line 12

def parameters
  [ body.type.to_astlet ]
end