1#include "duckdb/parser/statement/explain_statement.hpp"
2#include "duckdb/parser/transformer.hpp"
3
4using namespace duckdb;
5using namespace std;
6
7unique_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