site/node_modules/speech-rule-engine/js/enrich_mathml/enrich_case.js
2024-10-14 08:09:33 +02:00

14 lines
369 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.factory = exports.getCase = void 0;
function getCase(node) {
for (let i = 0, enrich; (enrich = exports.factory[i]); i++) {
if (enrich.test(node)) {
return enrich.constr(node);
}
}
return null;
}
exports.getCase = getCase;
exports.factory = [];