Connect SQL::AST::Node#to_sql to Generator