MCPcopy
hub / github.com/webpack/webpack / restoreMark

Method restoreMark

lib/css/syntax.js:2007–2010  ·  view source on GitHub ↗

* 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}

()

Source from the content-addressed store, hash-verified

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.

Callers 1

consumeABlocksContentsFunction · 0.80

Calls 1

popMethod · 0.80

Tested by

no test coverage detected