processGroupRuleBody method

List<CSSRule> processGroupRuleBody()

Implementation

List<CSSRule> processGroupRuleBody() {
  var nodes = <CSSRule>[];
  while (!(_peekKind(TokenKind.RBRACE) || _peekKind(TokenKind.END_OF_FILE))) {
    var rules = processRule();
    if (rules != null) {
      nodes.addAll(rules);
      continue;
    }
    break;
  }
  return nodes;
}