Abstract | ||
---|---|---|
This paper presents a refactoring tool for C++. Its implementation illustrates the main difficulties of automated refactoring raising in this case from the preprocessor and from the complexity of the language. Our solution, using a back-mapping preprocessor, works in the presence of complex preprocessor constructions built upon file inclusions, macro expansions and conditional compilations. Refactorings are computed after full preprocessing and parsing of target programs, hence, they are based on the same level of program understanding as performed by compilers. The paper illustrates the main ideas of our approach on the example of Extract Method refactoring.(3). |
Year | DOI | Venue |
---|---|---|
2006 | 10.1007/978-0-387-39388-9_31 | INTERNATIONAL FEDERATION FOR INFORMATION PROCESSING |
Field | DocType | Volume |
Programming language,Source code,Computer science,Abstract syntax tree,Compiler,Preprocessor,Software maintenance,Parsing,Macro,Code refactoring | Conference | 227 |
ISSN | Citations | PageRank |
1571-5736 | 0 | 0.34 |
References | Authors | |
13 | 3 |
Name | Order | Citations | PageRank |
---|---|---|---|
Marian Vittek | 1 | 165 | 13.39 |
peter borovansk | 2 | 318 | 18.65 |
Pierre-etienne Moreau | 3 | 598 | 40.40 |