2011-10-30 11:30:52 +00:00
|
|
|
#pragma once
|
|
|
|
|
2017-04-01 09:19:00 +00:00
|
|
|
#include <Parsers/IParserBase.h>
|
2011-10-30 11:30:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
class ParserQuery : public IParserBase
|
|
|
|
{
|
2017-07-10 03:41:02 +00:00
|
|
|
private:
|
|
|
|
const char * end;
|
2017-07-12 01:49:20 +00:00
|
|
|
|
|
|
|
const char * getName() const override { return "Query"; }
|
|
|
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
|
2018-10-09 14:32:11 +00:00
|
|
|
|
2017-07-12 01:49:20 +00:00
|
|
|
public:
|
2020-11-02 12:47:12 +00:00
|
|
|
explicit ParserQuery(const char * end_) : end(end_) {}
|
2011-10-30 11:30:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|