visitStyleSheet method

  1. @override
void visitStyleSheet(
  1. StyleSheet ss
)
override

Implementation

@override
void visitStyleSheet(StyleSheet ss) {
  var index = ss.topLevels.length;
  while (--index >= 0) {
    if (_nodesToRemove(ss.topLevels[index])) {
      ss.topLevels.removeAt(index);
    }
  }
  super.visitStyleSheet(ss);
}