Assuming you have an instance of a class. What is the best approach to generate valid scala source code, which could be written out into a file and compiled, of that instance during runtime? (Utilizing the scala reflection-api/macros?) Is it possible to parse the AST representation into source code?
Aucun commentaire:
Enregistrer un commentaire