(token)
| 348 | } |
| 349 | |
| 350 | freeSemicolon(token) { |
| 351 | this.spaces += token[1] |
| 352 | if (this.current.nodes) { |
| 353 | let prev = this.current.nodes[this.current.nodes.length - 1] |
| 354 | if (prev && prev.type === 'rule' && !prev.raws.ownSemicolon) { |
| 355 | prev.raws.ownSemicolon = this.spaces |
| 356 | this.spaces = '' |
| 357 | prev.source.end = this.getPosition(token[2]) |
| 358 | prev.source.end.offset += prev.raws.ownSemicolon.length |
| 359 | } |
| 360 | } |
| 361 | } |
| 362 | |
| 363 | // Helpers |
| 364 |