class Savi::Compiler::Jumps::Visitor

Defined in:

savi/compiler/jumps.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(analysis : Savi::Compiler::Jumps::Analysis, classify : Savi::Compiler::Classify::Analysis, function : AST::Function, ctx : Context) #

[View source]

Instance Method Detail

def analysis : Analysis #

[View source]
def classify : Classify::Analysis #

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

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

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

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

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

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

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

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

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

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

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

[View source]
def touch(node) #

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

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


[View source]
def visit_children?(ctx, node) #

We don't deal with type expressions at all.


[View source]
def visit_pre(ctx, node : AST::Loop | AST::Try) #

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

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

[View source]