Lines Matching refs:code
80 export function visualTransform(code: string, id: string, logger: any): string {
85 return code;
88 const content: string | null = getParsedContent(code, path.normalize(id), log);
90 return code;
95 generateSourceMapForNewAndOriEtsFile(path.normalize(id), code);
101 let code: string | null = getParsedContent(content, resourcePath, log);
102 if (!code) {
105 const result: ReplaceResult = sourceReplace(code, resourcePath);
106 code = result.content;
108 const resultLog: LogInfo[] = validateUISyntax(source, code, resourcePath, resourceQuery);
113 return code;
354 function getParsedContent(code: string, id: string, log: LogInfo[]): string | null {
370 code,
376 let content: string = code;