Revision 68e43a2...

Go back to digest for 28th October 2012

Features in Development Tools

Miquel Sabaté committed changes in [kdev-ruby] /:

Merged the ClassDeclaration and the ModuleDeclaration classes.

In the DUChain's point of view, Ruby classes and modules are almost the same
structure. The only difference is that classes may have a base class. By
merging both classes and adding a new "isModule" attribute to the data, we
are able to finally differentiate between both structures (previously there
were some crazy bugs for this topic).

File Changes

Deleted 2 files
  • /declarations
  •   duchain/classdeclaration.cpp
  •   duchain/classdeclaration.h
Modified 10 files
  •   completion/context.cpp
  •   duchain/CMakeLists.txt
  •   duchain/expressionvisitor.cpp
  •   completion/items/normalitem.cpp
  •   duchain/builders/declarationbuilder.cpp
  •   duchain/builders/usebuilder.cpp
  •   duchain/declarations/moduledeclaration.cpp
  •   duchain/declarations/moduledeclaration.h
  •   duchain/navigation/declarationnavigationcontext.cpp
  •   duchain/navigation/includenavigationcontext.cpp
12 files changed in total