Joel Grunbaum
2021-07-20 d6113254ff97213878911c68f374d0cf5b0302f5
gens/dot.h
@@ -2,13 +2,14 @@
#define DOT_H
#include <fstream>
#include "../ast.h"
#include "../gens.h"
class dot_gen: public ast_visitor {
class dot_gen: public gen {
   std::ofstream out;
   int node_cnt;
public:
   dot_gen(std::string fname);
   ~dot_gen();
   void set_file(std::string file_name);
   std::string* new_node();
   void* visit_Document(Document *d);
   void* visit_Block_Table(Block_Table *bt);