module Ameba::AST

Overview

A module that helps to traverse Crystal AST using Crystal::Visitor.

Defined in:

Constant Summary

NODES = [Alias, IsA, Assign, Call, Block, Case, ClassDef, ClassVar, Def, EnumDef, ExceptionHandler, Expressions, HashLiteral, If, InstanceVar, LibDef, ModuleDef, NilLiteral, StringInterpolation, Unless, Var, When, While, Until]

List of nodes to be visited by Ameba's rules.