Revision 893267

Go back to digest for 7th December 2008

Features in Development Tools

Hamish Rodda committed changes in /trunk/KDE/kdevelop/plugins/languages/cpp/parser:

Start implementing the reverse of parsing - converting an AST back to c++ code.
The whole AST is covered already, but it's hardly tested yet - for unit tests I need to write code that will check (ast -> code -> ast2) ast == ast2 ... ie tree comparison logic

File Changes

Added 3 files
  • /trunk/KDE/kdevelop/plugins/languages/cpp/parser
  •   /codegenerator.cpp
  •   /codegenerator.h
  •   /tests/test_generator.cpp
Modified 5 files
  • /trunk/KDE/kdevelop/plugins/languages/cpp/parser
  •   /CMakeLists.txt
  •   /parser.cpp
  •   /tokens.cpp
  •   /tokens.h
  •   /tests/CMakeLists.txt
8 files changed in total