摘要: |
为了缩短软件工程生命周期,引入组件、复制的概念,利用抽象语法树(AST)将相同功能的代码设计为一个函数,保留充足的接口参数,利用过程调用开发软件程序,可以提高软件开发效率. |
关键词: 抽象语法树(AST) 代码重构 过程调用 组件 |
DOI:10.3969/J.ISSN.1000-5137.2018.04.011 |
分类号:TP312 |
基金项目: |
|
Application and research of C clone code reconstruction based on abstract syntax tree |
Xin Yanyan, Wu Haitao
|
The College of Information, Mechanical and Electrical Engineering, Shanghai Normal University, Shanghai 200234, China
|
Abstract: |
In order to shorten the life cycle of software engineering,we usethe abstract syntax tree(AST) to design the same function of the code as a function according to the concept of components and reproduction.By keeping sufficient interface parameters,we can call the procedure to improve the efficiency of coding. |
Key words: abstract syntax tree (AST) code refactoring procedure calling component |