(node: DocumentNode)
| 113 | } |
| 114 | |
| 115 | document(node: DocumentNode) { |
| 116 | const doc = `@${node.vendor || ''}document ${node.document}`; |
| 117 | return ( |
| 118 | this.emit(doc, node.position) + |
| 119 | this.emit(` {\n${this.indent(1)}`) + |
| 120 | this.mapVisit(node.rules, '\n\n') + |
| 121 | this.emit(`${this.indent(-1)}\n}`) |
| 122 | ); |
| 123 | } |
| 124 | |
| 125 | supports(node: SupportsNode) { |
| 126 | return ( |