(selectors: SelectorCore[], declarations: Declaration[])
| 788 | public scopedTag?: string; |
| 789 | |
| 790 | constructor(selectors: SelectorCore[], declarations: Declaration[]) { |
| 791 | this.selectors = selectors; |
| 792 | this.declarations = declarations; |
| 793 | this.selectors.forEach((sel) => (sel.ruleset = this)); |
| 794 | } |
| 795 | public toString(): string { |
| 796 | let desc = `${this.selectors.join(', ')} {${this.declarations.map((d, i) => `${i === 0 ? ' ' : ''}${d.property}: ${d.value}`).join('; ')} }`; |
| 797 | if (this.mediaQueryString) { |