| /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 | 9 async process(context: Context, content: string): Promise<ProcessResult> { 10 const sourceParser: sourceParser.SourceCodeParser = context.getSourceParser(content); 11 this.rawSourceCodeInfo = new RawSourceCodeInfoImpl(content); 16 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/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-js/api/ |
| D | @ohos.arkui.advanced.Dialog.d.ets | 90 * Sets the TipsDialog content. 95 content?: ResourceStr; 148 * Sets the SelectDialog content. 153 content?: ResourceStr; 199 * Sets the ConfirmDialog content. 204 content?: ResourceStr; 250 * Sets the AlertDialog content. 255 content: ResourceStr; 287 * Sets the LoadingDialog content. 292 content?: ResourceStr;
|
| D | @ohos.arkui.advanced.SubHeader.d.ets | 63 * The content of text or the address of icon. 121 * Icon resource of content area. 129 * The first line text of content area. 137 * The secondary line text of content area. 145 * Select option of content area.
|
| D | @ohos.arkui.advanced.SwipeRefresher.d.ets | 24 * Sets the content when loading. 29 @Prop content?: string;
|
| D | @ohos.arkui.advanced.ProgressButton.d.ets | 32 * Sets the ProgressButton content. 37 @Prop content: string;
|
| D | @ohos.telephony.sms.d.ts | 48 function splitMessage(content: string, callback: AsyncCallback<Array<string>>): void; 71 function splitMessage(content: string): Promise<Array<string>>; 2518 content: string | Array<number>; property
|
| D | @ohos.arkui.advanced.ToolBar.d.ets | 55 * Define text content. 59 content: ResourceStr;
|
| D | @ohos.reminderAgent.d.ts | 419 content?: string; property
|
| /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 | 32 (content: string): RichTextAttribute;
|
| D | hyperlink.d.ts | 35 (address: string | Resource, content?: string | Resource): HyperlinkAttribute;
|
| D | tab_content.d.ts | 266 constructor(content: ResourceStr); 278 static of(content: ResourceStr): SubTabBarStyle;
|
| D | menu_item.d.ts | 64 content?: ResourceStr; property
|
| D | text.d.ts | 68 (content?: string | Resource): TextAttribute;
|
| /interface/sdk-js/build-tools/api_check_plugin/src/ |
| D | api_check_plugin.js | 46 const content = fs.readFileSync(url, 'utf-8'); 47 const filePathArr = content.split(/[(\r\n)\r\n]+/); 62 const content = fs.readFileSync(filePath, 'utf-8'); 64 ts.transpileModule(content, {
|
| /interface/sdk-js/build-tools/permissions_converter/ |
| D | convert.js | 46 const content = fs.readFileSync(downloadPath, { encoding: 'utf8' }); constant 47 const configMap = JSON.parse(decodeURIComponent(content));
|
| /interface/sdk-js/api/notification/ |
| D | notificationRequest.d.ts | 39 content: NotificationContent; property
|
| /interface/sdk-js/build-tools/ |
| D | delete_systemapi_plugin.js | 59 const content = fs.readFileSync(url, 'utf-8'); 60 writeFile(url, content); 63 let content = fs.readFileSync(url, 'utf-8'); // 文件内容 65 let references = content.match(PATT.GET_REFERENCE); 70 content = content.replace(item, ''); 73 ts.transpileModule(content, { 577 const content = fs.readFileSync(fullReferencePath, 'utf-8'); //文件内容 579 ts.transpileModule(content, {
|