Code generating method and code generating device
A code generation and code technology, applied in program control devices, creation/generation of source code, structured data retrieval, etc., can solve the problem of inflexible application of code generators, and achieve the effect of universal applicability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0019] figure 1 It is a schematic flowchart of a code generation method according to an embodiment of the present invention. The code generation method and the code generation device can automatically generate codes. The code generation method is an automatic conversion mechanism or a mapping from a source model to a target model. It uses Tool programs (code generators) generate documents, interfaces, program segments, etc. The code generation method comprises the following steps:
[0020] S101, responding to user request instructions, editing code templates;
[0021] In some embodiments, the code template can be preset in the system, or can be customized by the user through the system, or directly imported from outside the system.
[0022] S103, storing the code template;
[0023] In some embodiments, the code template has instructions on it to convert model elements into physical artifacts. The template structure of each template includes four types: text instruction, br...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


