Class: Furnace::AVM2::ABC::MultinameKindGenericName
- Inherits:
-
Record
- Object
- Binary::Record
- Record
- Furnace::AVM2::ABC::MultinameKindGenericName
- Defined in:
- lib/furnace-avm2/abc/metadata/multiname_kind_genericname.rb
Overview
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
Instance Method Details
#collect_ns(options) ⇒ Object
15 16 17 18 |
# File 'lib/furnace-avm2/abc/metadata/multiname_kind_genericname.rb', line 15 def collect_ns() name.collect_ns() parameters.each { |type| type.collect_ns() } end |
#to_astlet ⇒ Object
11 12 13 |
# File 'lib/furnace-avm2/abc/metadata/multiname_kind_genericname.rb', line 11 def to_astlet AST::Node.new(:generic, [ name.to_astlet, parameters.map(&:to_astlet) ]) end |
#to_s ⇒ Object
7 8 9 |
# File 'lib/furnace-avm2/abc/metadata/multiname_kind_genericname.rb', line 7 def to_s "#{name.to_s}<#{parameters.map(&:to_s).join(",")}>" end |