发明名称 Program conversion device for translating an object-oriented language source program
摘要 A program conversion device includes a formal initialization expression generating unit, an actual initialization expression generating unit, and an object generation statement translating unit. The formal initialization expression generating unit focuses on a definition of an object generation function written in a source program and generates, if the object generation function does not perform any processing other than setting values in member variables of an object, a formal initialization expression which is the member variables represented by formal parameters. The actual initialization expression generating unit focuses on an object generation statement and generates, if a formal initialization expression that corresponds to an object generation function to be invoked by the object generation statement has been generated, an actual initialization expression. If the generated actual initialization expression is member variables represented by constants, the object generation statement translating unit translates the object generation statement in focus not into a subroutine call code sequence to invoke the corresponding object generation function, but into object data that has the constants of the actual initialization expression.
申请公布号 US6292937(B1) 申请公布日期 2001.09.18
申请号 US19990356229 申请日期 1999.07.16
申请人 MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD. 发明人 SAKATA TOSHIYUKI;URUSHIBARA SEIICHI;YAMANAKA KIYOKAZU;TANAKA HIROHISA
分类号 G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址