class Savi::Compiler::TInfer::Visitor
Defined in:
savi/compiler/t_infer.crConstructors
Instance Method Summary
- #analysis : Savi::Compiler::TInfer::FuncAnalysis
- #apply_substs_for_layer(ctx : Context, info : Info, span : Span) : Span
- #core_savi_reified_type(ctx : Context, name : String, args = [] of MetaType)
- #core_savi_type_span(ctx : Context, name : String, type_arg_name : String | Nil = nil)
- #depends_on_call_error_out_span(ctx, other_rt, other_f, other_f_link)
- #depends_on_call_param_span(ctx, other_rt, other_f, other_f_link, index)
- #depends_on_call_ret_span(ctx, other_rt, other_f, other_f_link)
- #depends_on_call_yield_in_span(ctx, other_rt, other_f, other_f_link)
- #depends_on_call_yield_out_span(ctx, other_rt, other_f, other_f_link, index)
- #init_analysis
- #refer_type_for(node : AST::Node) : Refer::Info | Nil
- #resolve(ctx : Context, info : Info) : Span
- #ret
- #run(ctx : Context)
- #run_edge(ctx : Context)
- #self_type_expr_span(ctx : Context) : Span
- #t_link : Program::Type::Link | Program::TypeAlias::Link
- #unwrap_lazy_parts_of_type_expr_span(ctx : Context, span : Span) : Span
Instance methods inherited from class Savi::Compiler::TInfer::TypeExprEvaluator
lookup_type_param_bound_span(ctx : Context, type_param : TypeParam)
lookup_type_param_bound_span,
lookup_type_param_partial_reified_span(ctx : Context, type_param : TypeParam)
lookup_type_param_partial_reified_span,
refer_type_for(node : AST::Node) : Refer::Info | Nil
refer_type_for,
self_type_expr_span(ctx : Context) : Span
self_type_expr_span,
t_link : Program::Type::Link | Program::TypeAlias::Link
t_link,
type_expr_span(ctx : Context, node : AST::Identifier) : Spantype_expr_span(ctx : Context, node : AST::Relate) : Span
type_expr_span(ctx : Context, node : AST::Group) : Span
type_expr_span(ctx : Context, node : AST::Qualify) : Span
type_expr_span(ctx : Context, node : AST::Node) : Span type_expr_span
Constructor Detail
def self.new(func : Program::Function, link : Program::Function::Link, analysis : FuncAnalysis, t_analysis : TypeAnalysis, refer_type : ReferType::Analysis, refer_type_parent : ReferType::Analysis, classify : Classify::Analysis, type_context : TypeContext::Analysis, pre_infer : PreTInfer::Analysis)
#