ClickHouse/dbms/Parsers/ASTExpressionList.h
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

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;
};
}