class documentation
class TableParser(object): (source)
Known subclasses: docutils.parsers.rst.tableparser.GridTableParser
, docutils.parsers.rst.tableparser.SimpleTableParser
Abstract superclass for the common parts of the syntax-specific parsers.
Method | find |
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 |
Padding character for East Asian double-width text. |
Class Variable | head |
Matches the row separator between head rows and body rows. |
Instance Variable | head |
Undocumented |
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.
overridden in
docutils.parsers.rst.tableparser.GridTableParser
, docutils.parsers.rst.tableparser.SimpleTableParser
Matches the row separator between head rows and body rows.
overridden in
docutils.parsers.rst.tableparser.GridTableParser
, docutils.parsers.rst.tableparser.SimpleTableParser
Undocumented