site/node_modules/speech-rule-engine/js/enrich_mathml/enrich_case.js

14 lines
369 B
JavaScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
"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 = [];