up vote 0 down vote favorite
share [fb] share [in]

Is there a place where I can get documentations/references of all classes and methods of programming languages, namely Ruby, PHP and Python?

It doesn't have to be XML, as long as it is parse-able and consistent. I'm hoping to find all core classes, methods (with parameters and type of return value) and properties. And if available a description of the method.

I need this for a project that I'm currently working on (a text editor with basic completion and type inference). I've already done this for for JavaScript (since the JS reference is relatively small, I created it myself.)

Going to ruby-doc.org I get the documentation as html but the method names/parameters/return value are not consistent at all. Same with PHP from PHP.net

Thanks,

link|improve this question
"all classes and methods of programming languages, ... Python"? All? As in All of the classes in the standard Python library? Or all of the classes in my specific project? – S.Lott Dec 7 '10 at 17:11
feedback

3 Answers

For Ruby take a look at the documentation for Rdoc::Page. You can create a custom template to use as a generation target. So if you have a standard format you are wanting to map all these to you could use that custom template to generate it. So you can just run RDoc against Ruby.

link|improve this answer
feedback

PHP = PHPDocumentor

link|improve this answer
feedback

If you mean PHP itself, you have phpdoc, it's all docbook XML.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.