Parser base class which provides some common support methods used by
the SGML/HTML and XHTML parsers.
|
|
|
|
|
|
|
|
|
|
|
getpos(self)
Return current line number and offset. |
|
|
|
|
|
|
|
| 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) |
|
|
|
|
|