void () { IElementType tokenType; while ((tokenType = myBuilder.getTokenType()) != null) { if (tokenType == XML_ATTLIST_DECL_START) { parseAttlistDecl(); } else if (tokenType == XML_ELEMENT_DECL_START) { parseElementDecl(); } else if (tokenType == XML_ENTITY_DECL_START) { parseEntityDecl(); } else if (tokenType == XML_NOTATION_DECL_START) { parseNotationDecl(); } else if (tokenType == XML_ENTITY_REF_TOKEN) { parseEntityRef(); } else if (parseProcessingInstruction()) { } else if (tokenType == XML_START_TAG_START) { parseTag(false); } else if (isCommentToken(tokenType)) { parseComment(); } else if (parseConditionalSection()) { } else { addToken(); } } }