function cc(e) {
	return e.charCodeAt(0);
}
function insertToSet(e, a) {
	Array.isArray(e) ? e.forEach(function(e) {
		a.push(e);
	}) : a.push(e);
}
function addFlag(e, a) {
	if (e[a] === !0) throw "duplicate flag " + a;
	e[a], e[a] = !0;
}
function ASSERT_EXISTS(e) {
	// istanbul ignore next
	if (e === void 0) throw Error("Internal Error - Should never get here!");
	return !0;
}
// istanbul ignore next
function ASSERT_NEVER_REACH_HERE() {
	throw Error("Internal Error - Should never get here!");
}
function isCharacter(e) {
	return e.type === "Character";
}
export { ASSERT_EXISTS, ASSERT_NEVER_REACH_HERE, addFlag, cc, insertToSet, isCharacter };
