#ifndef AST_PRINTER_HH #define AST_PRINTER_HH #include "expr.hh" #include struct AstPrinter { std::string print(const Expr &expr); private: std::string parenthesize(const std::string &name, std::vector exprs); }; #endif