Modified TLFromAST by completing the visitor methods