class Ameba::AST::ScopeCallsWithSelfReceiverVisitor
- Ameba::AST::ScopeCallsWithSelfReceiverVisitor
- Crystal::Visitor
- Reference
- Object
Defined in:
ameba/ast/visitors/scope_calls_with_self_receiver_visitor.crConstructors
Instance Method Summary
- #end_visit(node : Crystal::Assign | Crystal::OpAssign)
- #end_visit(node : Crystal::MultiAssign)
- #end_visit(node : Crystal::UninitializedVar)
- #end_visit(node : Crystal::TypeDeclaration)
- #end_visit(node : Crystal::ASTNode)
- #scope_call_queue : Hash(Ameba::AST::Scope, Array(Crystal::Call))
- #visit(node : Crystal::Def)
- #visit(node : Crystal::Block | Crystal::ProcLiteral)
- #visit(node : Crystal::ClassDef | Crystal::ModuleDef)
- #visit(node : Crystal::Assign | Crystal::OpAssign | Crystal::MultiAssign | Crystal::UninitializedVar)
- #visit(node : Crystal::TypeDeclaration)
- #visit(node : Crystal::Arg)
- #visit(node : Crystal::InstanceVar)
- #visit(node : Crystal::Var)
- #visit(node : Crystal::Call)
-
#visit(node : Crystal::ASTNode)
A main visit method that accepts
Crystal::ASTNode
.
Constructor Detail
Instance Method Detail
def visit(node : Crystal::Assign | Crystal::OpAssign | Crystal::MultiAssign | Crystal::UninitializedVar)
#
def visit(node : Crystal::ASTNode)
#
A main visit method that accepts Crystal::ASTNode
.
Returns true
, meaning all child nodes will be traversed.