#pragma once #include #include namespace DB { class ASTFunction; class RewriteCountVariantsVisitor { public: explicit RewriteCountVariantsVisitor(ContextPtr context_) : context(context_) {} void visit(ASTPtr &); void visit(ASTFunction &); private: ContextPtr context; }; }