void () { if (myBuilder.getTokenType() != XML_ATTLIST_DECL_START) { return; } PsiBuilder.Marker decl = myBuilder.mark(); addToken(); if (!parseName()) { final IElementType tokenType = myBuilder.getTokenType(); if (tokenType == XML_LEFT_PAREN) { parseGroup(); } else { myBuilder.error(XmlPsiBundle.message("dtd.parser.message.name.expected")); decl.done(XML_ATTLIST_DECL); return; } } parseAttlistContent(); skipTillEndOfBlock(); decl.done(XML_ATTLIST_DECL); }