Refactor with Node#each_ancestor_node
Add Node#each_node that allows to scan all nodes in the AST
Replace Scanner.scan with Node#each_node