ClickHouse/dbms/include/DB/Parsers/ParserTableExpression.h
2016-03-07 04:08:01 +03:00

21 lines
521 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#include <DB/Parsers/IParserBase.h>
namespace DB
{
/** Имя таблицы (с или без имени БД), табличная функция, подзапрос.
* Без модификаторов FINAL, SAMPLE и т. п.
* Без алиаса.
*/
class ParserTableExpression : public IParserBase
{
protected:
const char * getName() const { return "table or subquery or table function"; }
bool parseImpl(Pos & pos, Pos end, ASTPtr & node, Pos & max_parsed_pos, Expected & expected);
};
}