extensions/emmet/src/bufferStream.ts/DocumentStreamReader/eat
class DocumentStreamReader:	eat(match: number | Function): boolean {
		const ch = this.peek();
		const ok = typeof match === 'function' ? match(ch) : ch === match;

		if (ok) {
			this.next();
		}

		return ok;
	}