Hi David,
I am currently developing a parser for Java source buffers based on Eric
Ludlam's new parser generator for Emacs. The parser returns a list of all
Java objects in the source object, including package and import
declarations, methods, fields, constructors, etc. The entry for each item
contains its start and ending location in the buffer. The entry for a class
contains all its members (i.e., inner classes, methods, fields and
constructors), its parent, and the interfaces it implements. The parse
list, jde-java-parse-list, will be generated when a user opens a source
file and hence will always be able to JDE tools, such as Jdok. A function
will be available to regenerate the parse list at any time. Perhaps this
will be of help to you. I plan to release it with the next beta release.
- Paul
At 10:20 PM 4/26/00 +0200, you wrote:
>Hello All,
>
>Attached is the first beta version of jdok 1.10 (not yet available at
>http://www.dponce.com/).
>
>Summary of changes since 1.9:
>
>;; New improved `jdok-get-declaration' function. It delegates to a new
>;; light Java source scanner `jdok-get-normalized-source' which read the
>;; current buffer and return normalized Java source code (extra Java
>;; whitespace characters and comments are removed).
>
>So now jdok can work when there are embedded comment in class, interface or
>method declarations :-)
>
>This version directly scan the current buffer using the forward-char,
>backward-char, following-char, eobp and looking-at builtins. I hope it will
>continue to work with XEmacs. It works well for me with NT Emacs 20.6.1 and
>Solaris Emacs 20.6.1.
>
>Any feedback will be welcome.
>
>Sincerely,
>David
>