struct Savi::Compiler::Infer::FuncAnalysis

Defined in:

savi/compiler/infer.cr

Instance Method Summary

Instance methods inherited from struct Savi::Compiler::Infer::Analysis

[](info : Info) [], []?(info : Info) []?, type_param_bound_cap_sets : Array(Array(Cap)) type_param_bound_cap_sets, type_param_bound_cap_sets? : Array(Array(Cap)) | Nil type_param_bound_cap_sets?, type_param_bound_spans : Array(Span) type_param_bound_spans, type_param_bound_spans? : Array(Span) | Nil type_param_bound_spans?, type_param_default_spans : Array(Span | Nil) type_param_default_spans, type_param_default_spans? : Array(Span | Nil) | Nil type_param_default_spans?, type_params : Array(TypeParam) type_params, type_params? : Array(TypeParam) | Nil type_params?, type_partial_reification_sets : Hash(Array(Cap), Int32) type_partial_reification_sets, type_partial_reification_sets? : Hash(Array(Cap), Int32) | Nil type_partial_reification_sets?, type_partial_reifications : Array(MetaType) type_partial_reifications, type_partial_reifications? : Array(MetaType) | Nil type_partial_reifications?

Constructor methods inherited from struct Savi::Compiler::Infer::Analysis

new new

Instance Method Detail

def called_func_receiver_span(for_info : FromCall | Nil) : Span #

[View source]
def can_reify_with?(args : Array(MetaType), call_cap : Cap, is_constructor : Bool) #

[View source]
def deciding_reify_of(span : Span, args : Array(MetaType), call_cap : Cap, is_constructor : Bool) : Span #

[View source]
def each_called_func_link(ctx, for_info : Info | Nil = nil, &) #

[View source]
def each_called_func_within(ctx, rf : ReifiedFunction, for_info : Info | Nil = nil, &) #

[View source]
def each_captured_function_pointer #

[View source]
def each_meta_type_within(ctx, rf : ReifiedFunction, &) #

[View source]
def each_reflection #

[View source]
def error_out_span : Span | Nil #

[View source]
def error_out_span? : Span | Nil | Nil #

[View source]
def func_partial_reification_sets : Hash(Cap, Hash(Array(Cap), Int32)) #

[View source]
def func_partial_reification_sets? : Hash(Cap, Hash(Array(Cap), Int32)) | Nil #

[View source]
def func_partial_reification_sets_size : Int32 #

[View source]
def func_partial_reification_sets_size? : Int32 | Nil #

[View source]
def func_partial_reifications : Array(MetaType) #

[View source]
def func_partial_reifications? : Array(MetaType) | Nil #

[View source]
def narrowing_type_param_cap(span : Span, type_param : TypeParam, caps : Array(Cap)) : Span #

[View source]
def param_spans : Array(Span) #

[View source]
def param_spans? : Array(Span) | Nil #

[View source]
def pre_infer : PreInfer::Analysis #

[View source]
def pre_infer? : PreInfer::Analysis | Nil #

[View source]
def ret_span : Span #

[View source]
def ret_span? : Span | Nil #

[View source]
def yield_in_span : Span | Nil #

[View source]
def yield_out_spans : Array(Span) #

[View source]
def yield_out_spans? : Array(Span) | Nil #

[View source]