Mixed-code generation
lDescription
lRead a source code file, modify it based on formatted comments, for example, and replace the file.
lExamples
lBuilding rudimentary get/set methods (accessors)
lBuilding marshalling code for user interfaces or dialog boxes
lBuilding redundant infrastructure code, such as C++ copy constructors or operator= methods
lConverting from model (data) to presentation (controls)
lGenerating unit tests
ØEscaping regular expressions
ØPre-compiling and obfuscating regular expressions
l