def __object(self):
self.__consume()                    <EOL>classid = self.__consume().text<EOL>word = self.__consume().text<EOL>if word != "<STR_LIT:class>":<EOL><INDENT>raise DXParseError("<STR_LIT>" % word)<EOL><DEDENT>if self.currentobject:<EOL><INDENT>self.objects.append(self.currentobject)<EOL><DEDENT>classtype = self.__consume().text<EOL>self.currentobject = DXInitObject(classtype=classtype,classid=classid)<EOL>self.use_parser(classtype)<EOL>
Level-1 parser for objects.

        pattern: 'object' id 'class' type ...

        id ::=   integer|string|'"'white space string'"'
        type ::= string