首页> 外国专利> Computer-executable model reverse engineering method and apparatus

Computer-executable model reverse engineering method and apparatus

机译:计算机可执行模型逆向工程的方法和装置

摘要

A computer-executable model reverse engineering method includes receiving a source code, receiving a conversion rule for converting the source code into a target model, and the source via a parser associated with the source code. Parsing code to store parse data having a specific data structure in a memory; converting the stored parse data into a metamodel; and converting the metamodel into a target model according to the received conversion rule. Receiving the target model, setting an environment for generating source code, reading an element of the target model and confirming whether the element is a source code generation target element, and the generation Validity of the model element in question Verifying according to the verification rule, and generating a source code according to the verification result. [Selection] Figure 1
机译:一种计算机可执行模型逆向工程方法,包括:接收源代码;接收用于将源代码转换为目标模型的转换规则;以及经由与源代码相关联的解析器来获取源。解析代码,用于将具有特定数据结构的解析数据存储在存储器中;将存储的解析数据转换为元模型;根据接收到的转换规则将元模型转换为目标模型。接收目标模型,设置生成源代码的环境,读取目标模型的元素,确认该元素是否为源代码生成目标元素,以及所讨论的模型元素的生成有效性,根据验证规则进行验证,根据验证结果生成源代码。 [选择]图1

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号