class TreeCopyVisitor(GenericNodeVisitor): (source)
Known subclasses: docutils.transforms.parts.ContentsFilter
Method | __init__ |
Undocumented |
Method | default_departure |
Restore the previous acting parent. |
Method | default_visit |
Copy the current node, and make it the new acting parent. |
Method | get_tree_copy |
Undocumented |
Instance Variable | parent |
Undocumented |
Instance Variable | parent_stack |
Undocumented |
Inherited from NodeVisitor
(via GenericNodeVisitor
):
Method | dispatch_departure |
Call self."depart_ + node class name" with node as parameter. If the depart_... method does not exist, call self.unknown_departure. |
Method | dispatch_visit |
Call self."visit_ + node class name" with node as parameter. If the visit_... method does not exist, call self.unknown_visit. |
Method | unknown_departure |
Called before exiting unknown Node types. |
Method | unknown_visit |
Called when entering unknown Node types. |
Class Variable | optional |
Tuple containing node class names (as strings). |
Instance Variable | document |
Undocumented |