def __general(self):
while <NUM_LIT:1>:                            <EOL><INDENT>try:<EOL><INDENT>tok = self.__peek()         <EOL><DEDENT>except DXParserNoTokens:<EOL><INDENT>if self.currentobject and self.currentobject not in self.objects:<EOL><INDENT>self.objects.append(self.currentobject)<EOL><DEDENT>return                      <EOL><DEDENT>if tok.iscode('<STR_LIT>'):<EOL><INDENT>self.set_parser('<STR_LIT>')  <EOL><DEDENT>elif tok.iscode('<STR_LIT>') and tok.equals('<STR_LIT:object>'):<EOL><INDENT>self.set_parser('<STR_LIT:object>')   <EOL><DEDENT>elif self.__parser is self.__general:<EOL><INDENT>raise DXParseError('<STR_LIT>'+str(tok))<EOL><DEDENT>self.apply_parser()<EOL><DEDENT>
Level-0 parser and main loop.

        Look for a token that matches a level-1 parser and hand over control.