Module Expr Str Import alias Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Delete NameDel ClassDef bases body Expr Str FunctionDef arguments args NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareGtE NameLoad NameLoad body Return NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad If NameLoad body Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpSub NameLoad BinOpAdd NameLoad Num orelse Assign AttributeStore NameLoad attr BinOpSub BinOpAdd AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad Num Assert CompareEq SubscriptLoad NameLoad Slice NameLoad NameLoad Str Str If CompareEq SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num Str body Return BinOpAdd NameLoad Num If CompareIn SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num TupleLoad Str Str body Return Num Assign NameStore Call NameLoad NameLoad If CompareEq SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num Str body Return Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq SubscriptLoad NameLoad Index NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareLt NameLoad Num body Return NameLoad If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Str While CompareLt NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return BinOpAdd NameLoad Num If CompareIn NameLoad Str body Assign NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Return Num Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareIn NameLoad Str body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpAdd NameLoad Num orelse If CompareEq NameLoad Str body If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num NameLoad orelse If CompareIn NameLoad TupleLoad Str Str Str Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Index NameLoad If CompareLt NameLoad Num body Return NameLoad Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num NameLoad If CompareLt NameLoad Num body Return NameLoad If CompareIn NameLoad TupleLoad Str Str Str Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Num orelse If CompareIn NameLoad TupleLoad Str Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Num orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num NameLoad If UnaryOpNot NameLoad body Return Num If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num NameLoad Return Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore AttributeLoad NameLoad attr If CompareNotEq SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Num If UnaryOpNot NameLoad body Return Num If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num NameLoad Return Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad While CompareLt NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num If CompareEq NameLoad Str body Return Num If CompareNotEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If CompareEq BinOpAdd NameLoad Num NameLoad body Return Num If CompareGt BinOpAdd NameLoad Num NameLoad body Return Num If CompareEq SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num If CompareLt NameLoad Num body Return NameLoad Continue Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num NameLoad If CompareEq NameLoad Num body Return Num If CompareNotIn NameLoad TupleLoad Str Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad BinOpAdd Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If CompareLt NameLoad Num body Return NameLoad orelse If CompareEq NameLoad Str body If CompareEq BinOpAdd NameLoad Num NameLoad body Return Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num NameLoad If CompareLt NameLoad Num body Return NameLoad If CompareEq SubscriptLoad NameLoad Index NameLoad Str body Assign NameStore BinOpAdd NameLoad Num orelse If CompareEq NameLoad Str body Assign NameStore BinOpAdd NameLoad Num While BoolOpAnd CompareLt NameLoad NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr body Assign NameStore BinOpAdd NameLoad Num If CompareLt NameLoad NameLoad body If CompareEq SubscriptLoad NameLoad Index NameLoad Str body Return NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str orelse Return Num orelse If Call AttributeLoad NameLoad attr body Assign NameStore BinOpAdd NameLoad Num orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq NameLoad Num body Return Num Assign NameStore AttributeLoad NameLoad attr If CompareIn Str SubscriptLoad NameLoad Slice NameLoad body Return BinOpAdd Call AttributeLoad NameLoad attr Str NameLoad Num Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num If CompareEq NameLoad Str body Return Num If CompareEq NameLoad Str body Return BinOpAdd NameLoad Num While Num body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareLt NameLoad Num body Return NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num If CompareEq NameLoad Str body Return Num If CompareEq NameLoad Str body If CompareIn Str SubscriptLoad NameLoad Slice NameLoad body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Str NameLoad Num orelse Return Num While Call AttributeLoad SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num attr body Assign NameStore BinOpAdd NameLoad Num If UnaryOpNot SubscriptLoad NameLoad Slice NameLoad body Return Num orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num If UnaryOpNot NameLoad body Return Num If CompareIn NameLoad Str body Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse Return Num Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num If UnaryOpNot NameLoad body Return Num If CompareEq NameLoad Str body If CompareEq SubscriptLoad NameLoad Slice NameLoad Str body Return Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num NameLoad If CompareLt NameLoad Num body Return NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num If UnaryOpNot NameLoad body Return Num If CompareEq NameLoad Str body Return BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareLt NameLoad Num body Return NameLoad Assign NameStore AttributeLoad NameLoad attr While Num body Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num If UnaryOpNot NameLoad body Return Num If CompareEq NameLoad Str body Return BinOpAdd NameLoad Num If CompareIn NameLoad Str body Assign NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Return Num Assign NameStore Call AttributeLoad NameLoad attr orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareLt NameLoad Num body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num Str body Assign NameStore BinOpAdd NameLoad Num While Num body Assign NameStore SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num If UnaryOpNot NameLoad body Return Num If Call AttributeLoad NameLoad attr body Assign NameStore BinOpAdd NameLoad Num orelse Break orelse Assign NameStore NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareLt NameLoad Num body Return NameLoad While Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad BinOpAdd NameLoad Num If UnaryOpNot NameLoad body Return Num If CompareIn NameLoad Str body Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse Return Num orelse If CompareEq NameLoad Str body Return BinOpAdd NameLoad Num orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareLt NameLoad Num body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad NameLoad body Return TupleLoad NameLoad Num Assign NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq BinOpAdd NameLoad Call NameLoad NameLoad NameLoad body Return TupleLoad NameLoad Num Return TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list decorator_list
N/A N/A Shared support for scanning document type declarations in HTML and XHTML.

This module is used as a foundation for the HTMLParser and sgmllib
modules (indirectly, for htmllib as well).  It has no documented
public API and should not be used directly.

 N/A re N/A _declname_match N/A N/A N/A re compile [a-zA-Z][-_.a-zA-Z0-9]*\s* match N/A _declstringlit_match N/A N/A N/A re compile (\'[^\']*\'|"[^"]*")\s* match N/A _commentclose N/A N/A re compile --\s*> N/A _markedsectionclose N/A N/A re compile ]\s*]\s*> N/A _msmarkedsectionclose N/A N/A re compile ]\s*> N/A re ParserBase N/A N/A N/A Parser base class which provides some common support methods used
    by the SGML/HTML and XHTML parsers. __init__ N/A N/A self N/A N/A N/A N/A N/A self __class__ ParserBase N/A N/A N/A RuntimeError markupbase.ParserBase must be subclassed N/A error N/A N/A self message N/A N/A N/A N/A NotImplementedError subclasses of ParserBase must override error() N/A reset N/A N/A self N/A N/A N/A N/A self lineno 1 N/A N/A self offset 0 N/A getpos N/A N/A self N/A N/A N/A Return current line number and offset. N/A N/A N/A self lineno N/A self offset N/A updatepos N/A N/A self i j N/A N/A N/A N/A i j N/A N/A j N/A rawdata N/A self rawdata N/A nlines N/A N/A rawdata count i j N/A nlines N/A N/A N/A self lineno N/A N/A self lineno nlines N/A pos N/A N/A rawdata rindex i j N/A N/A self offset N/A j N/A pos 1 N/A N/A N/A self offset N/A N/A N/A self offset j i N/A j N/A N/A _decl_otherchars parse_declaration N/A N/A self i N/A N/A N/A rawdata N/A self rawdata N/A j N/A i 2 N/A N/A N/A rawdata N/A i j <! unexpected call to parse_declaration N/A N/A N/A rawdata N/A j N/A j 1 > N/A N/A N/A j 1 N/A N/A N/A rawdata N/A j N/A j 1 N/A - N/A N/A -1 N/A n N/A len rawdata N/A N/A N/A rawdata N/A j N/A j 2 -- N/A N/A N/A N/A self parse_comment i N/A N/A N/A N/A rawdata N/A j [ N/A N/A N/A N/A self parse_marked_section i N/A N/A N/A decltype j N/A N/A self _scan_name j i N/A N/A j 0 N/A N/A j N/A N/A decltype doctype N/A N/A N/A self _decl_otherchars N/A N/A j n N/A N/A c N/A rawdata N/A j N/A N/A c > N/A N/A data N/A rawdata N/A N/A i 2 j N/A N/A decltype doctype N/A N/A N/A N/A self handle_decl data N/A N/A N/A N/A self unknown_decl data N/A N/A j 1 N/A N/A c "' N/A N/A m N/A _declstringlit_match rawdata j N/A N/A m N/A N/A -1 N/A j N/A N/A m end N/A N/A N/A c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ N/A N/A N/A name j N/A N/A self _scan_name j i N/A N/A N/A c N/A self _decl_otherchars N/A N/A j N/A j 1 N/A N/A N/A c [ N/A N/A N/A decltype doctype N/A N/A j N/A N/A self _parse_doctype_subset N/A j 1 i N/A N/A N/A decltype N/A attlist linktype link element N/A N/A N/A N/A self error N/A unsupported '[' char in %s declaration decltype N/A N/A N/A N/A self error unexpected '[' char in declaration N/A N/A N/A N/A self error N/A unexpected %r char in declaration N/A rawdata N/A j N/A N/A j 0 N/A N/A j N/A -1 N/A parse_marked_section N/A N/A self i report N/A 1 N/A N/A rawdata N/A self rawdata N/A N/A N/A rawdata N/A i N/A i 3 <![ unexpected call to parse_marked_section() N/A N/A sectName j N/A N/A self _scan_name N/A i 3 i N/A N/A j 0 N/A N/A j N/A N/A sectName N/A temp cdata ignore include rcdata N/A N/A match N/A N/A _markedsectionclose search rawdata N/A i 3 N/A N/A N/A sectName N/A if else endif N/A N/A match N/A N/A _msmarkedsectionclose search rawdata N/A i 3 N/A N/A N/A N/A self error N/A unknown status keyword %r in marked section N/A rawdata N/A N/A i 3 j N/A N/A match N/A N/A -1 N/A report N/A N/A j N/A N/A match start 0 N/A N/A N/A self unknown_decl N/A rawdata N/A N/A i 3 j N/A N/A N/A match end 0 N/A parse_comment N/A N/A self i report N/A 1 N/A N/A rawdata N/A self rawdata N/A N/A N/A rawdata N/A i N/A i 4 <!-- N/A N/A N/A N/A self error unexpected call to parse_comment() N/A match N/A N/A _commentclose search rawdata N/A i 4 N/A N/A match N/A N/A -1 N/A report N/A N/A j N/A N/A match start 0 N/A N/A N/A self handle_comment N/A rawdata N/A N/A i 4 j N/A N/A N/A match end 0 N/A _parse_doctype_subset N/A N/A self i declstartpos N/A N/A N/A rawdata N/A self rawdata N/A n N/A len rawdata N/A j i N/A N/A j n N/A N/A c N/A rawdata N/A j N/A N/A c < N/A N/A s N/A rawdata N/A j N/A j 2 N/A N/A s < N/A N/A -1 N/A N/A s <! N/A N/A N/A N/A self updatepos declstartpos N/A j 1 N/A N/A N/A self error N/A unexpected char in internal subset (in %r) s N/A N/A N/A j 2 n N/A N/A -1 N/A N/A N/A j 4 n N/A N/A -1 N/A N/A N/A rawdata N/A j N/A j 4 <!-- N/A N/A j N/A N/A self parse_comment j report 0 N/A N/A j 0 N/A N/A j N/A N/A N/A name j N/A N/A self _scan_name N/A j 2 declstartpos N/A N/A j -1 N/A N/A -1 N/A N/A name N/A attlist element entity notation N/A N/A N/A N/A self updatepos declstartpos N/A j 2 N/A N/A N/A self error N/A unknown declaration %r in internal subset name N/A meth N/A getattr self N/A _parse_doctype_ name N/A j N/A meth j declstartpos N/A N/A j 0 N/A N/A j N/A N/A N/A c % N/A N/A N/A N/A j 1 n N/A N/A -1 N/A N/A s j N/A N/A self _scan_name N/A j 1 declstartpos N/A N/A j 0 N/A N/A j N/A N/A N/A rawdata N/A j ; N/A N/A j N/A j 1 N/A N/A N/A c ] N/A N/A j N/A j 1 N/A N/A N/A j n N/A N/A N/A rawdata N/A j isspace N/A N/A j N/A j 1 N/A N/A j n N/A N/A N/A N/A rawdata N/A j > N/A N/A j N/A N/A N/A self updatepos declstartpos j N/A N/A N/A self error unexpected char after internal subset N/A N/A -1 N/A N/A N/A N/A c isspace N/A N/A j N/A j 1 N/A N/A N/A N/A self updatepos declstartpos j N/A N/A N/A self error N/A unexpected char %r in internal subset c N/A -1 N/A _parse_doctype_element N/A N/A self i declstartpos N/A N/A N/A N/A name j N/A N/A self _scan_name i declstartpos N/A N/A j -1 N/A N/A -1 N/A rawdata N/A self rawdata N/A N/A > N/A rawdata N/A j N/A N/A N/A N/A N/A rawdata find > j 1 N/A -1 N/A _parse_doctype_attlist N/A N/A self i declstartpos N/A N/A N/A rawdata N/A self rawdata N/A N/A name j N/A N/A self _scan_name i declstartpos N/A c N/A rawdata N/A j N/A j 1 N/A N/A c N/A N/A -1 N/A N/A c > N/A N/A N/A j 1 N/A 1 N/A N/A N/A name j N/A N/A self _scan_name j declstartpos N/A N/A j 0 N/A N/A j N/A c N/A rawdata N/A j N/A j 1 N/A N/A c N/A N/A -1 N/A N/A c ( N/A N/A N/A ) N/A rawdata N/A j N/A N/A j N/A N/A N/A rawdata find ) j 1 N/A N/A -1 N/A N/A N/A N/A rawdata N/A j N/A j 1 isspace N/A N/A j N/A j 1 N/A N/A N/A rawdata N/A j N/A N/A -1 N/A N/A N/A name j N/A N/A self _scan_name j declstartpos N/A c N/A rawdata N/A j N/A j 1 N/A N/A c N/A N/A -1 N/A N/A c '" N/A N/A m N/A _declstringlit_match rawdata j N/A m N/A N/A j N/A N/A m end N/A N/A -1 N/A c N/A rawdata N/A j N/A j 1 N/A N/A c N/A N/A -1 N/A N/A c # N/A N/A N/A N/A rawdata N/A j # N/A N/A -1 N/A N/A name j N/A N/A self _scan_name N/A j 1 declstartpos N/A N/A j 0 N/A N/A j N/A c N/A rawdata N/A j N/A j 1 N/A N/A c N/A N/A -1 N/A N/A c > N/A N/A N/A j 1 N/A _parse_doctype_notation N/A N/A self i declstartpos N/A N/A N/A N/A name j N/A N/A self _scan_name i declstartpos N/A N/A j 0 N/A N/A j N/A rawdata N/A self rawdata N/A 1 N/A N/A c N/A rawdata N/A j N/A j 1 N/A N/A c N/A N/A -1 N/A N/A c > N/A N/A N/A j 1 N/A N/A c '" N/A N/A m N/A _declstringlit_match rawdata j N/A N/A m N/A N/A -1 N/A j N/A N/A m end N/A N/A N/A name j N/A N/A self _scan_name j declstartpos N/A N/A j 0 N/A N/A j N/A _parse_doctype_entity N/A N/A self i declstartpos N/A N/A N/A rawdata N/A self rawdata N/A N/A N/A rawdata N/A i N/A i 1 % N/A N/A j N/A i 1 N/A 1 N/A N/A c N/A rawdata N/A j N/A j 1 N/A N/A c N/A N/A -1 N/A N/A N/A c isspace N/A N/A j N/A j 1 N/A N/A N/A N/A j i N/A N/A name j N/A N/A self _scan_name j declstartpos N/A N/A j 0 N/A N/A j N/A 1 N/A N/A c N/A N/A self rawdata N/A j N/A j 1 N/A N/A c N/A N/A -1 N/A N/A c '" N/A N/A m N/A _declstringlit_match rawdata j N/A m N/A N/A j N/A N/A m end N/A N/A -1 N/A N/A N/A c > N/A N/A N/A j 1 N/A N/A N/A name j N/A N/A self _scan_name j declstartpos N/A N/A j 0 N/A N/A j N/A _scan_name N/A N/A self i declstartpos N/A N/A N/A rawdata N/A self rawdata N/A n N/A len rawdata N/A N/A i n N/A N/A N/A None -1 N/A m N/A _declname_match rawdata i N/A m N/A N/A s N/A N/A m group N/A name N/A N/A s strip N/A N/A N/A i N/A len s n N/A N/A N/A None -1 N/A N/A N/A N/A name lower N/A N/A m end N/A N/A N/A N/A self updatepos declstartpos i N/A N/A N/A self error N/A expected name token at %r N/A rawdata N/A declstartpos N/A declstartpos 20 N/A unknown_decl N/A N/A self data N/A N/A N/A N/A N/A