mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
19 lines
354 B
C++
19 lines
354 B
C++
#pragma once
|
|
|
|
#include <Parsers/IParserBase.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
/** WITH (scalar query) AS identifier
|
|
* or WITH identifier AS (subquery)
|
|
*/
|
|
class ParserWithElement : public IParserBase
|
|
{
|
|
protected:
|
|
const char * getName() const override { return "WITH element"; }
|
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
|
|
};
|
|
|
|
}
|