发明名称 Code blueprints
摘要 A blueprint is described that provides a framework for writing a code generator. A blueprint translator translates the blueprint into one or more classes with source code. The newly generated code can then be compiled. If the user wishes to add additional functionality to a generated class, this is done in a separate source file. At compilation time, the compiler combines the generated class with the user's additions, as if they were written in a single class. Later, if the blueprint is ever changed, the generated code can safely be updated without overwriting the user's additions. Alternately, the user can embed his desired additions or changes directly into the blueprint (embedded code). In this manner, should the blueprint ever be re-compiled, the user's changes will still be present. The partial classes technique can be used in conjunction with the embedded code technique.
申请公布号 US7500224(B2) 申请公布日期 2009.03.03
申请号 US20020285849 申请日期 2002.11.01
申请人 MICROSOFT CORPORATION 发明人 HEJLSBERG ANDERS;GUNNERSON ERIC A.;GOLDE PETER H.;ANDERSON CHRIS;WILTAMUTH SCOTT M.
分类号 G06F9/44;G06F9/45 主分类号 G06F9/44
代理机构 代理人
主权项
地址