Class: Yoda::Typing::Tree::Super

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

Instance Attribute Summary

Attributes inherited from Base

#context, #tracer

Instance Method Summary collapse

Methods included from LiteralInferable

#infer_literal

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
15
# File 'lib/yoda/typing/tree/super.rb', line 12

def infer_type
  # TODO
  infer_literal(node)
end

#nodeAST::SpecialCallNode



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

def infer_type
  # TODO
  infer_literal(node)
end