mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
19 lines
432 B
C++
19 lines
432 B
C++
#pragma once
|
|
#include <Parsers/IParserBase.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/// Parses data type as ASTFunction
|
|
/// Examples: Int8, Array(Nullable(FixedString(16))), DOUBLE PRECISION, Nested(UInt32 CounterID, FixedString(2) UserAgentMajor)
|
|
class ParserDataType : public IParserBase
|
|
{
|
|
protected:
|
|
const char * getName() const override { return "data type"; }
|
|
bool parseImpl(Pos & pos, ASTPtr & node, Expected & expected) override;
|
|
};
|
|
|
|
}
|
|
|