update codegen. add python code gen

This commit is contained in:
2023-10-10 10:39:27 +08:00
parent d003b28b2e
commit 0071e001fd
7 changed files with 226 additions and 73 deletions

View File

@ -113,6 +113,10 @@ public class CommonHelper {
enum CKParts {
CK2, VxMath
}
enum LangType {
CPP, Python
}
public static String getCKPartsNamespace(CKParts parts) {
switch (parts) {
@ -187,5 +191,5 @@ public class CommonHelper {
// only remove at least 5 continuous star chars.
return cmt.replaceAll("\\*{5,}", "");
}
}