/developtools/ace-ets2bundle/compiler/src/ |
D | result_process.ts | 45 const sourceFile: ts.SourceFile = transformLog.sourceFile; constant 49 … const posOfNode: ts.LineAndCharacter = sourceFile.getLineAndCharacterOfPosition(item.pos); 57 item.fileName = item.fileName || sourceFile.fileName;
|
D | process_import.ts | 113 let sourceFile: ts.SourceFile; 116 sourceFile = IMPORT_FILE_ASTCACHE.get(fileResolvePath); 123 …sourceFile = ts.createSourceFile(filePath, content, ts.ScriptTarget.Latest, true, ts.ScriptKind.TS… 124 IMPORT_FILE_ASTCACHE[fileResolvePath] = sourceFile; 126 …visitAllNode(sourceFile, sourceFile, defaultName, asName, path.dirname(fileResolvePath), log, new … 134 function visitAllNode(node: ts.Node, sourceFile: ts.SourceFile, defaultNameFromParent: string, asNa… 191 validateModuleName(item.name, log, sourceFile, fileResolvePath); 249 …node.getChildren().reverse().forEach((item: ts.Node) => visitAllNode(item, sourceFile, defaultName… 431 function validateModuleName(moduleNode: ts.Identifier, log: LogInfo[], sourceFile?: ts.SourceFile, 440 if (sourceFile && fileResolvePath) { [all …]
|
D | validate_ui_syntax.ts | 154 const sourceFile: ts.SourceFile = ts.createSourceFile(filePath, source, constant 156 if (sourceFile && sourceFile.statements && sourceFile.statements.length) { 161 sourceFile.statements.forEach((item, index, arr) => { 172 checkDecorators(item.decorators, result, item.name, log, sourceFile, item); 175 addLog(LogType.WARN, message, item.getStart(), log, sourceFile); 179 addLog(LogType.ERROR, message, item.getStart(), log, sourceFile); 187 addLog(LogType.ERROR, message, item.getStart(), log, sourceFile); 201 validateEntryAndPreviewCount(result, fileQuery, sourceFile.fileName, projectConfig.isPreview, 262 …component: ts.Identifier, log: LogInfo[], sourceFile: ts.SourceFile, node: ts.StructDeclaration): … 271 checkEntryComponent(node, log, sourceFile); [all …]
|
D | utils.ts | 52 public get sourceFile() { method in FileLog 56 public set sourceFile(newValue: ts.SourceFile) { method in FileLog 88 sourceFile: ts.SourceFile) { 89 const posOfNode: ts.LineAndCharacter = sourceFile.getLineAndCharacterOfPosition(pos); 95 fileName: sourceFile.fileName
|
D | pre_process.ts | 85 const sourceFile: ts.SourceFile = ts.createSourceFile(resourcePath, content, constant 88 if (sourceFile.statements) { 89 sourceFile.statements.forEach(statement => {
|
D | ets_checker.ts | 262 const sourceFile: ts.SourceFile = ts.createSourceFile(fileName, source, constant 264 collectComponents(sourceFile); 265 parseAllNode(sourceFile, sourceFile);
|
D | process_ui_syntax.ts | 93 transformLog.sourceFile = node;
|
D | process_component_build.ts | 354 posOfNode = transformLog.sourceFile.getLineAndCharacterOfPosition(getRealNodePos(node)); 355 curFileName = transformLog.sourceFile.fileName.replace(/\.ts$/, '');
|
/developtools/ace-ets2bundle/compiler/ |
D | build_declarations_file.js | 100 …let sourceFile = ts.createSourceFile(fileName, content, ts.ScriptTarget.Latest, true, ts.ScriptKin… 102 if (sourceFile.statements && sourceFile.statements.length) { 104 sourceFile.statements.forEach((node) => { 123 sourceFile.statements.forEach((node) => { 128 sourceFile = ts.factory.updateSourceFile(sourceFile, newStatements); 130 const result = printer.printNode(ts.EmitHint.Unspecified, sourceFile, sourceFile);
|
/developtools/ace-js2bundle/ace-loader/src/ |
D | gen-abc.js | 28 let sourceFile = inputPaths[i].path.replace(/\.temp\.js$/, "_.js"); 30 let singleCmd = `${cmd} "${input}" -o "${abcFilePath}" --source-file "${sourceFile}"`;
|
/developtools/packing_tool/adapter/ohos/ |
D | Compressor.java | 1086 private void compress(File sourceFile, ZipOutputStream zipOutputStream, String name, in compress() argument 1091 if (sourceFile.isFile()) { in compress() 1092 ZipEntry zipEntry = getStoredZipEntry(sourceFile, name); in compress() 1094 in = new FileInputStream(sourceFile); in compress() 1101 File[] listFiles = sourceFile.listFiles(); in compress() 1105 ZipEntry zipEntry = getStoredZipEntry(sourceFile, name + "/"); in compress() 1108 ZipEntry zipEntry = getStoredZipEntry(sourceFile, name); in compress() 1134 private ZipEntry getStoredZipEntry(File sourceFile, String name) throws BundleException { in getStoredZipEntry() argument 1137 zipEntry.setCompressedSize(sourceFile.length()); in getStoredZipEntry() 1138 zipEntry.setSize(sourceFile.length()); in getStoredZipEntry() [all …]
|