2022-04-03 12:27:35 +02:00
|
|
|
#include "SelectStatement.h"
|
|
|
|
|
#include "SelectList.h"
|
2022-04-07 19:35:29 +02:00
|
|
|
#include "NodeVisitor.h"
|
2022-04-03 12:27:35 +02:00
|
|
|
|
|
|
|
|
using namespace sqlast;
|
|
|
|
|
|
|
|
|
|
SelectStatement::SelectStatement()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
SelectList* SelectStatement::GetSelectList()
|
|
|
|
|
{
|
|
|
|
|
return selectList.get();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SelectStatement::SetSelectList(std::unique_ptr<SelectList> value)
|
|
|
|
|
{
|
|
|
|
|
selectList = std::move(value);
|
|
|
|
|
}
|
2022-04-07 19:35:29 +02:00
|
|
|
|
|
|
|
|
void SelectStatement::Accept(NodeVisitor &visitor)
|
|
|
|
|
{
|
|
|
|
|
visitor.Visit(*this);
|
|
|
|
|
}
|