Files
comaps/generator/dumper.hpp
Konstantin Pastbin bfffa1fff4 Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-17 14:32:37 +07:00

20 lines
658 B
C++

#pragma once
#include <string>
namespace features_dumper
{
void DumpTypes(std::string const & fPath);
void DumpPrefixes(std::string const & fPath);
// Writes top maxTokensToShow tokens sorted by their
// frequency, i.e. by the number of features in
// an mwm that contain the token in their name.
void DumpSearchTokens(std::string const & fPath, size_t maxTokensToShow);
// Writes the names of all features in the locale provided by lang
// (e.g. "en", "ru", "sv"). If the locale is not recognized, writes all names
// preceded by their locales.
void DumpFeatureNames(std::string const & fPath, std::string const & lang);
} // namespace features_dumper