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

_ClassType ParserBase

Known Subclasses:

Parser base class which provides some common support methods used by the SGML/HTML and XHTML parsers.

Instance Methods [hide private]
 
__init__(self)
 
error(self, message)
 
reset(self)
 
getpos(self)
Return current line number and offset.
 
updatepos(self, i, j)
 
parse_declaration(self, i)
 
parse_marked_section(self, i, report=1)
 
parse_comment(self, i, report=1)
 
_parse_doctype_subset(self, i, declstartpos)
 
_parse_doctype_element(self, i, declstartpos)
 
_parse_doctype_attlist(self, i, declstartpos)
 
_parse_doctype_notation(self, i, declstartpos)
 
_parse_doctype_entity(self, i, declstartpos)
 
_scan_name(self, i, declstartpos)
 
unknown_decl(self, data)
Class Variables [hide private]
  _decl_otherchars = ''