-
Notifications
You must be signed in to change notification settings - Fork 10
CodeGenUnit
Julien SOYSOUVANH edited this page Aug 2, 2021
·
1 revision
The CodeGenUnit class has 3 main tasks:
- Tell whether the generated code is up-to-date or not for a given file;
- Call the CodeGenModule::generateCode method on each module/entity pair and store the generated code;
- Write the generated code to one or multiple files;
It's up to the user to define how those 3 tasks are fulfilled with some method overrides.