983
984
export function overrideIdentifiersFromKey(key: string): string[] {
986
>
if (OVERRIDE_PROPERTY_REGEX.test(key)) {
987
>
let matches = OVERRIDE_IDENTIFIER_REGEX.exec(key);
988
>
while (matches?.length) {
989
>
const identifier = matches[1].trim();
990
>
if (identifier) {
991
>
identifiers.push(identifier);
992
>
}
993
>
matches = OVERRIDE_IDENTIFIER_REGEX.exec(key);
994
>
}
995
>
}
996
>
return distinct(identifiers);
997
>
}
998
999
export function keyFromOverrideIdentifiers(overrideIdentifiers: string[]): string {