Closed sidneywang closed 5 years ago
Is there any convenient way to do that? I use toks! to make it.
Yeah, you use imported tokens: https://github.com/udoprog/genco/blob/master/src/java/mod.rs#L502
Examples here: https://github.com/reproto/reproto/blob/master/lib/backend-java/src/compiler.rs#L82
How can I add "import xxx.xxx.xx" when generate a class file.