* Restore a mark (CSS Syntax §3 "restore a mark") — pop the last mark and * rewind the cursor to it. The rewound span is re-tokenized on the next read; * already-fired comments are not re-fired (`_commentHigh`). * @returns {void}
()
| 2005 | * @returns {void} |
| 2006 | */ |
| 2007 | restoreMark() { |
| 2008 | this._pos = /** @type {number} */ (this._marks.pop()); |
| 2009 | this._next = undefined; |
| 2010 | } |
| 2011 | |
| 2012 | /** |
| 2013 | * Discard a mark (CSS Syntax §3 "discard a mark") — pop without rewinding. |
no test coverage detected