class documentation
class TreeCopyVisitor(GenericNodeVisitor): (source)
Known subclasses: docutils.transforms.parts.ContentsFilter
Constructor: TreeCopyVisitor(document)
Make a complete copy of a tree or branch, including element attributes.
Method | __init__ |
Undocumented |
Method | default |
Restore the previous acting parent. |
Method | default |
Copy the current node, and make it the new acting parent. |
Method | get |
Undocumented |
Instance Variable | parent |
Undocumented |
Instance Variable | parent |
Undocumented |
Inherited from NodeVisitor
(via GenericNodeVisitor
):
Method | dispatch |
Call self."depart_ + node class name" with node as parameter. If the depart_... method does not exist, call self.unknown_departure. |
Method | dispatch |
Call self."visit_ + node class name" with node as parameter. If the visit_... method does not exist, call self.unknown_visit. |
Method | unknown |
Called before exiting unknown Node types. |
Method | unknown |
Called when entering unknown Node types. |
Class Variable | optional |
Tuple containing node class names (as strings). |
Instance Variable | document |
Undocumented |