#pragma once #include #include #include #include #include namespace NYql { class TPatternGroup { public: TPatternGroup() = default; void Add(const TString& pattern, const TString& alias); bool IsEmpty() const; TMaybe Match(const TString& s) const; private: TMap> CompiledPatterns; }; }