发明名称 Method and apparatus for associating metadata attributes with program elements
摘要 One embodiment of the present invention provides a system for associating metadata attributes with program elements. During operation, the system receives source code containing syntactic elements that specify metadata attributes for program elements, wherein the metadata attributes do not affect program execution. The system then parses the source code to obtain the metadata attributes. Next, the system associates the metadata attributes with corresponding program elements and determines values associated with the metadata attributes. Finally, the system incorporates the metadata attributes, including identifiers for the associated values and the associated program elements, into object code for the program, thereby allowing the metadata attributes to be accessed from the object code. Another embodiment of the present invention provides a system for accessing metadata attributes for program elements from object code through an application programming interface (API).
申请公布号 US2004049766(A1) 申请公布日期 2004.03.11
申请号 US20020237886 申请日期 2002.09.09
申请人 BLOCH JOSHUA J.;HAMILTON GRAHAM 发明人 BLOCH JOSHUA J.;HAMILTON GRAHAM
分类号 G06F9/45;(IPC1-7):G06F9/44;G06F15/00 主分类号 G06F9/45
代理机构 代理人
主权项
地址