The namespace doc currently contains no public methods.
* indicates required
Private Methods:
doc::parse_comment_text | ||||
called by parse_namespace
|
doc::parse_file |
Parse API documentation from a Tcl page API documentation is parsed as follows: Document is scanned until a @namespace directive is encountered. The remainder of the file is scanned for @private or @public directives. When one of these directives is encountered, the file is scanned up to a proc declaration and the text in between is parsed as documentation for a single procedure. The text between the initial @private or @public directive and the next directive is considered a general comment on the procedure Valid directives in a procedure doc include: - @author - @param (for hard parameters) - @see (should have the form namespace::procedure. A reference to an entire namespace should be namespace::. By convention the API for each namespace should be in a file of the same name, so that a link can be generated automatically). - @option (for switches such as -foo) - @return |
doc::parse_namespace
by simon |
||
called by parse_file, this procedure is given the body of text between two namespace markers in a tcl library file and parses out procedure source and comments
|
doc::parse_tcl_library |
takes the absolute path of the tcl library directory and parses through it
|
doc::set_proc_name_source_text_comment_text | ||
called by parse_comment_text
|
* indicates required