Revision 817401

Go back to digest for 8th June 2008

Features in Development Tools

Hamish Rodda committed changes in /trunk/playground/devtools/kdevelop4-extra-plugins/java:

Much improvement (thanks to a quiet night shift :)

Fix java parser to include method bodies in the AST.
Not sure if it's valid to have a semicolon instead of a body, but that code was preventing it from working.

Major work on getting the type system underway.
Classes, functions and basic types now all created, perhaps still not yet accurate + more work to do elsewhere.

Include more definitions, fix duchain creation/accuracy for class methods.

... we're getting there, the class browser is now working reasonably and code completion is hopefully only a matter of time...

then it will be on to generalising code so more can be shared between languages.

File Changes

Added 4 files
  • /trunk/playground/devtools/kdevelop4-extra-plugins/java/duchain
  •   /typerepository.cpp
  •   /typerepository.h
  •   /types.cpp
  •   /types.h
Modified 12 files
  • /trunk/playground/devtools/kdevelop4-extra-plugins/java
  •   /CMakeLists.txt
  •   /javahighlighting.cpp
  •   /parsejob.cpp
  •   /duchain/contextbuilder.cpp
  •   /duchain/declarationbuilder.cpp
  •   /duchain/declarationbuilder.h
  •   /duchain/dumpchain.cpp
  •   /duchain/typebuilder.cpp
  •   /duchain/typebuilder.h
  •   /duchain/usebuilder.cpp
  •   /parser/FlexLexer.h
  •   /parser/java.g
16 files changed in total