if (ctx.FUNCTION() == null) { pseudoPage = rf.createPseudoPage(first, null); if (pseudoPage == null || pseudoPage.getDeclaration() == null) { log.error("invalid pseudo declaration: " + first); pseudoPage = rf.createPseudoPage(visitSelector(ctx.selector()), first); } else { String value = ""; throw new UnsupportedOperationException("unknown state"); pseudoPage = rf.createPseudoPage(value, first);
pseudoPage = rf.createPseudoPage(extractText(i), null); pseudoPage = rf.createPseudoPage(extractText(i), extractText(f)); pseudoPage = rf.createPseudoPage(exp, extractText(f)); pseudoPage = rf.createPseudoPage(exp, extractText(f));
pseudo = rf.createPseudoElement(name); } else if (ctx.parent instanceof CSSParser.PageContext) { pseudo = rf.createPseudoPage(name); } else { pseudo = rf.createPseudoClass(name);