Processor Expert defines certain additional conventions for the generated code that allow for finding implementation of driver method from the environment (using a double-click on the method/event on the Project Panel), this is performed via searching for method/event name in the comments maintain the user code in the event implementation.
Additionally, the following actions are applied to user (event) module after successful code generation,
- Module and event name renaming:
- Execute for all renamed modules and events - Change all names to internal identification
- Execute for all renamed modules and events- Change all internal identifications to new names
- Deleting imports not generated anymore. For all imports within the user module,
- If not exists on the list of all generated modules within the current project, then
- If generated the last time, then delete it
- Adding new imports. For all newly generated imports,
- If not exists within the user module, then add it behind the last import
- Adding new events. For all newly generated events,
- If not exists within the user module, then add it to the module end (before MODULE END)
- Deleting events not used anymore.
- On option, if the event does not contain any user code