mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
22 lines
350 B
C++
22 lines
350 B
C++
#pragma once
|
|
|
|
#include <Parsers/IParserBase.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class ParserQuery : public IParserBase
|
|
{
|
|
private:
|
|
const char * end;
|
|
|
|
const char * getName() const override { return "Query"; }
|
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
|
|
|
|
public:
|
|
explicit ParserQuery(const char * end_) : end(end_) {}
|
|
};
|
|
|
|
}
|