Class: Yoda::Typing::Tree::ModuleTree

Inherits:
Base
  • Object
show all
Includes:
NamespaceInferable
Defined in:
lib/yoda/typing/tree/module_tree.rb

Instance Attribute Summary

Attributes inherited from Base

#context, #tracer

Instance Method Summary collapse

Methods included from NamespaceInferable

#infer_namespace

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_typeObject



12
13
14
# File 'lib/yoda/typing/tree/module_tree.rb', line 12

def infer_type
  infer_namespace
end

#nodeAST::ModuleNode

Returns:



12
13
14
# File 'lib/yoda/typing/tree/module_tree.rb', line 12

def infer_type
  infer_namespace
end