|
Developer Documentation |
|||||||||
| prev file | next file | ||||||||||
| SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox get_usage.pro
| Routine Summary 6 routines |
function get_usage(filename, [method=string], [/verbose]) | |
Parses comment lines like this one to create a sensible usage statement. |
function get_usage_lines(filename, method_line, method=method) | |
function construct_usage_from_lines(lines, method_line, verbose=verbose) | |
function parse_tag_line(tag_line) | |
function parse_param_line(tag_line, key) | |
function strip_line_of_html(line) | |
| Routine Details |
| get_usage |
Parses comment lines like this one to create a sensible usage statement. Remember that more then one method can reside in a single .pro file, so the method keyword may be needed.
| Parameters | |
|
filename |
full path name to the .pro file whose comments are to be parsed |
| get_usage_lines |
function get_usage_lines(filename, method_line, method=method) |
| Parameters | |
|
filename |
. |
|
method_line |
. |
| Keywords | |
|
method |
. |
| construct_usage_from_lines |
function construct_usage_from_lines(lines, method_line, verbose=verbose) |
| Parameters | |
|
lines |
. |
|
method_line |
. |
| Keywords | |
|
verbose |
. |
| parse_tag_line |
function parse_tag_line(tag_line) |
| Parameters | |
|
tag_line |
. |
| parse_param_line |
| Parameters | |
|
tag_line |
. |
|
key |
. |
| strip_line_of_html |
function strip_line_of_html(line) |
| Parameters | |
|
line |
. |