Lines Matching full:string
18 export const NAME_CACHE_SUFFIX: string = '.cache.json';
19 export const PROPERTY_CACHE_FILE: string = 'property.cache.json';
20 export const IDENTIFIER_CACHE: string = 'IdentifierCache';
21 export const MEM_METHOD_CACHE: string = 'MemberMethodCache';
24 export function writeCache(cache: Map<string, string> | undefined, destFileName: string): void {
25 // convert map to json string
30 const cacheString: string = JSON.stringify(Object.fromEntries(cache), null, spaceOfNameCache);
34 export function readCache(filePath: string): Object | undefined {
35 // read json string from file
36 const cacheString: string = FileUtils.readFile(filePath);
41 // get map from json string
45 export function getMapFromJson(jsonObj: Object | undefined): Map<string, string> {
47 return new Map<string, string>();
50 return new Map<string, string>(Object.entries(jsonObj));
53 export function deleteLineInfoForNameString(historyNameCache: Map<string, string>, identifierCache:…
57 historyNameCache.set(newKey, value as string);
64 …UpdateMemberMethodName(nameCache: Map<string, string | Map<string, string>>, globalMangledTable: M…
65 classInfoInMemberMethodCache: Set<string>): void {
66 …let memberMethodCache: Map<string, string> = nameCache.get(MEM_METHOD_CACHE) as Map<string, string…
77 const mangledName: string = globalMangledTable.get(valueName);