Home
last modified time | relevance | path

Searched refs:fileContent (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_frontend/arkguard/test/ut/utils/
DTransformUtil.spec.ts27 const fileContent = ` constant
37 sourceFile = createSourceFile('demo.js', fileContent, ScriptTarget.ES2015, true);
54 const fileContent = `var hilog = globalThis.requireNapi('hilog') || constant
60 const source = createSourceFile('demo2.js', fileContent, ScriptTarget.ES2015, true);
68 const fileContent = `var _ohos = _interopRequireDefault(requireModule('@ohos.hilog'))`; constant
69 const source = createSourceFile('demo2.js', fileContent, ScriptTarget.ES2015, true);
DTypeUtils.spec.ts26 const fileContent = ` constant
36 sourceFile = createSourceFile('demo.ts', fileContent, ScriptTarget.ES2015, true);
DFileUtils.spec.ts110 const fileContent = FileUtils.readFile(path); constant
111 assert.strictEqual(fileContent, content);
/arkcompiler/ets_frontend/arkguard/src/common/
DApiExtractor.ts527 const fileContent = fs.readFileSync(filePath, 'utf-8'); constant
529 const matches = fileContent.match(regex);