class Savi::Compiler::Lifetime::ForFunc
- Savi::Compiler::Lifetime::ForFunc
- Savi::AST::Visitor
- Reference
- Object
Defined in:
savi/compiler/lifetime.crConstructors
Instance Method Summary
- #[]?(node)
- #classify
- #local
- #refer
- #touch(node : AST::Node)
- #touch_assign_local(node : AST::Relate)
- #touch_call(node : AST::Call)
- #touch_call_arg(node : AST::Node)
- #touch_local_release(node : AST::Node, ref : Refer::Local)
- #touch_pre(node : AST::Node)
- #touch_scope_post(node, scope)
- #touch_scope_pre(node, scope)
- #visit(ctx, node)
-
#visit_pre(ctx, node)
This visitor only touches nodes and does not mutate or replace them.
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)
#