Package docutils :: Package parsers :: Package rst :: Module tableparser :: Class TableParser
[show private | hide private]
[frames | no frames]

Class TableParser

Known Subclasses:
GridTableParser, SimpleTableParser

Abstract superclass for the common parts of the syntax-specific parsers.
Method Summary
  find_head_body_sep(self)
Look for a head/body row separator line; store the line index.
  parse(self, block)
Analyze the text block and return a table data structure.

Class Variable Summary
NoneType head_body_separator_pat = None                                                                  

Method Details

find_head_body_sep(self)

Look for a head/body row separator line; store the line index.

parse(self, block)

Analyze the text block and return a table data structure.

Given a plaintext-graphic table in block (list of lines of text; no whitespace padding), parse the table, construct and return the data necessary to construct a CALS table or equivalent.

Raise TableMarkupError if there is any problem with the markup.


Class Variable Details

head_body_separator_pat

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.0 on Tue Jul 22 05:31:10 2003 http://epydoc.sf.net