AST walker with naming + test on var decls