mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
b6e01cd47e
* split ColumnAggregateFunction.h * format * Allow use re2_st without cmake * use std type in find_first_symbols.h * fix ArrayEvaluator.h * include fixes * split ColumnConstAggregateFunction.h * fix StorageMaterializedView.h * split AddingDefaultBlockOutputStream.h * move CSVRowInputStream::updateDiagnosticInfo to .cpp * split ParserEnumElement.h * format * split DB/Parsers/ParserUseQuery.h * clean
21 lines
414 B
C++
21 lines
414 B
C++
#pragma once
|
|
|
|
#include <DB/Parsers/IParserBase.h>
|
|
#include <DB/Parsers/ExpressionElementParsers.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class ParserEnumElement : public IParserBase
|
|
{
|
|
ParserStringLiteral name_parser;
|
|
ParserNumber value_parser;
|
|
|
|
protected:
|
|
const char * getName() const override { return "enum element"; }
|
|
bool parseImpl(Pos & pos, Pos end, ASTPtr & node, Pos & max_parsed_pos, Expected & expected) override;
|
|
};
|
|
|
|
|
|
}
|