Home
last modified time | relevance | path

Searched refs:replaceMap (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/scripts/token_alignment/helpers/
DtextFuncs.ts15 export function groupReplace(src: string, replaceMap: Map<string, string>, pattern: string) {
16 const fullPattern = pattern.replace('#group#', [...replaceMap.keys()].join('|'));
25 return match.replace(key, replaceMap.get(key) || '');
DDOMFuncs.ts140 replaceMap: Map<string, string>
152 [...replaceMap.entries()].some(([oldStr, newStr]) => {
/frameworks/base/packages/SystemUI/scripts/token_alignment/
Dindex.ts216 const replaceMap = new Map( constant
233 const str = groupReplace(fileContent, replaceMap, 'R.attr.(#group#)(?![a-zA-Z])');