boolean () { if (myBuilder.getTokenType() != XML_CONDITIONAL_SECTION_START) { return false; } PsiBuilder.Marker conditionalSection = myBuilder.mark(); addToken(); IElementType tokenType = myBuilder.getTokenType(); if (tokenType != XML_CONDITIONAL_IGNORE && tokenType != XML_CONDITIONAL_INCLUDE && tokenType != XML_ENTITY_REF_TOKEN) { conditionalSection.done(XML_CONDITIONAL_SECTION); return true; } if (tokenType == XML_ENTITY_REF_TOKEN) { parseEntityRef(); } else { addToken(); } if (myBuilder.getTokenType() != XML_MARKUP_START) { conditionalSection.done(XML_CONDITIONAL_SECTION); return true; } parseMarkupContent(); if (myBuilder.getTokenType() != XML_CONDITIONAL_SECTION_END) { conditionalSection.done(XML_CONDITIONAL_SECTION); return true; } addToken(); conditionalSection.done(XML_CONDITIONAL_SECTION); return true; }