首页> 外国专利> Generation of source code from classes and maintaining the comment that indicates the role of the class in the generated source code

Generation of source code from classes and maintaining the comment that indicates the role of the class in the generated source code

机译:从类生成源代码并维护注释,该注释指示类在生成的源代码中的作用

摘要

An apparatus for automatically generating an object-oriented language program which comprises a class definition storing unit, a parsing unit, a generation pattern description storing unit and a program generating unit. The class definition unit describes and stores the class definition. The parsing unit obtains structure information by parsing a class definition input from the class definition unit. The generation pattern description storing unit stores the generation pattern description for structuring the information obtained from the class definition. The program generating unit automatically generates a new object-oriented program from structure information of the parsing unit and the generation pattern. Additionally, both the structure information and the information possessed by a class included in a pattern description in a program to be generated, are verified. As a result, it can be verified whether or not the generated program includes a definition which conflicts with an existing program immediately after the generation of the program, without waiting for the compiling of the generated program.
机译:一种用于自动生成面向对象的语言程序的设备,该设备包括类定义存储单元,解析单元,生成模式描述存储单元和程序生成单元。类定义单元描述并存储类定义。解析单元通过解析从类定义单元输入的类定义来获得结构信息。生成模式描述存储单元存储用于构造从类定义获得的信息的生成模式描述。程序生成单元从解析单元的结构信息和生成模式自动生成新的面向对象的程序。另外,验证结构信息和要生成的程序中的模式描述中包括的类所拥有的信息。结果,可以验证所生成的程序是否包括在生成程序之后立即与现有程序冲突的定义,而无需等待所生成的程序的编译。

著录项

  • 公开/公告号US6901579B1

    专利类型

  • 公开/公告日2005-05-31

    原文格式PDF

  • 申请/专利权人 SHIGEKI SUGUTA;

    申请/专利号US19970840231

  • 发明设计人 SHIGEKI SUGUTA;

    申请日1997-04-11

  • 分类号G06F9/44;

  • 国家 US

  • 入库时间 2022-08-21 22:19:46

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号