Module markupbase :: Class ParserBase
[show private | hide private]
[frames | no frames]

Class ParserBase

Known Subclasses:
SGMLParser

Parser base class which provides some common support methods used by the SGML/HTML and XHTML parsers.
Method Summary
  __init__(self)
  error(self, message)
  getpos(self)
Return current line number and offset.
  parse_comment(self, i, report)
  parse_declaration(self, i)
  parse_marked_section(self, i, report)
  reset(self)
  unknown_decl(self, data)
  updatepos(self, i, j)
  _parse_doctype_attlist(self, i, declstartpos)
  _parse_doctype_element(self, i, declstartpos)
  _parse_doctype_entity(self, i, declstartpos)
  _parse_doctype_notation(self, i, declstartpos)
  _parse_doctype_subset(self, i, declstartpos)
  _scan_name(self, i, declstartpos)

Class Variable Summary
str _decl_otherchars = ''

Method Details

getpos(self)

Return current line number and offset.

Class Variable Details

_decl_otherchars

Type:
str
Value:
''                                                                     

Generated by Epydoc 2.1 on Tue Feb 7 21:43:58 2006 http://epydoc.sf.net