CodeVocabulary
From VoCamp Wiki
Java
- javadoc - Peter
Python
- docutils / sphinx - Andrez
Perl
PHP
- php.net - Alex
- phpdocumentor - Alex
C
- gtk-doc - Dave
C++
Ruby
Javascript
Xquery
- xqdoc - Micah
Contents
CodeVocabulary Ontology[edit]
Usage:
- Find a function (name or description) in a language (in the code license)
- Find a class (name or description) in a language (in the code license)
- Description of method/class
CodeVocabulary Short Form Proposal[edit]
- hcodedoc - language - version - class - fn - description - member - fn - description
CodeVocabulary Long Form Proposal[edit]
- hcodedoc - language - version - environment - package - fn - sourcecode - class abstractclass interface - super - sub - fn - description - summary - example - function classfunction constructor destructor - fn - description - return - description - type - param optionalparam - fn - description - position - type - default - attr classattr - fn - description - type
Term Definitions[edit]
hcodedoc
The head element of this microformat.
language
A lowercase string describing the language. Try to use the sourceforge.net name.
version
A dot separated value for the version number of language. Comparison is done by ascii character from left to right grouped by dots with a missing parameter being lowest in comparision. 42A.2 < 42D.2 < 42D.2a < 42D.2a.0
class
A root node for a object oriented "class".
member
Anything that is part of a class. Usually a function or a attribute. Might be part of the class (static) or instance.
fn
The name. Most often the identifier for this item.
description
A long piece of text that describe the parent element. If you aren't going to use the detailed elements, put the function prototype here.
environment
A string describing the execution environment. Free-form. Like "android/0.9", "pdo pdo_mysql".
package
A string describing your
type
A string with the class name of the type. Usually used with an <a> element and an href="" to the returned class.
Things we didn't do[edit]
- functional languages
- accessors (public, private, protected)
- exceptions