Class: Yoda::Typing::Tree::ClassTree
- Includes:
- NamespaceInferable
- Defined in:
- lib/yoda/typing/tree/class_tree.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods included from NamespaceInferable
Methods inherited from Base
#build_child, #generator, #infer_child, #initialize, #inspect, #pretty_print, #type
Constructor Details
This class inherits a constructor from Yoda::Typing::Tree::Base
Instance Method Details
#infer_type ⇒ Types::Base
13 14 15 16 17 18 19 |
# File 'lib/yoda/typing/tree/class_tree.rb', line 13 def infer_type if super_class_node = node.super_class infer_child(super_class_node) end infer_namespace end |