/** * This file contains the implementation of the FileGeneratorCPP class, * which is responsible for generating CPP files based on file metadata. * * It also includes helper functions for manipulating metadata, and * generating header guards. */ import CodeStream from 'textstreamjs'; import { IFileMetadata } from '../parser/Parser'; export interface IGeneratedFile { path: string; contents: string; } export interface IFileGeneratorCPPOptions { /** * Absolute path of the root directory of the schema * source files. */ root: FileGeneratorCPP | null; current: IFileMetadata | null; /** * Absolute path of the root directory of the schema * source files. */ rootDir: string; /** * CMake configuration */ cmake: { project: string; }; } export default class FileGeneratorCPP extends CodeStream { #private; constructor(fileMetadataList: ReadonlyArray, { current, root, cmake, rootDir }: IFileGeneratorCPPOptions); generate(): IGeneratedFile[] | null; } //# sourceMappingURL=FileGeneratorCPP.d.ts.map