Start of new ANTLR4 based parser.

Very simple tests pass.
This commit is contained in:
eelke 2022-04-03 12:27:35 +02:00
parent 03b4194193
commit fbbe832a05
44 changed files with 860 additions and 8 deletions

View file

@ -0,0 +1,18 @@
#include "SelectList.h"
#include "SelectItem.h"
using namespace sqlast;
SelectList::SelectList()
{
}
void SelectList::Add(std::unique_ptr<SelectItem> select_item)
{
list.push_back(std::move(select_item));
}
int SelectList::Count() const
{
return static_cast<int>(list.size());
}