Class: Yoda::Typing::Tree::ConstantAssignment

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

Instance Attribute Summary

Attributes inherited from Base

#context, #node

Instance Method Summary collapse

Methods inherited from Base

#build_child, #children, #generator, #initialize, #type

Constructor Details

This class inherits a constructor from Yoda::Typing::Tree::Base

Instance Method Details

#processObject



5
6
7
8
# File 'lib/yoda/typing/tree/constant_assignment.rb', line 5

def process
  # TODO
  infer(node.children.last)
end