Class: TRuby::LegacyTypeChecker

Inherits:
TypeChecker show all
Defined in:
lib/t_ruby/type_checker.rb

Overview

Legacy TypeChecker without SMT (backward compatible)

Instance Attribute Summary

Attributes inherited from TypeChecker

#errors, #hierarchy, #inferencer, #smt_solver, #use_smt, #warnings

Instance Method Summary collapse

Methods inherited from TypeChecker

#check_assignment, #check_call, #check_function, #check_function_legacy, #check_interface, #check_method_with_smt, #check_operator, #check_program, #check_program_legacy, #check_property_access, #check_return, #check_statement, #diagnostics, #infer_param_type, #known_type?, #narrow_in_conditional, #register_alias, #register_function, #reset, #resolve_type, #subtype_with_smt?, #to_smt_type, #validate_type

Constructor Details

#initializeLegacyTypeChecker

Returns a new instance of LegacyTypeChecker.



738
739
740
# File 'lib/t_ruby/type_checker.rb', line 738

def initialize
  super(use_smt: false)
end