;ò ÏM|i|_|i|id}|d|!}||_|Sntdt|ƒ|it|d ƒf‚dS(Niiÿÿÿÿis8Only found %d lines, expecting %d (starting with %s ...)i(sselfsindexscountslens positionssendposs lookaheadspossss_find_end_positionss_tag_lines_tagtablesinfilesreadssizehintsdatasNones ReaderErrorsrepr(sselfs positionssssendposs lookaheadsdata((sMartel/RecordReader.pysnext“s:         cCs|i|i|ifSdS(N(sselfsinfiles lookaheadspos(sself((sMartel/RecordReader.pys remainderÄs(s__name__s __module__s__doc__sSIZEHINTs__init__snexts remainder(((sMartel/RecordReader.pys CountLines…s  1sNothingcBs/tZdZedd„Zd„Zd„ZRS(s Reads nothingscCsti||ƒ||_dS(N(s RecordReaders__init__sselfsinfiles lookahead(sselfsinfilessizehints lookahead((sMartel/RecordReader.pys__init__ÉscCstSdS(N(sNone(sself((sMartel/RecordReader.pysnextÍscCs|i|ifSdS(N(sselfsinfiles lookahead(sself((sMartel/RecordReader.pys remainderÐs(s__name__s __module__s__doc__sSIZEHINTs__init__snexts remainder(((sMartel/RecordReader.pysNothingÇs  s EverythingcBs/tZdZedd„Zd„Zd„ZRS(sReads everythingscCs&ti||ƒ||_d|_dS(Ni(s RecordReaders__init__sselfsinfiles lookaheadsfound(sselfsinfilessizehints lookahead((sMartel/RecordReader.pys__init__Õs cCsB|iotSn|i|iiƒ}d|_d|_|SdS(Nsi(sselfsfoundsNones lookaheadsinfilesreadss(sselfss((sMartel/RecordReader.pysnextÚs    cCs|i|ifSdS(N(sselfsinfiles lookahead(sself((sMartel/RecordReader.pys remainderâs(s__name__s __module__s__doc__sSIZEHINTs__init__snexts remainder(((sMartel/RecordReader.pys EverythingÓs  (sstringsmxs TextToolssTTsSIZEHINTs TypeErrors ReaderErrors RecordReaders!_startswith_tagtable_rest_of_lines_startswith_tagtable_newlines_find_begin_positionss StartsWiths_endswith_tagtable_newlines_endswith_tagtable_rest_of_lines_find_end_positionssEndsWithsUntilsNonesAllInSetsinvsetsIssSkipsEOFsHeresMatchOks_tag_lines_tagtables CountLinessNothings Everything(s StartsWiths ReaderErrorsSIZEHINTsstrings_find_end_positionssTTs RecordReaders EverythingsEndsWiths_endswith_tagtable_newlines CountLiness_startswith_tagtable_newlines_tag_lines_tagtablesNothings!_startswith_tagtable_rest_of_lines_find_begin_positionssUntils_endswith_tagtable_rest_of_line((sMartel/RecordReader.pys? s"     S   b “ B