struct Savi::Compiler::Infer::ReifiedFunction

Defined in:

savi/compiler/infer/reified.cr

Constructors

Instance Method Summary

Constructor Detail


[View source]

Instance Method Detail

def func(ctx) #

[View source]

[View source]
def meta_type_of(ctx : Context, ast : AST::Node, infer : FuncAnalysis = ctx.infer[@link]) : MetaType | Nil #

[View source]
def meta_type_of(ctx : Context, span : Span | Nil, infer : FuncAnalysis = ctx.infer[@link]) : MetaType | Nil #

[View source]
def meta_type_of(ctx : Context, info : Info, infer : FuncAnalysis = ctx.infer[@link]) : MetaType | Nil #

[View source]
def meta_type_of_error_out(ctx : Context, infer : FuncAnalysis = ctx.infer[@link]) : MetaType | Nil #

[View source]
def meta_type_of_param(ctx : Context, index : Int, infer : FuncAnalysis = ctx.infer[@link]) : MetaType | Nil #

[View source]
def meta_type_of_ret(ctx : Context, infer : FuncAnalysis = ctx.infer[@link]) : MetaType | Nil #

[View source]
def meta_type_of_yield_in(ctx : Context, infer : FuncAnalysis = ctx.infer[@link]) : MetaType | Nil #

[View source]
def meta_type_of_yield_out(ctx : Context, index : Int, infer : FuncAnalysis = ctx.infer[@link]) : MetaType | Nil #

[View source]
def name #

This name is used in selector painting, so be sure that it meets the following criteria:

  • unique within a given type
  • identical for equivalent/compatible reified functions in different types

[View source]
def receiver_cap : MetaType #

[View source]
def receiver_mt #

[View source]
def show_full_name #

[View source]
def type : ReifiedType #

[View source]