| /interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/ |
| D | outputProcessor.ts | 26 async process(context: Context, content: string): Promise<ProcessResult> { 28 let outputContent = content; 29 const formater = new Formatter(content); 39 return { code: Code.OK, content: outputContent }; 42 return { code: Code.OK, content: content }; 73 content: string | undefined; property in NumberLiteralCaseRule 80 apply(content: string): string { 81 const sourceFile = this.sourceParser.createSourceFile(content, 'numberLiteral'); 83 return content; 85 this.content = content; [all …]
|
| D | entry.ts | 47 LogUtil.e(this.tag, result.content); 49 LogUtil.i(this.tag, result.content); 88 async process(context: Context, content: string): Promise<ProcessResult> { 93 content: StringResource.getString(StringResourceId.INPUT_FILE_NOT_FOUND) 100 content: StringResource.getString(StringResourceId.INPUT_FILE_CONTENT_EMPTY) 106 content: rawCodeStr ? rawCodeStr : '' 112 preResult = await processor.process(newContext, preResult.content); 126 preResult.content = `new d.ts file is ${newContext.getOutputFile()}`; 136 async process(context: Context, content: string): Promise<ProcessResult> { 141 content: StringResource.getString(StringResourceId.INPUT_FILE_NOT_FOUND) [all …]
|
| D | rawCodeProcessor.ts | 24 async process(context: Context, content: string): Promise<ProcessResult> { 25 const sourceParser: sourceParser.SourceCodeParser = context.getSourceParser(content); 26 this.rawSourceCodeInfo = new RawSourceCodeInfoImpl(content); 31 content: content
|
| D | asynchronousFunctionProcessor.ts | 30 async process(context: Context, content: string): Promise<ProcessResult> { 31 const sourceParser = context.getSourceParser(content); 33 const sourceFile: ts.SourceFile | undefined = sourceParser.createSourceFile(content); 35 return { code: Code.OK, content: content }; 43 content: sourceParser.printSourceFile(sourceFile)
|
| D | typedef.ts | 23 content: string; property 33 process(context: Context, content: string): Promise<ProcessResult>; 726 content: string; property in rawInfo.SourceCodeParser 728 this.content = sourceCode; 759 abstract createSourceFile(content: string, name?: string): ts.SourceFile | undefined;
|
| D | apiSplitProcessor.ts | 30 async process(context: Context, content: string): Promise<ProcessResult> { 32 return { code: Code.OK, content: content }; 35 const sourceParser = context.getSourceParser(content); 39 content: sourceFile ? sourceParser.printSourceFile(sourceFile) : content
|
| /interface/sdk-js/build-tools/api_check_plugin/ |
| D | index.js | 38 updatePermissionConfig(url, (content) => { 39 if (content) { 40 checkOption.permissionContent = content; 41 savePermissionConfig(content, permissionName); 72 const content = fs.readFileSync(localPermissionFile); 74 JSON.parse(content); 75 return content; 83 function savePermissionConfig(content, name) { argument 85 fs.writeFileSync(localPermissionFile, content);
|
| /interface/sdk-js/build-tools/dts_parser/src/utils/ |
| D | FunctionUtils.ts | 64 fileContent.forEach((content: SubSystemInfo) => { 65 subsystemMap.set(content.syscap, content.subsystem); 66 fileNameMap.set(content.syscap, content.fileName);
|
| /interface/sdk-js/build-tools/jsdoc_format_plugin/loader/ |
| D | flavor.js | 17 module.exports = function (content, map, meta) { argument 18 const buildConfig = JSON.parse(content); 25 return content;
|
| /interface/sdk_c/build-tools/capi_parser/src/coreImpl/parser/ |
| D | parse_include.py | 233 content = f.read(end_offset - start_offset) 238 "content": content 267 content = node_extent(cursor, current_file) 268 data["node_content"] = content 312 content = open_file(include_path) 313 if content: 315 matches = re.finditer(pattern, content, re.DOTALL | re.MULTILINE) 321 content = f.read() 323 matches_high = re.findall(pattern_high, content, re.DOTALL | re.MULTILINE) 333 content = '' [all …]
|
| D | parser.py | 42 content = f.read() 44 sources_match = re.search(pattern, content) 55 content = f.read() # 获取文件内容 57 matches = re.finditer(pattern, content) # finditer会返回位置信息 66 def find_dest_dir(matches, content, f): argument 72 source_match = re.search(pattern, content) 78 content = f.read() 84 content = f.read() # 获取文件内容 86 matches = re.findall(pattern, content) 88 sources_dir = find_dest_dir(matches, content, f)
|
| /interface/sdk-js/api/ |
| D | @ohos.arkui.advanced.SubHeader.d.ets | 105 * The content of text or the address of icon. 111 * The content of text or the address of icon. 223 * Icon resource of content area. 229 * Icon resource of content area. 238 * The first line text of content area. 244 * The first line text of content area. 253 * The secondary line text of content area. 259 * The secondary line text of content area. 268 * Select option of content area. 274 * Select option of content area.
|
| D | @ohos.arkui.advanced.Dialog.d.ets | 166 * Sets the TipsDialog content. 172 * Sets the TipsDialog content. 178 content?: ResourceStr; 279 * Sets the SelectDialog content. 285 * Sets the SelectDialog content. 291 content?: ResourceStr; 378 * Sets the ConfirmDialog content. 384 * Sets the ConfirmDialog content. 390 content?: ResourceStr; 477 * Sets the AlertDialog content. [all …]
|
| D | @ohos.arkui.advanced.SwipeRefresher.d.ets | 35 * Sets the content when loading. 41 * Sets the content when loading. 47 @Prop content?: string;
|
| D | @ohos.arkui.advanced.ProgressButton.d.ets | 50 * Sets the ProgressButton content. 56 * Sets the ProgressButton content. 62 @Prop content: string;
|
| /interface/sdk-js/build-tools/api_diff/src/ |
| D | api_writer.js | 27 fileContent.forEach(content => { 28 subsystemMap.set(content.syscap, content.subsystem); 29 fileNameMap.set(content.syscap, content.fileName);
|
| /interface/sdk-js/api/@internal/component/ets/ |
| D | rich_text.d.ts | 51 (content: string): RichTextAttribute;
|
| D | hyperlink.d.ts | 55 (address: string | Resource, content?: string | Resource): HyperlinkAttribute;
|
| D | tab_content.d.ts | 481 constructor(content: ResourceStr); 504 static of(content: ResourceStr): SubTabBarStyle;
|
| D | text.d.ts | 90 (content?: string | Resource, value?: TextOptions): TextAttribute; 936 bindSelectionMenu(spanType: TextSpanType, content: CustomBuilder, responseType: TextResponseType,
|
| D | menu_item.d.ts | 91 content?: ResourceStr; property
|
| /interface/sdk-js/build-tools/api_check_plugin/src/ |
| D | api_check_plugin.js | 47 const content = fs.readFileSync(url, 'utf-8'); 48 const filePathArr = content.split(/[(\r\n)\r\n]+/); 63 const content = fs.readFileSync(filePath, 'utf-8'); 65 ts.transpileModule(content, {
|
| /interface/sdk-js/build-tools/permissions_converter/ |
| D | convert.js | 62 const content = fs.readFileSync(downloadPath, { encoding: 'utf8' }); constant 63 const configMap = JSON.parse(decodeURIComponent(content));
|
| /interface/sdk-js/build-tools/ |
| D | delete_systemapi_plugin.js | 67 const content = fs.readFileSync(kitFile, 'utf-8'); 69 writeFile(kitFile, content); 73 let sourceFile = ts.createSourceFile(fileName, content, ts.ScriptTarget.ES2017, true); 211 const content = fs.readFileSync(url, 'utf-8'); 212 writeFile(url, content); 215 let content = fs.readFileSync(url, 'utf-8'); // 文件内容 217 let references = content.match(PATT.GET_REFERENCE); 222 content = content.replace(item, ''); 225 ts.transpileModule(content, { 888 const content = fs.readFileSync(fullReferencePath, 'utf-8'); //文件内容 [all …]
|
| /interface/sdk-js/api/notification/ |
| D | notificationRequest.d.ts | 42 content: NotificationContent; property
|