class TableParser(object): (source)
Known subclasses: docutils.parsers.rst.tableparser.GridTableParser
, docutils.parsers.rst.tableparser.SimpleTableParser
Method | find_head_body_sep |
Look for a head/body row separator line; store the line index. |
Method | parse |
Analyze the text block and return a table data structure. |
Class Variable | double_width_pad_char |
Padding character for East Asian double-width text. |
Class Variable | head_body_separator_pat |
Matches the row separator between head rows and body rows. |
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.
docutils.parsers.rst.tableparser.GridTableParser
, docutils.parsers.rst.tableparser.SimpleTableParser