class documentation
class SimpleListChecker(nodes.GenericNodeVisitor): (source)
Known subclasses: docutils.writers.html4css1.SimpleListChecker
Constructor: SimpleListChecker(document)
Raise nodes.NodeFound
if non-simple list item is encountered.
Here "simple" means a list item containing nothing other than a single paragraph, a simple list, or a paragraph followed by a simple list.
This version also checks for simple field lists and docinfo.
Method | default |
Override for generic, uniform traversals. |
Method | ignore |
Undocumented |
Method | pass |
Undocumented |
Method | visit |
Undocumented |
Inherited from GenericNodeVisitor
:
Method | default |
Override for generic, uniform traversals. |
Inherited from NodeVisitor
(via GenericNodeVisitor
):
Method | __init__ |
Undocumented |
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 |