class Ameba::AST::ScopeVisitor
- Ameba::AST::ScopeVisitor
- Ameba::AST::BaseVisitor
- Crystal::Visitor
- Reference
- Object
Overview
AST Visitor that traverses the source and constructs scopes.
Defined in:
ameba/ast/visitors/scope_visitor.crConstant Summary
-
NODES =
{ClassDef, ModuleDef, EnumDef, LibDef, FunDef, TypeDef, TypeOf, CStructOrUnionDef, ProcLiteral, Block, Macro, MacroIf, MacroFor}
-
Non-exhaustive list of nodes to be visited by Ameba's rules.
-
SPECIAL_NODE_NAMES =
["super", "previous_def"] of ::String