I haven't seen the integration with web ui yet, but it seems that some of these special emitters and visitors could be part of the api exposed by csslib. For example, at some point we might want to have an external function that takes a Stylesheet and a renaming function like:
```dart
String renameCssClasses(Stylesheet ss, String rename(String originalName)) {
  ...
}
```