Home
last modified time | relevance | path

Searched refs:content (Results 1 – 25 of 42) sorted by relevance

12

/interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/
DoutputProcessor.ts26 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 …]
Dentry.ts47 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 …]
DrawCodeProcessor.ts9 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
DasynchronousFunctionProcessor.ts30 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)
Dtypedef.ts23 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;
DapiSplitProcessor.ts30 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/
Dindex.js38 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/
Dflavor.js17 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.ets90 * 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.ets63 * 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.ets24 * Sets the content when loading.
29 @Prop content?: string;
D@ohos.arkui.advanced.ProgressButton.d.ets32 * Sets the ProgressButton content.
37 @Prop content: string;
D@ohos.telephony.sms.d.ts48 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.ets55 * Define text content.
59 content: ResourceStr;
D@ohos.reminderAgent.d.ts419 content?: string; property
/interface/sdk-js/build-tools/api_diff/src/
Dapi_writer.js27 fileContent.forEach(content => {
28 subsystemMap.set(content.syscap, content.subsystem);
29 fileNameMap.set(content.syscap, content.fileName);
/interface/sdk-js/api/@internal/component/ets/
Drich_text.d.ts32 (content: string): RichTextAttribute;
Dhyperlink.d.ts35 (address: string | Resource, content?: string | Resource): HyperlinkAttribute;
Dtab_content.d.ts266 constructor(content: ResourceStr);
278 static of(content: ResourceStr): SubTabBarStyle;
Dmenu_item.d.ts64 content?: ResourceStr; property
Dtext.d.ts68 (content?: string | Resource): TextAttribute;
/interface/sdk-js/build-tools/api_check_plugin/src/
Dapi_check_plugin.js46 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/
Dconvert.js46 const content = fs.readFileSync(downloadPath, { encoding: 'utf8' }); constant
47 const configMap = JSON.parse(decodeURIComponent(content));
/interface/sdk-js/api/notification/
DnotificationRequest.d.ts39 content: NotificationContent; property
/interface/sdk-js/build-tools/
Ddelete_systemapi_plugin.js59 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, {

12