RegJS AST traversal functions