extracting Javadocs using Python

R

Rajarshi

Hi, I work on a Java project and I was thinking out creating a hook in
the subversion repo for the project that would check whether a class
and it's associated methods were documented with Javadocs.

Since I have written Subversion hooks for other purposes in Python,
I'd like to try and do this task in Python as well. However, it seems
that I'd need a full fledged Java/Javadoc parser written in Python.

Does anybody know if something like this is available? Or would I need
to implement a parser from scratch?

Thanks,
 
W

Wildemar Wildenburger

Rajarshi said:
Does anybody know if something like this is available? Or would I need
to implement a parser from scratch?
Probably. But using pyparsing, you shouldn't have a lot of trouble with it.

You may want to take a look at epydoc, a python API-doc generator. I
seem to remember that in addition to using rST markup, it also provides
markup similar to Javadocs. Maybe you can get some "inspiration" from
the epydoc sources.

regards
/W
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top