ClickHouse/src/Interpreters/RewriteCountVariantsVisitor.h
2022-12-02 17:56:23 +08:00

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