withSelector method

PseudoSelector withSelector(
  1. SelectorList selector
)

Returns a new PseudoSelector based on this, but with the selector replaced with selector.

Implementation

PseudoSelector withSelector(SelectorList selector) =>
    PseudoSelector(name, span,
        element: isElement, argument: argument, selector: selector);