mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +00:00
22 lines
340 B
C++
22 lines
340 B
C++
#pragma once
|
|
|
|
#include <Parsers/IAST.h>
|
|
#include <Interpreters/Context_fwd.h>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class ASTFunction;
|
|
|
|
class RewriteCountVariantsVisitor
|
|
{
|
|
public:
|
|
explicit RewriteCountVariantsVisitor(ContextPtr context_) : context(context_) {}
|
|
void visit(ASTPtr &);
|
|
void visit(ASTFunction &);
|
|
private:
|
|
ContextPtr context;
|
|
};
|
|
|
|
}
|