Andrew Hyatt writes: > > "Nascif Abousalh-Neto" <[EMAIL PROTECTED]> writes: > > > I agree with you that it would be really nice to have this feature... it > > takes a good Java parser and a very efficient way to cache/access the > > syntatic trees associated with the source code. It seems that some of > > that > > info is already available in different bits and pieces (the semantic > > database, the new cross-reference functionality) but for refactoring you > > do > > need a lot of information, more than just function names and headers. > > Which > > means lots of processing time and memory. > > > > Regards, > > Nascif > > > > PS: As for the Ctrl-1 functionality, this is certainly much easier to > > I would be very interested if someone who really knew semantic well > could tell us if it could do the kind of parsing necessary for these > more advanced features. It seems to have more then the advertised > API, since you can get the speedbar to know about types of local > variables, while the advertised API does not go into within-method > information. >
Hi Andy, Yes, the current version of semantic has the ability to parse local variables. The upcoming Semantic 2.0 will have a full-blown, yacc-style parser generator, developed by David Ponce, that should support any feature the JDEE needs. Indeed, it should have a revolutionary impact on other Emacs applications, allowing much faster and more accurate parsing that is possible with the regular-expression based parsers used, e.g., for syntax coloring and indentation. I am eagerly awaiting the release of Semantic 2.0. - Paul
