(specificity: Specificity, rarity: Rarity, dynamic = false)
| 147 | } |
| 148 | |
| 149 | function SelectorProperties(specificity: Specificity, rarity: Rarity, dynamic = false): ClassDecorator { |
| 150 | return (cls) => { |
| 151 | cls.prototype.specificity = specificity; |
| 152 | cls.prototype.rarity = rarity; |
| 153 | cls.prototype.combinator = undefined; |
| 154 | cls.prototype.dynamic = dynamic; |
| 155 | |
| 156 | return cls; |
| 157 | }; |
| 158 | } |
| 159 | |
| 160 | function FunctionalPseudoClassProperties(specificity: Specificity, rarity: Rarity, pseudoSelectorListType: PseudoClassSelectorList): ClassDecorator { |
| 161 | return (cls) => { |