Package epydoc :: Package markup :: Module restructuredtext :: Class _SplitFieldsTranslator
[show private | hide private]
[frames | no frames]

Class _SplitFieldsTranslator

NodeVisitor --+
              |
             _SplitFieldsTranslator


A docutils translator that removes all fields from a document, and collects them into the instance variable fields
Method Summary
  __init__(self, document, errors)
  _add_field(self, tagname, arg, fbody)
  handle_consolidated_field(self, body, tagname)
Attempt to handle a consolidated section.
  unknown_visit(self, node)
Ignore all unknown nodes
  visit_document(self, node)
  visit_field(self, node)
  visit_field_list(self, node)
Inherited from NodeVisitor: unknown_departure

Instance Variable Summary
list of Field fields: The fields of the most recently walked document.

Method Details

handle_consolidated_field(self, body, tagname)

Attempt to handle a consolidated section.

unknown_visit(self, node)

Ignore all unknown nodes
Overrides:
docutils.nodes.NodeVisitor.unknown_visit

Instance Variable Details

fields

The fields of the most recently walked document.
Type:
list of Field

Generated by Epydoc 2.1 on Sat Mar 20 17:46:13 2004 http://epydoc.sf.net