15 bool is_nested_ =
false;
16 bool expand_nested_queries_ =
true;
19 ASTPrinter(std::ostream &out,
unsigned indent = 0) : out(out), indent_(indent) { (void)(this->indent_); }
24 using ConstASTVisitor::operator();
25#define DECLARE(CLASS) void operator()(Const<CLASS>&) override;
Pretty-prints the AST in SQL.
ASTPrinter(std::ostream &out, unsigned indent=0)
void expand_nested_queries(bool expand)
bool expand_nested_queries()
unsigned indent_
the current level of indentation
std::ostream & out
the output stream to write to