blob: 0bafc17576b3f6359a13bc1b6c8eede8625f8fcd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#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;
};
}
|