发明名称 ANNOTATING A GENERATOR OUTPUT STREAM
摘要 A code annotating system includes a code wrapper engine configured to receive an output stream of target coding language converted from source code. The system further includes an annotator engine configured to automatically annotate a copy of the output stream with source information to create an annotated output document by collecting a call stack associated with a code fragment in the output stream, analyzing the call stack by excluding any information that does not emit content in the target coding language, and annotating the copy with the analyzed call stack, the source information mapping a relationship between the code fragment in the annotated output document and the source code. The system further includes a memory device configured to store the source information.
申请公布号 US2016299758(A1) 申请公布日期 2016.10.13
申请号 US201615186187 申请日期 2016.06.17
申请人 International Business Machines Corporation 发明人 Greer Scott B.
分类号 G06F9/44;G06T11/20;G06F3/0484 主分类号 G06F9/44
代理机构 代理人
主权项 1. A computer program product, comprising: a non-transitory computer readable storage medium to store a computer readable program, wherein the computer readable program, when executed by a processor within a computer, causes the computer to perform operations for annotating document source code, the operations comprising: receiving an output stream of target coding language converted from source code; andautomatically annotating a copy of the output stream with source information to create an annotated output document by: collecting a call stack associated with a code fragment in the output stream;analyzing the call stack by excluding any information that does not emit content in the target coding language; andannotating the copy with the analyzed call stack, wherein the source information maps a relationship between the code fragment in the annotated output document and the source code.
地址 Armonk NY US