How to preserve variable name in Cheerp (a C++ to JavaScript transpiler)
问题 I'm using Cheerp (https://www.leaningtech.com/cheerp/) to transpile some C++ code into JavaScript. Is there any option to preserve variable names? Looks like the names get always mangled Original C++ code: void myClass::myMethod(int32_T myParam, boolean_T *rty_Result) { switch (myParam) { case Mycase1: case Mycase2: case Mycase3: case Mycase4: case Mycase5: *rty_Result = true; break; case Mycase6: *rty_Result = (filter.field1.field2 == 1); break; default: *rty_Result = false; break; } }