Searched defs:FileGenerator (Results 1 – 1 of 1) sorted by relevance
52 struct FileGenerator { struct53 using ShouldGenerateFunction = std::function<bool(const FQName& fqName)>;54 using FileNameForFQName = std::function<std::string(const FQName& fqName)>;55 using GetFormatter = std::function<Formatter(void)>;56 using GenerationFunction =60 ShouldGenerateFunction mShouldGenerateForFqName; // If generate function applies to this target61 FileNameForFQName mFileNameForFqName; // Target -> filename62 GenerationFunction mGenerationFunction; // Function to generate output for file64 std::string getFileName(const FQName& fqName) const { in getFileName()68 status_t getOutputFile(const FQName& fqName, const Coordinator* coordinator, in getOutputFile()[all …]