import { asciiPunctuation } from "../../micromark-util-character/index.js";
const characterEscape = {
	name: "characterEscape",
	tokenize: tokenizeCharacterEscape
};
function tokenizeCharacterEscape(t, n, r) {
	return i;
	function i(e) {
		return t.enter("characterEscape"), t.enter("escapeMarker"), t.consume(e), t.exit("escapeMarker"), a;
	}
	function a(i) {
		return asciiPunctuation(i) ? (t.enter("characterEscapeValue"), t.consume(i), t.exit("characterEscapeValue"), t.exit("characterEscape"), n) : r(i);
	}
}
export { characterEscape };
