Adding visit method to each AST constructor