- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8 - Actualizaciones de configuracion Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
377 B
JavaScript
13 lines
377 B
JavaScript
export function getSelectorName(functionString) {
|
|
try {
|
|
const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? []));
|
|
constants.delete("CONFIG");
|
|
constants.delete("CONFIG_PREFIX_SEPARATOR");
|
|
constants.delete("ENV");
|
|
return [...constants].join(", ");
|
|
}
|
|
catch (e) {
|
|
return functionString;
|
|
}
|
|
}
|