Following #1292, this method will have become quite bloated, and may exceed a desired [cyclomatic complexity](https://en.wikipedia.org/wiki/Cyclomatic_complexity) limit. It could be broken down into helper methods, e.g. `parseSelector` and [`parseSelectorList`](https://developer.mozilla.org/en-US/docs/Web/CSS/Selector_list).