(Function<Evaluator, Evaluator> func, String err)
| 434 | } |
| 435 | |
| 436 | private Evaluator parseNested(Function<Evaluator, Evaluator> func, String err) { |
| 437 | Validate.isTrue(tq.matchChomp('('), err); |
| 438 | Evaluator eval = parseSelectorGroup(); |
| 439 | Validate.isTrue(tq.matchChomp(')'), err); |
| 440 | return func.apply(eval); |
| 441 | } |
| 442 | |
| 443 | // pseudo selector :contains(text), containsOwn(text) |
| 444 | private Evaluator contains(boolean own) { |
no test coverage detected