Code generation


Hi, I am using Python code generation from a class diagram. Two questions:

1) is there any way to get the method bodies included in the generated code? at least when the declared languages (for the body & for code generation) match;

2) the generated code will replace any former generated code (without warning). Is it envisaged to have code evolution instead of replacement? or even bi-directionality (method bodies written into the generated code would get re-imported)

14 July 2016 17:08:32 Airy Magnien

Add Comment

Dusan Rodina - 15 July 2016 11:24:27


Thank you for your feedback.

1) Python source code generation will be improved in the next version. Method bodies will be included to the generated code.

2) This will need implementation of Python source code parser which will take some time. This feature may come in one of next versions.