class documentation

class SimpleListChecker(nodes.GenericNodeVisitor): (source)

Known subclasses: docutils.writers.html4css1.SimpleListChecker

View In Hierarchy

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​_visit Override for generic, uniform traversals.
Method ignore​_node Undocumented
Method pass​_node Undocumented
Method visit​_list​_item Undocumented

Inherited from GenericNodeVisitor:

Method default​_departure Override for generic, uniform traversals.

Inherited from NodeVisitor (via GenericNodeVisitor):

Method __init__ Undocumented
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
def default_visit(self, node): (source)
Override for generic, uniform traversals.
def ignore_node(self, node): (source)

Undocumented

def pass_node(self, node): (source)

Undocumented

def visit_list_item(self, node): (source)