262263264265266267268269270271272
parserListener.pseudoSelector(ps); sb.append(ps); hasPseudoElement = true; } else if ("not".equalsIgnoreCase(ident)) { //negation NegationSelector n = negation(selectorCount); simpleSelectorList.add(n); sb.append(ident); sb.append(n); } else { //pseudo-class
533534535536537538539540
throw new ParserException("Expected ')' at position " + pos); } sb.append(current); next(); return new NegationSelector(simpleSelector, new Context(content, sb.toString(), parenthesisPos, pos)); }