Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package epydoc :: Module objdoc :: Class FuncDoc |
|
ObjDoc
--+
|
FuncDoc
ObjDoc
), and the following
function-specific pieces of documentation:
None
.
None
.
Method Summary | |
---|---|
__init__(self,
uid,
verbosity)
| |
__repr__(self)
| |
list of Var
|
Return the keyword parameters for the function/method documented by this FuncDoc . |
Process a field from this object's docstring. | |
Accessors | |
Var or None
|
Return the keyword parameter for the function/method documented by this FuncDoc , or None if it has no keyword
parameter. |
boolean
|
Return true if the method documented by this FuncDoc overrides
another method, and its signature matches the signature of the overridden
method. |
Link or None
|
Return the method overridden by the method documented by this FuncDoc ; or None if the method documented by
this FuncDoc does not override any method, or if this
FuncDoc documents a function. |
list of Var
|
Return a (flat) list of all parameters for the function/method documented by this FuncDoc . |
list of Var
|
Return the positional parameters for the function/method documented by this FuncDoc . |
list of Raise
|
Return a list of exceptions that may be raised by the function/method documented by this FuncDoc . |
Var or None
|
Return the return value for the function/method documented by this FuncDoc , or None if it has no return value. |
Var or None
|
Return the vararg parameter for the function/method documented by this FuncDoc , or None if it has no vararg
parameter. |
Inheritance | |
Find the method that this method overrides. | |
Signature Parsing | |
None
|
Construct the signature for a builtin function or method from its docstring. |
_init_signature(self,
func)
| |
_params_to_vars(self,
params,
defaults)
| |
boolean
|
Return true if the signature of childfunc matches the signature
of basefunc well enough that we should inherit its
documentation. |
Inherited from ObjDoc | |
list of (string, elt)
|
Divide a set of elements into groups. |
boolean
|
Return true if the object documented by this ObjDoc defines any
groups. |
markup.ParsedDocstring
|
Return a description of the object documented by this ObjDoc . |
list of markup.ParsedDocstring
|
Return a list of the values that are specified for the given field in the docstring of the object documented by this ObjDoc . |
list of DocField
|
Return a list of the fields that are given values in the docstring of the object documented by this ObjDoc . |
list of string
|
Return a list of the names of the groups that are defined for the object documented by this ObjDoc . |
boolean
|
Return true if the object documented by this ObjDoc has a
docstring. |
list of string
|
Return a list specifying the sort order that should be used for the object's children. |
markup.ParsedDocstring
|
Return a summary of the description of the object documented by this ObjDoc . |
UID
|
Return the UID of the object documented by this ObjDoc . |
None
|
Print any errors that were encountered while constructing this ObjDoc to stream . |
Return a copy of the list items , sorted first by
sortorder , and then by name. |
Instance Variable Summary | |
---|---|
Var |
_kwarg_param : This function's keyword parameter, or None if it has
none. |
list of Var |
_params : A list of this function's normal parameters. |
list of Raise |
_raises : The exceptions that may be raised by this function. |
Var |
_return : This function's return value. |
Var |
_vararg_param : This function's vararg parameter, or None if it has
none. |
Inherited from ObjDoc | |
markup.ParsedDocstring |
_descr : The object's description, encoded as epytext. |
_field_warnings : Warnings generated when processing the object's docstring's
fields. | |
dictionary from DocField to list of
markup.ParsedDocstring |
_fields : Documentation fields that were extracted from the object's
docstring. |
_misc_warnings : Warnings that are not related to the object's docstring. | |
_parse_errors : Errors generated when parsing the object's docstring. | |
_parse_warnings : Warnings generated when parsing the object's docstring. | |
UID |
_uid : The object's unique identifier |
Class Variable Summary | |
---|---|
SRE_Pattern |
_SIGNATURE_RE : A regular expression that is used to check whether a builtin function
or method has a signature in its docstring. |
Error Reporting | |
list |
_param_mismatches : A dictionary whose keys are pairs (uid, base_uid), where uid is a
method whose parameters do not match the parameters of its base class
base_uid. |
Inherited from ObjDoc | |
List of DocField |
STANDARD_FIELDS : The list of standard docstring fields that epydoc accepts. |
Method Details |
---|
find_override(self, bases)Find the method that this method overrides. |
keywords(self)
|
kwarg(self)
|
matches_override(self)
|
overrides(self)
|
parameter_list(self)
|
parameters(self)
|
raises(self)
|
returns(self)
|
vararg(self)
|
_init_builtin_signature(self, func)Construct the signature for a builtin function or method from its docstring. If the docstring uses the standard convention of including a signature in the first line of the docstring (and formats that signature according to standard conventions), then it will be used to extract a signature. Otherwise, the signature will be set to a single varargs variable named"..." .
|
_process_field(self, tag, arg, descr, warnings)Process a field from this object's docstring.ObjDoc._process_field be overridden by child classes of
ObjDoc , and called as the default case.
|
_signature_match(self, basespec, childspec)
|
Instance Variable Details |
---|
_kwarg_paramThis function's keyword parameter, orNone if it has
none.
|
_paramsA list of this function's normal parameters.
|
_raisesThe exceptions that may be raised by this function.
|
_returnThis function's return value.
|
_vararg_paramThis function's vararg parameter, orNone if it has
none.
|
Class Variable Details |
---|
_param_mismatchesA dictionary whose keys are pairs (uid, base_uid), where uid is a method whose parameters do not match the parameters of its base class base_uid.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:08:08 2003 | http://epydoc.sf.net |