class Savi::Compiler::Classify::Visitor

Defined in:

savi/compiler/classify.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 analysis : Analysis #

[View source]
def refer_type : ReferType::Analysis #

[View source]
def touch(ctx, op : AST::Operator) #

An Operator can never have a value, so its value should never be needed.


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

[View source]
def touch(ctx, group : AST::Group) #

[View source]
def touch(ctx, qualify : AST::Qualify) #

[View source]
def touch(ctx, relate : AST::Relate) #

[View source]
def touch(ctx, call : AST::Call) #

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

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

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

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


[View source]