class Savi::Compiler::Verify::Visitor

Defined in:

savi/compiler/verify.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


[View source]

Instance Method Detail

def check_function(ctx, func, func_link) #

[View source]
def inventory : Inventory::Analysis #

[View source]
def jumps : Jumps::Analysis #

[View source]
def refer : Refer::Analysis #

[View source]
def touch(ctx, node : AST::Try) #

Verify that each try block has at least one possible error case.


[View source]
def touch(ctx, node : AST::Prefix) #

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

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

This visitor never replaces nodes, it just touches them and returns them.


[View source]