发明名称 Adding inheritance support to a computer programming language
摘要 Object inheritance is a programming feature that allows developers to designate a programming object as a “descendent” of one or more “ancestors.” Disclosed herein are system, method, and computer program product embodiments for supporting inheritance in a programming language. In an embodiment, a first programming object is received from a first document, inheritance information about the first programming object is received and analyzed, a second programming object based on the first programming object and the inheritance information is created, the second programming object is sent to an editor for editing, a third programming object is received from the editor, a fourth programming object based on the first or second programming object, the third programming object, and the inheritance information is created, and the fourth programming object is stored in a second document.
申请公布号 US9250925(B2) 申请公布日期 2016.02.02
申请号 US201012759436 申请日期 2010.04.13
申请人 Sybase, Inc. 发明人 Scipione Angelo
分类号 G06F9/44;G06F9/46 主分类号 G06F9/44
代理机构 Sterne, Kessler, Goldstein & Fox PLLC 代理人 Sterne, Kessler, Goldstein & Fox PLLC
主权项 1. A computer-implemented method of providing inheritance to a programming object, comprising: receiving a first programming object included in a first document, wherein the first programming object is described in a declarative language; receiving inheritance information about the first programming object, wherein the inheritance information associated with the first programming object is stored separately from the first programming object; analyzing the inheritance information, wherein the analyzing identifies at least one base object from which the first programming object inherits at least one property; based on the analyzing, generating a merged first programming object, wherein the generating merges the at least one property of the at least one base object into the first document and within the first programming object, and wherein the generating further comprises: recursively analyzing each element of a node of the at least one base object identified in the inheritance information; and determining the at least one property to be inherited by the first programming object from the at least one base object based on the recursively analyzing each element of the node; and sending the merged first programming object to an editor for editing.
地址 Dublin CA US
您可能感兴趣的专利