Searched defs:FileGenerator (Results 1 – 1 of 1) sorted by relevance
51 struct FileGenerator { struct52 using ShouldGenerateFunction = std::function<bool(const FQName& fqName)>;53 using FileNameForFQName = std::function<std::string(const FQName& fqName)>;54 using GenerationFunction = std::function<status_t(Formatter& out, const FQName& fqName,57 ShouldGenerateFunction mShouldGenerateForFqName; // If generate function applies to this target58 FileNameForFQName mFileNameForFqName; // Target -> filename59 GenerationFunction mGenerationFunction; // Function to generate output for file61 std::string getFileName(const FQName& fqName) const { in getFileName()65 status_t getOutputFile(const FQName& fqName, const Coordinator* coordinator, in getOutputFile()74 status_t appendOutputFiles(const FQName& fqName, const Coordinator* coordinator, in appendOutputFiles()[all …]