mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
26 lines
635 B
C++
26 lines
635 B
C++
#pragma once
|
|
|
|
#include <Parsers/IAST.h>
|
|
#include <Parsers/Lexer.h>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
/** List of expressions, for example "a, b + c, f(d)"
|
|
*/
|
|
class ASTExpressionList : public IAST
|
|
{
|
|
public:
|
|
explicit ASTExpressionList(char separator_ = ',') : separator(separator_) {}
|
|
String getID(char) const override { return "ExpressionList"; }
|
|
|
|
ASTPtr clone() const override;
|
|
void formatImpl(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const override;
|
|
void formatImplMultiline(const FormatSettings & settings, FormatState & state, FormatStateStacked frame) const;
|
|
|
|
char separator;
|
|
};
|
|
|
|
}
|