class documentation
class DocutilsNodeVisitor(visitor.Visitor[
Known subclasses: pydoctor.test.test_visitor.GenericDump
, pydoctor.test.test_visitor.MainVisitor
Undocumented
Class Method | get |
Undocumented |
Method | unknown |
Called when entering unknown object types. |
Inherited from Visitor
:
Exception |
|
Do not visit any children of the current node. The current node's siblings and depart_... method are not affected. |
Exception |
|
Do not call the current node's depart_... method. The current node's children and siblings are not affected. |
Exception |
|
Do not visit the current node's children, and do not call the current node's depart_... method. |
Exception |
|
Do not visit any more siblings (to the right) of the current node. The current node's children and its depart_... method are not affected. |
Method | __init__ |
Undocumented |
Method | depart |
Extend the base depart with extensions. |
Method | visit |
Extend the base visit with extensions. |
Method | walk |
Traverse a tree of objects, calling the visit() method of visitor when entering each node. (The walkabout() method is similar, except it also calls the depart() method before exiting each objects.) |
Method | walkabout |
Perform a tree traversal similarly to walk() (which see), except also call the depart() method before exiting each node. |
Instance Variable | extensions |
Undocumented |
Exception | _ |
Base class for Visitor -related tree pruning exceptions. |
Inherited from _BaseVisitor
(via Visitor
):
Method | unknown |
Called before exiting unknown object types. |
overrides
pydoctor.visitor.Visitor.get_children
Undocumented
Parameters | |
ob:nodes.Node | Undocumented |
Returns | |
Iterable[ | Undocumented |
overridden in
pydoctor.test.test_visitor.GenericDump
Called when entering unknown object types.
Raise an exception unless overridden.
Parameters | |
ob:nodes.Node | Undocumented |