Class: Furnace::AVM2::ABC::MultinameInfo
- Inherits:
-
Record
- Object
- Binary::Record
- Record
- Furnace::AVM2::ABC::MultinameInfo
- Defined in:
- lib/furnace-avm2/abc/metadata/multiname_info.rb
Constant Summary collapse
- XlatTable =
{ :QName => 0x07, :QNameA => 0x0D, :RTQName => 0x0F, :RTQNameA => 0x10, :RTQNameL => 0x11, :RTQNameLA => 0x12, :Multiname => 0x09, :MultinameA => 0x0E, :MultinameL => 0x1B, :MultinameLA => 0x1C, :GenericName => 0x1D # Undocumented }
Instance Attribute Summary
Attributes inherited from Binary::Record
Instance Method Summary collapse
Methods inherited from Record
abc_array_of, flag, pool_array, pool_array_of, pool_ref, subset, xlat_direct, xlat_field, xlat_inverse
Methods inherited from Binary::Record
#byte_length, codegen, codegen_each, inherited, #inspect, method_missing, register, #to_hash, trace, trace_scope, trace_value
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
35 36 37 |
# File 'lib/furnace-avm2/abc/metadata/multiname_info.rb', line 35 def method_missing(method, *args, &block) data.send(method, *args, &block) end |
Instance Method Details
#to_astlet(*args) ⇒ Object
43 44 45 46 47 |
# File 'lib/furnace-avm2/abc/metadata/multiname_info.rb', line 43 def to_astlet(*args) node = data.to_astlet(*args) node.[:origin] = self node end |
#to_s ⇒ Object
39 40 41 |
# File 'lib/furnace-avm2/abc/metadata/multiname_info.rb', line 39 def to_s data.to_s end |