* Discard a token (CSS Syntax §3 "discard a token") — advance the cursor past * the next token without returning it. * @returns {void}
()
| 1983 | * @returns {void} |
| 1984 | */ |
| 1985 | discard() { |
| 1986 | const t = this.next(); |
| 1987 | if (t.type !== TT_EOF) { |
| 1988 | this._pos = t.end; |
| 1989 | this._next = undefined; |
| 1990 | } |
| 1991 | } |
| 1992 | |
| 1993 | /** |
| 1994 | * Mark (CSS Syntax §3 "mark") — push the current cursor position. |
no test coverage detected