parseRules method
Implementation
List<CSSRule> parseRules({int startPosition = 0}) {
var rules = <CSSRule>[];
while (!_maybeEat(TokenKind.END_OF_FILE)) {
final data = processRule();
if (data != null) {
rules.addAll(data);
} else {
_next();
}
}
checkEndOfFile();
return rules;
}