Pretty-prints the AST in SQL.
More...
#include <ASTPrinter.hpp>
|
template<typename T > |
using | Const = ConstASTExprVisitor::Const< T > |
|
|
std::ostream & | out |
| the output stream to write to
|
|
|
unsigned | indent_ |
| the current level of indentation
|
|
bool | is_nested_ = false |
| whether the statement is nested; determines whether a final ';' must be printed
|
|
bool | expand_nested_queries_ = true |
| determines whether nested queries are printed
|
|
Pretty-prints the AST in SQL.
Definition at line 9 of file ASTPrinter.hpp.
◆ Const
◆ ASTPrinter()
m::ast::ASTPrinter::ASTPrinter |
( |
std::ostream & |
out, |
|
|
unsigned |
indent = 0 |
|
) |
| |
|
inline |
◆ expand_nested_queries() [1/2]
bool m::ast::ASTPrinter::expand_nested_queries |
( |
| ) |
|
|
inline |
◆ expand_nested_queries() [2/2]
void m::ast::ASTPrinter::expand_nested_queries |
( |
bool |
expand | ) |
|
|
inline |
◆ expand_nested_queries_
bool m::ast::ASTPrinter::expand_nested_queries_ = true |
|
private |
determines whether nested queries are printed
Definition at line 16 of file ASTPrinter.hpp.
◆ indent_
unsigned m::ast::ASTPrinter::indent_ |
|
private |
◆ is_nested_
bool m::ast::ASTPrinter::is_nested_ = false |
|
private |
whether the statement is nested; determines whether a final ';' must be printed
Definition at line 15 of file ASTPrinter.hpp.
◆ out
std::ostream& m::ast::ASTPrinter::out |
The documentation for this struct was generated from the following file: