Class: Kumi::IR::DF::Graph
- Inherits:
-
Base::Module
- Object
- Base::Module
- Kumi::IR::DF::Graph
- Defined in:
- lib/kumi/ir/df.rb
Instance Attribute Summary
Attributes inherited from Base::Module
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base::Module
#add_function, #each_function, #fetch_function, #initialize, #to_h
Constructor Details
This class inherits a constructor from Kumi::IR::Base::Module
Class Method Details
.from_snast(snast_module, **_opts) ⇒ Object
11 12 13 14 |
# File 'lib/kumi/ir/df.rb', line 11 def self.from_snast(snast_module, **_opts) name = snast_module.respond_to?(:name) ? snast_module.name : :anonymous new(name:) end |