furnace-avm2 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. data/Gemfile.lock +2 -2
  2. data/bin/furnace-avm2 +1 -2
  3. data/furnace-avm2.gemspec +1 -2
  4. data/lib/{avm2.rb → furnace-avm2.rb} +3 -5
  5. data/lib/furnace-avm2/abc.rb +68 -0
  6. data/lib/{avm2 → furnace-avm2}/abc/metadata/const_pool_info.rb +1 -1
  7. data/lib/{avm2 → furnace-avm2}/abc/metadata/exception_info.rb +1 -1
  8. data/lib/{avm2 → furnace-avm2}/abc/metadata/file.rb +1 -1
  9. data/lib/{avm2 → furnace-avm2}/abc/metadata/instance_info.rb +1 -1
  10. data/lib/{avm2 → furnace-avm2}/abc/metadata/klass_info.rb +1 -1
  11. data/lib/{avm2 → furnace-avm2}/abc/metadata/metadata_info.rb +1 -1
  12. data/lib/{avm2 → furnace-avm2}/abc/metadata/method_body_info.rb +4 -4
  13. data/lib/{avm2 → furnace-avm2}/abc/metadata/method_info.rb +1 -1
  14. data/lib/{avm2 → furnace-avm2}/abc/metadata/multiname_info.rb +1 -1
  15. data/lib/{avm2 → furnace-avm2}/abc/metadata/multiname_kind_genericname.rb +1 -1
  16. data/lib/{avm2 → furnace-avm2}/abc/metadata/multiname_kind_multiname.rb +1 -1
  17. data/lib/{avm2 → furnace-avm2}/abc/metadata/multiname_kind_multinamel.rb +1 -1
  18. data/lib/{avm2 → furnace-avm2}/abc/metadata/multiname_kind_qname.rb +1 -1
  19. data/lib/{avm2 → furnace-avm2}/abc/metadata/multiname_kind_rtqname.rb +1 -1
  20. data/lib/{avm2 → furnace-avm2}/abc/metadata/multiname_kind_rtqnamel.rb +1 -1
  21. data/lib/{avm2 → furnace-avm2}/abc/metadata/namespace_info.rb +1 -1
  22. data/lib/{avm2 → furnace-avm2}/abc/metadata/ns_set_info.rb +1 -1
  23. data/lib/{avm2 → furnace-avm2}/abc/metadata/option_detail.rb +1 -1
  24. data/lib/{avm2 → furnace-avm2}/abc/metadata/option_info.rb +1 -1
  25. data/lib/{avm2 → furnace-avm2}/abc/metadata/record_with_traits.rb +1 -1
  26. data/lib/{avm2 → furnace-avm2}/abc/metadata/script_info.rb +1 -1
  27. data/lib/{avm2 → furnace-avm2}/abc/metadata/trait_class.rb +2 -1
  28. data/lib/{avm2 → furnace-avm2}/abc/metadata/trait_function.rb +2 -1
  29. data/lib/{avm2 → furnace-avm2}/abc/metadata/trait_info.rb +1 -1
  30. data/lib/{avm2 → furnace-avm2}/abc/metadata/trait_method.rb +1 -1
  31. data/lib/{avm2 → furnace-avm2}/abc/metadata/trait_slot.rb +1 -1
  32. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_add.rb +1 -1
  33. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_add_i.rb +1 -1
  34. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_declocal.rb +1 -1
  35. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_declocal_i.rb +1 -1
  36. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_decrement.rb +1 -1
  37. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_decrement_i.rb +1 -1
  38. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_divide.rb +1 -1
  39. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_equals.rb +1 -1
  40. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_greaterequals.rb +1 -1
  41. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_greaterthan.rb +1 -1
  42. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_inclocal.rb +1 -1
  43. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_inclocal_i.rb +1 -1
  44. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_increment.rb +1 -1
  45. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_increment_i.rb +1 -1
  46. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_lessequals.rb +1 -1
  47. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_lessthan.rb +1 -1
  48. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_modulo.rb +1 -1
  49. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_multiply.rb +1 -1
  50. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_multiply_i.rb +1 -1
  51. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_negate.rb +1 -1
  52. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_negate_i.rb +1 -1
  53. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_not.rb +1 -1
  54. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_strictequals.rb +1 -1
  55. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_subtract.rb +1 -1
  56. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic/as3_subtract_i.rb +1 -1
  57. data/lib/{avm2 → furnace-avm2}/abc/opcodes/arithmetic_opcode.rb +1 -1
  58. data/lib/{avm2 → furnace-avm2}/abc/opcodes/bitwise/as3_bitand.rb +1 -1
  59. data/lib/{avm2 → furnace-avm2}/abc/opcodes/bitwise/as3_bitnot.rb +1 -1
  60. data/lib/{avm2 → furnace-avm2}/abc/opcodes/bitwise/as3_bitor.rb +1 -1
  61. data/lib/{avm2 → furnace-avm2}/abc/opcodes/bitwise/as3_bitxor.rb +1 -1
  62. data/lib/{avm2 → furnace-avm2}/abc/opcodes/bitwise/as3_lshift.rb +1 -1
  63. data/lib/{avm2 → furnace-avm2}/abc/opcodes/bitwise/as3_rshift.rb +1 -1
  64. data/lib/{avm2 → furnace-avm2}/abc/opcodes/bitwise/as3_urshift.rb +1 -1
  65. data/lib/{avm2 → furnace-avm2}/abc/opcodes/bitwise_opcode.rb +1 -1
  66. data/lib/{avm2 → furnace-avm2}/abc/opcodes/contextual_opcode.rb +1 -1
  67. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_ifeq.rb +1 -1
  68. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_iffalse.rb +1 -1
  69. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_ifge.rb +1 -1
  70. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_ifgt.rb +1 -1
  71. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_ifle.rb +1 -1
  72. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_iflt.rb +1 -1
  73. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_ifne.rb +1 -1
  74. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_ifnge.rb +1 -1
  75. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_ifngt.rb +1 -1
  76. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_ifnle.rb +1 -1
  77. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_ifnlt.rb +1 -1
  78. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_ifstricteq.rb +1 -1
  79. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_ifstrictne.rb +1 -1
  80. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_iftrue.rb +1 -1
  81. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_jump.rb +1 -1
  82. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer/as3_lookupswitch.rb +1 -1
  83. data/lib/{avm2 → furnace-avm2}/abc/opcodes/control_transfer_opcode.rb +1 -1
  84. data/lib/{avm2 → furnace-avm2}/abc/opcodes/exception/as3_newcatch.rb +1 -1
  85. data/lib/{avm2 → furnace-avm2}/abc/opcodes/exception_opcode.rb +1 -1
  86. data/lib/{avm2 → furnace-avm2}/abc/opcodes/function_invocation/as3_call.rb +1 -1
  87. data/lib/{avm2 → furnace-avm2}/abc/opcodes/function_invocation/as3_callproperty.rb +1 -1
  88. data/lib/{avm2 → furnace-avm2}/abc/opcodes/function_invocation/as3_callpropvoid.rb +1 -1
  89. data/lib/{avm2 → furnace-avm2}/abc/opcodes/function_invocation/as3_callsuper.rb +1 -1
  90. data/lib/{avm2 → furnace-avm2}/abc/opcodes/function_invocation/as3_callsupervoid.rb +1 -1
  91. data/lib/{avm2 → furnace-avm2}/abc/opcodes/function_invocation_opcode.rb +1 -1
  92. data/lib/{avm2 → furnace-avm2}/abc/opcodes/function_return/as3_returnvalue.rb +1 -1
  93. data/lib/{avm2 → furnace-avm2}/abc/opcodes/function_return/as3_returnvoid.rb +1 -1
  94. data/lib/{avm2 → furnace-avm2}/abc/opcodes/function_return_opcode.rb +1 -1
  95. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_astypelate.rb +1 -1
  96. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_checkfilter.rb +1 -1
  97. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_dup.rb +1 -1
  98. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_dxnslate.rb +1 -1
  99. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_escxattr.rb +1 -1
  100. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_getglobalscope.rb +1 -1
  101. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_getlex.rb +1 -1
  102. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_getscopeobject.rb +1 -1
  103. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_getslot.rb +1 -1
  104. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_hasnext.rb +1 -1
  105. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_hasnext2.rb +1 -1
  106. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_in.rb +1 -1
  107. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_instanceof.rb +1 -1
  108. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_istypelate.rb +1 -1
  109. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_kill.rb +1 -1
  110. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_label.rb +1 -1
  111. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_nextname.rb +1 -1
  112. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_nextvalue.rb +1 -1
  113. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_nop.rb +1 -1
  114. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_pop.rb +1 -1
  115. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_popscope.rb +1 -1
  116. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_setslot.rb +1 -1
  117. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_swap.rb +1 -1
  118. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_throw.rb +1 -1
  119. data/lib/{avm2 → furnace-avm2}/abc/opcodes/generic/as3_typeof.rb +1 -1
  120. data/lib/{avm2 → furnace-avm2}/abc/opcodes/load_store/as3_getlocal.rb +1 -1
  121. data/lib/{avm2 → furnace-avm2}/abc/opcodes/load_store/as3_getlocal_0.rb +1 -1
  122. data/lib/{avm2 → furnace-avm2}/abc/opcodes/load_store/as3_getlocal_1.rb +1 -1
  123. data/lib/{avm2 → furnace-avm2}/abc/opcodes/load_store/as3_getlocal_2.rb +1 -1
  124. data/lib/{avm2 → furnace-avm2}/abc/opcodes/load_store/as3_getlocal_3.rb +1 -1
  125. data/lib/{avm2 → furnace-avm2}/abc/opcodes/load_store/as3_setlocal.rb +1 -1
  126. data/lib/{avm2 → furnace-avm2}/abc/opcodes/load_store/as3_setlocal_0.rb +1 -1
  127. data/lib/{avm2 → furnace-avm2}/abc/opcodes/load_store/as3_setlocal_1.rb +1 -1
  128. data/lib/{avm2 → furnace-avm2}/abc/opcodes/load_store/as3_setlocal_2.rb +1 -1
  129. data/lib/{avm2 → furnace-avm2}/abc/opcodes/load_store/as3_setlocal_3.rb +1 -1
  130. data/lib/{avm2 → furnace-avm2}/abc/opcodes/load_store_opcode.rb +1 -1
  131. data/lib/{avm2 → furnace-avm2}/abc/opcodes/object_manipulation/as3_construct.rb +1 -1
  132. data/lib/{avm2 → furnace-avm2}/abc/opcodes/object_manipulation/as3_constructsuper.rb +1 -1
  133. data/lib/{avm2 → furnace-avm2}/abc/opcodes/object_manipulation/as3_newactivation.rb +1 -1
  134. data/lib/{avm2 → furnace-avm2}/abc/opcodes/object_manipulation/as3_newarray.rb +1 -1
  135. data/lib/{avm2 → furnace-avm2}/abc/opcodes/object_manipulation/as3_newclass.rb +1 -1
  136. data/lib/{avm2 → furnace-avm2}/abc/opcodes/object_manipulation/as3_newfunction.rb +1 -1
  137. data/lib/{avm2 → furnace-avm2}/abc/opcodes/object_manipulation/as3_newobject.rb +1 -1
  138. data/lib/{avm2 → furnace-avm2}/abc/opcodes/object_manipulation_opcode.rb +1 -1
  139. data/lib/{avm2 → furnace-avm2}/abc/opcodes/opcode.rb +1 -1
  140. data/lib/{avm2 → furnace-avm2}/abc/opcodes/property/as3_constructprop.rb +1 -1
  141. data/lib/{avm2 → furnace-avm2}/abc/opcodes/property/as3_deleteproperty.rb +1 -1
  142. data/lib/{avm2 → furnace-avm2}/abc/opcodes/property/as3_findproperty.rb +1 -1
  143. data/lib/{avm2 → furnace-avm2}/abc/opcodes/property/as3_findpropstrict.rb +1 -1
  144. data/lib/{avm2 → furnace-avm2}/abc/opcodes/property/as3_getdescendants.rb +1 -1
  145. data/lib/{avm2 → furnace-avm2}/abc/opcodes/property/as3_getproperty.rb +1 -1
  146. data/lib/{avm2 → furnace-avm2}/abc/opcodes/property/as3_getsuper.rb +1 -1
  147. data/lib/{avm2 → furnace-avm2}/abc/opcodes/property/as3_initproperty.rb +1 -1
  148. data/lib/{avm2 → furnace-avm2}/abc/opcodes/property/as3_setproperty.rb +1 -1
  149. data/lib/{avm2 → furnace-avm2}/abc/opcodes/property/as3_setsuper.rb +1 -1
  150. data/lib/{avm2 → furnace-avm2}/abc/opcodes/property_opcode.rb +1 -1
  151. data/lib/{avm2 → furnace-avm2}/abc/opcodes/push_literal/as3_pushbyte.rb +1 -1
  152. data/lib/{avm2 → furnace-avm2}/abc/opcodes/push_literal/as3_pushdouble.rb +1 -1
  153. data/lib/{avm2 → furnace-avm2}/abc/opcodes/push_literal/as3_pushfalse.rb +1 -1
  154. data/lib/{avm2 → furnace-avm2}/abc/opcodes/push_literal/as3_pushint.rb +1 -1
  155. data/lib/{avm2 → furnace-avm2}/abc/opcodes/push_literal/as3_pushnan.rb +1 -1
  156. data/lib/{avm2 → furnace-avm2}/abc/opcodes/push_literal/as3_pushnull.rb +1 -1
  157. data/lib/{avm2 → furnace-avm2}/abc/opcodes/push_literal/as3_pushscope.rb +1 -1
  158. data/lib/{avm2 → furnace-avm2}/abc/opcodes/push_literal/as3_pushshort.rb +1 -1
  159. data/lib/{avm2 → furnace-avm2}/abc/opcodes/push_literal/as3_pushstring.rb +1 -1
  160. data/lib/{avm2 → furnace-avm2}/abc/opcodes/push_literal/as3_pushtrue.rb +1 -1
  161. data/lib/{avm2 → furnace-avm2}/abc/opcodes/push_literal/as3_pushundefined.rb +1 -1
  162. data/lib/{avm2 → furnace-avm2}/abc/opcodes/push_literal/as3_pushwith.rb +1 -1
  163. data/lib/{avm2 → furnace-avm2}/abc/opcodes/push_literal_opcode.rb +1 -1
  164. data/lib/{avm2 → furnace-avm2}/abc/opcodes/type_conversion/as3_applytype.rb +1 -1
  165. data/lib/{avm2 → furnace-avm2}/abc/opcodes/type_conversion/as3_coerce.rb +1 -1
  166. data/lib/{avm2 → furnace-avm2}/abc/opcodes/type_conversion/as3_coerce_a.rb +1 -1
  167. data/lib/{avm2 → furnace-avm2}/abc/opcodes/type_conversion/as3_coerce_b.rb +1 -1
  168. data/lib/{avm2 → furnace-avm2}/abc/opcodes/type_conversion/as3_coerce_s.rb +1 -1
  169. data/lib/{avm2 → furnace-avm2}/abc/opcodes/type_conversion/as3_convert_d.rb +1 -1
  170. data/lib/{avm2 → furnace-avm2}/abc/opcodes/type_conversion/as3_convert_i.rb +1 -1
  171. data/lib/{avm2 → furnace-avm2}/abc/opcodes/type_conversion/as3_convert_o.rb +1 -1
  172. data/lib/{avm2 → furnace-avm2}/abc/opcodes/type_conversion/as3_convert_s.rb +1 -1
  173. data/lib/{avm2 → furnace-avm2}/abc/opcodes/type_conversion/as3_convert_u.rb +1 -1
  174. data/lib/{avm2 → furnace-avm2}/abc/opcodes/type_conversion_opcode.rb +1 -1
  175. data/lib/{avm2 → furnace-avm2}/abc/primitives/opcode_sequence.rb +1 -1
  176. data/lib/{avm2 → furnace-avm2}/abc/primitives/record.rb +2 -2
  177. data/lib/{avm2 → furnace-avm2}/binary/choice_definition.rb +1 -1
  178. data/lib/{avm2 → furnace-avm2}/binary/record.rb +3 -3
  179. data/lib/furnace-avm2/transform.rb +6 -0
  180. data/lib/{avm2 → furnace-avm2}/transform/ast_build.rb +1 -1
  181. data/lib/{avm2 → furnace-avm2}/transform/ast_normalize.rb +1 -1
  182. metadata +185 -186
  183. data/lib/avm2/abc.rb +0 -68
  184. data/lib/avm2/transform.rb +0 -6
  185. data/lib/avm2/version.rb +0 -3
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3Nop < Opcode
3
3
  instruction 0x2
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3Pop < Opcode
3
3
  instruction 0x29
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3PopScope < Opcode
3
3
  instruction 0x1d
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3SetSlot < Opcode
3
3
  instruction 0x6d
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3Swap < Opcode
3
3
  instruction 0x2b
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3Throw < Opcode
3
3
  instruction 0x3
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3TypeOf < Opcode
3
3
  instruction 0x95
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3GetLocal < LoadStoreOpcode
3
3
  instruction 0x62
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3GetLocal0 < LoadStoreOpcode
3
3
  instruction 0xd0
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3GetLocal1 < LoadStoreOpcode
3
3
  instruction 0xd1
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3GetLocal2 < LoadStoreOpcode
3
3
  instruction 0xd2
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3GetLocal3 < LoadStoreOpcode
3
3
  instruction 0xd3
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3SetLocal < LoadStoreOpcode
3
3
  instruction 0x63
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3SetLocal0 < LoadStoreOpcode
3
3
  instruction 0xd4
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3SetLocal1 < LoadStoreOpcode
3
3
  instruction 0xd5
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3SetLocal2 < LoadStoreOpcode
3
3
  instruction 0xd6
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3SetLocal3 < LoadStoreOpcode
3
3
  instruction 0xd7
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class LoadStoreOpcode < Opcode
3
3
  define_property :direction
4
4
  define_property :index, :callable => true
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3Construct < Opcode
3
3
  instruction 0x42
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3ConstructSuper < Opcode
3
3
  instruction 0x49
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3NewActivation < Opcode
3
3
  instruction 0x57
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3NewArray < Opcode
3
3
  instruction 0x56
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3NewClass < Opcode
3
3
  instruction 0x58
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3NewFunction < Opcode
3
3
  instruction 0x40
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3NewObject < Opcode
3
3
  instruction 0x55
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class ObjectManipulationOpcode < Opcode
3
3
  end
4
4
  end
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class Opcode
3
3
  MAP = {}
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3ConstructProperty < Opcode
3
3
  include ContextualOpcode
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3DeleteProperty < PropertyOpcode
3
3
  instruction 0x6a
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3FindProperty < PropertyOpcode
3
3
  instruction 0x5e
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3FindPropertyStrict < PropertyOpcode
3
3
  instruction 0x5d
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3GetDescendants < PropertyOpcode
3
3
  instruction 0x59
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3GetProperty < PropertyOpcode
3
3
  instruction 0x66
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3GetSuper < PropertyOpcode
3
3
  instruction 0x04
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3InitProperty < PropertyOpcode
3
3
  instruction 0x68
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3SetProperty < PropertyOpcode
3
3
  instruction 0x61
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3SetSuper < PropertyOpcode
3
3
  instruction 0x05
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class PropertyOpcode < Opcode
3
3
  include ContextualOpcode
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3PushByte < PushLiteralOpcode
3
3
  instruction 0x24
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3PushDouble < PushLiteralOpcode
3
3
  instruction 0x2f
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3PushFalse < PushLiteralOpcode
3
3
  instruction 0x27
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3PushInt < PushLiteralOpcode
3
3
  instruction 0x2d
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3PushNan < PushLiteralOpcode
3
3
  instruction 0x28
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3PushNull < PushLiteralOpcode
3
3
  instruction 0x20
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3PushScope < Opcode
3
3
  instruction 0x30
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3PushShort < PushLiteralOpcode
3
3
  instruction 0x25
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3PushString < PushLiteralOpcode
3
3
  instruction 0x2c
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3PushTrue < PushLiteralOpcode
3
3
  instruction 0x26
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3PushUndefined < PushLiteralOpcode
3
3
  instruction 0x21
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3PushWith < Opcode
3
3
  instruction 0x1c
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class PushLiteralOpcode < Opcode
3
3
  consume 0
4
4
  produce 1
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3ApplyType < TypeConversionOpcode
3
3
  instruction 0x53
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3Coerce < TypeConversionOpcode
3
3
  instruction 0x80
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3CoerceA < TypeConversionOpcode
3
3
  instruction 0x82
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3CoerceB < TypeConversionOpcode
3
3
  instruction 0x76
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3CoerceS < TypeConversionOpcode
3
3
  instruction 0x85
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3ConvertD < TypeConversionOpcode
3
3
  instruction 0x75
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3ConvertI < TypeConversionOpcode
3
3
  instruction 0x73
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3ConvertO < TypeConversionOpcode
3
3
  instruction 0x77
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3ConvertS < TypeConversionOpcode
3
3
  instruction 0x70
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class AS3ConvertU < TypeConversionOpcode
3
3
  instruction 0x74
4
4
 
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class TypeConversionOpcode < Opcode
3
3
  end
4
4
  end
@@ -1,4 +1,4 @@
1
- module AVM2::ABC
1
+ module Furnace::AVM2::ABC
2
2
  class OpcodeSequence < ::Array
3
3
  attr_reader :root, :parent
4
4
 
@@ -1,5 +1,5 @@
1
- module AVM2::ABC
2
- class Record < AVM2::Binary::Record
1
+ module Furnace::AVM2::ABC
2
+ class Record < Furnace::AVM2::Binary::Record
3
3
  def self.abc_array_of(name, type, options={})
4
4
  field_size, field_array = :"#{name}_count", options.delete(:plural) || :"#{name}s"
5
5
  klass = options.delete(:class)