Class: Furnace::AVM2::ABC::PushLiteralOpcode
- Defined in:
- lib/furnace-avm2/abc/opcodes/push_literal_opcode.rb
Direct Known Subclasses
AS3PushByte, AS3PushDouble, AS3PushFalse, AS3PushInt, AS3PushNan, AS3PushNull, AS3PushShort, AS3PushString, AS3PushTrue, AS3PushUint, AS3PushUndefined
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
6 7 8 |
# File 'lib/furnace-avm2/abc/opcodes/push_literal_opcode.rb', line 6 def ast_type type end |
#parameters ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/furnace-avm2/abc/opcodes/push_literal_opcode.rb', line 10 def parameters if respond_to? :body [ body.value ] else [ ] end end |