1 | #include "duckdb/parser/statement/explain_statement.hpp" |
---|---|
2 | #include "duckdb/parser/transformer.hpp" |
3 | |
4 | using namespace duckdb; |
5 | using namespace std; |
6 | |
7 | unique_ptr<ExplainStatement> Transformer::TransformExplain(PGNode *node) { |
8 | PGExplainStmt *stmt = reinterpret_cast<PGExplainStmt *>(node); |
9 | assert(stmt); |
10 | return make_unique<ExplainStatement>(TransformStatement(stmt->query)); |
11 | } |
12 |