Start of new ANTLR4 based parser.
Very simple tests pass.
This commit is contained in:
parent
03b4194193
commit
fbbe832a05
44 changed files with 860 additions and 8 deletions
22
pglablib/sqlast/SelectStatement.h
Normal file
22
pglablib/sqlast/SelectStatement.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#pragma once
|
||||
|
||||
#include "Statement.h"
|
||||
#include <memory>
|
||||
|
||||
namespace sqlast {
|
||||
|
||||
class SelectList;
|
||||
|
||||
class SelectStatement: public Statement
|
||||
{
|
||||
public:
|
||||
SelectStatement();
|
||||
|
||||
SelectList* GetSelectList();
|
||||
void SetSelectList(std::unique_ptr<SelectList> value);
|
||||
|
||||
private:
|
||||
std::unique_ptr<SelectList> selectList;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue