visit AST to find scope string