boolean (PsiBuilder builder) { final PsiBuilder.Marker marker = builder.mark(); if (!parseNameTest(builder)) { if (!parseNodeType(builder)) { marker.drop(); return false; } } marker.done(XPathElementTypes.NODE_TEST); return true; }