AST StringDumpVisitor implemented
refactor the visitor implementation into a derived class