class documentation
class Field: (source)
Constructors: Field.from_epydoc(field, source), Field(tag, arg, source, lineno, body)
Like pydoctor.epydoc.markup.Field, but without the gross accessor methods and with a formatted body.
Example:
@note: some other information
| Class Method | from |
Undocumented |
| Method | __init__ |
attrs generated method |
| Method | format |
Present this field's body as HTML. |
| Method | report |
Undocumented |
| Instance Variable | arg |
Field argument, i.e. :param <argument>: |
| Instance Variable | body |
Undocumented |
| Instance Variable | lineno |
Undocumented |
| Instance Variable | source |
Undocumented |
| Instance Variable | tag |
Field tag, i.e. :<tag>: |
Undocumented
def __init__(self, tag:
str, arg: str | None, source: model.Documentable, lineno: int, body: ParsedDocstring):
(source)
¶
attrs generated method
| Parameters | |
tag:str | Field tag, i.e. :<tag>: |
arg:str | None | Field argument, i.e. :param <argument>: |
source:model.Documentable | Undocumented |
lineno:int | Undocumented |
body:ParsedDocstring | Undocumented |