Module: Furnace::AVM2::ABC::RecordWithTraits
- Included in:
- InstanceInfo, KlassInfo, MethodBodyInfo, ScriptInfo
- Defined in:
- lib/furnace-avm2/abc/metadata/record_with_traits.rb
Instance Method Summary collapse
Instance Method Details
#codes_to_ast ⇒ Object
27 28 29 30 31 |
# File 'lib/furnace-avm2/abc/metadata/record_with_traits.rb', line 27 def codes_to_ast trees = method_traits.map do |trait| trait.body.code_to_ast rescue nil end.compact end |