()
| 1066 | } |
| 1067 | |
| 1068 | copy(): Rule { |
| 1069 | return new ConditionalRule( |
| 1070 | this.rules.map(rule => rule.copy()), |
| 1071 | this.condition |
| 1072 | ); |
| 1073 | } |
| 1074 | |
| 1075 | getStaticClassName(): string { |
| 1076 | throw new Error('Conditional rules cannot be compiled to a static class name. This is a bug.'); |