class Savi::Compiler::Lifetime::ForFunc

Defined in:

savi/compiler/lifetime.cr

Constructors

Instance Method Summary

Instance methods inherited from class Savi::AST::Visitor

visit(ctx : Compiler::Context, node : Node) visit, visit_any?(ctx : Compiler::Context, node : Node) visit_any?, visit_children?(ctx : Compiler::Context, node : Node) visit_children?, visit_pre(ctx : Compiler::Context, node : Node) visit_pre

Constructor Detail

def self.new(ctx : Savi::Compiler::Context, reach_def : Savi::Compiler::Reach::Def, reach_func : Savi::Compiler::Reach::Func) #

[View source]

Instance Method Detail

def []?(node) #

[View source]
def classify #

[View source]
def local #

[View source]
def refer #

[View source]
def touch(node : AST::Node) #

[View source]
def touch_assign_local(node : AST::Relate) #

[View source]
def touch_call(node : AST::Call) #

[View source]
def touch_call_arg(node : AST::Node) #

[View source]
def touch_local_release(node : AST::Node, ref : Refer::Local) #

[View source]
def touch_pre(node : AST::Node) #

[View source]
def touch_scope_post(node, scope) #

[View source]
def touch_scope_pre(node, scope) #

[View source]
def visit(ctx, node) #

[View source]
def visit_pre(ctx, node) #

This visitor only touches nodes and does not mutate or replace them.


[View source]