class Ameba::AST::ScopeCallsWithSelfReceiverVisitor

Defined in:

ameba/ast/visitors/scope_calls_with_self_receiver_visitor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(rule, source) #

[View source]

Instance Method Detail

def end_visit(node : Crystal::Assign | Crystal::OpAssign) #

[View source]
def end_visit(node : Crystal::MultiAssign) #

[View source]
def end_visit(node : Crystal::UninitializedVar) #

[View source]
def end_visit(node : Crystal::TypeDeclaration) #

[View source]
def end_visit(node : Crystal::ASTNode) #

[View source]
def scope_call_queue : Hash(Ameba::AST::Scope, Array(Crystal::Call)) #

[View source]
def visit(node : Crystal::Def) #

[View source]
def visit(node : Crystal::Block | Crystal::ProcLiteral) #

[View source]
def visit(node : Crystal::ClassDef | Crystal::ModuleDef) #

[View source]
def visit(node : Crystal::Assign | Crystal::OpAssign | Crystal::MultiAssign | Crystal::UninitializedVar) #

[View source]
def visit(node : Crystal::TypeDeclaration) #

[View source]
def visit(node : Crystal::Arg) #

[View source]
def visit(node : Crystal::InstanceVar) #

[View source]
def visit(node : Crystal::Var) #

[View source]
def visit(node : Crystal::Call) #

[View source]
def visit(node : Crystal::ASTNode) #

A main visit method that accepts Crystal::ASTNode. Returns true, meaning all child nodes will be traversed.


[View source]