Say you have a class called ExampleClass, in a package called example, ie: import example.ExampleClass;. The generated output when calling it would look like this: ::example::ExampleClass_obj.
Is there any way to get the value of this generated output as a string during compilation (perhaps using macros / reflection)?
This is so that I can call classes using hxcpp externs by just passing in the class Haxe class name itself (ExampleClass) and having the extern function convert it to the cpp syntax and then calling it with untyped __cpp__() and ::example::ExampleClass_obj, ect.