processCompoundSelector method

Selector? processCompoundSelector()

Same as processSelector but reports an error for each combinator.

This is a quick fix for parsing

Implementation

Selector? processCompoundSelector() {
  var selector = processSelector();
  if (selector != null) {
    for (var sequence in selector.simpleSelectorSequences) {
      if (!sequence.isCombinatorNone) {
        _error('compound selector can not contain combinator - ${sequence.combinatorToString}');
      }
    }
  }
  return selector;
}