Home
last modified time | relevance | path

Searched refs:apiName (Results 1 – 20 of 20) sorted by relevance

/interface/sdk-js/build-tools/api_diff/src/
Dapi_collector.js33 function wrapApiDigestInfo(astNode, className, apiName, apiType, rawText, ext) { argument
43 .setApiName(apiName)
59 const apiName = propertySignature.name.getText();
60 …return wrapApiDigestInfo(propertySignature, className, apiName, ApiType.InterfaceProperty, rawText…
74 const apiName = methodDeclaration.name.getText();
75 …return wrapApiDigestInfo(methodDeclaration, className, apiName, ApiType.ClassMethod, rawText, ext);
81 const apiName = typeAliasDeclaration.name.getText();
82 …return wrapApiDigestInfo(typeAliasDeclaration, className, apiName, ApiType.TypeAliasDeclaration, r…
88 const apiName = callSignature.name ? callSignature.name.getText() : className;
89 return wrapApiDigestInfo(callSignature, className, apiName, ApiType.CallSignature, rawText, ext);
[all …]
Dapi_data.js47 function addApiInfo(apiMap, packageName, className, apiName, apiSignature, api) { argument
69 let apiNameMap = classApi.children.get(apiName);
72 classApi.children.set(apiName, apiNameMap);
256 setApiName(apiName) { argument
257 this.apiName = apiName;
262 return this.apiName;
Dapi_diff.js218 oldClassApi.children.forEach((signatureMap, apiName) => {
219 collectApiDiffFromApiNameMap(signatureMap, apiName, newClassApi.children, ext);
231 function collectApiDiffFromApiNameMap(oldSignatureMap, apiName, newClassMap, ext) { argument
232 if (!newClassMap.has(apiName)) {
238 const newSignatureMap = newClassMap.get(apiName);
Dcollect_base_api.js173 const apiName = stat.declarationList.declarations[0].name.escapedText;
174 addApi(packageName, 'global', apiName, stat.getText().trim(), getApiInfo(stat, apiInfo),
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/checker/src/
Dcheck_hump.ts113 const apiName: string = apiInfo.getApiName(); constant
119 if (!CheckHump.checkAllUppercaseHump(apiName)) {
120 checkResult = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_UPPERCASE_NAME, [apiName]);
128 if (!CheckHump.checkLargeHump(apiName)) {
129 … checkResult = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_LARGE_HUMP_NAME, [apiName]);
137 if (!CheckHump.checkSmallHump(apiName)) {
138 … checkResult = CommonFunctions.createErrorInfo(ErrorMessage.ERROR_SMALL_HUMP_NAME, [apiName]);
151 apiName,
Devent_method_check.ts37 if (basicApi.apiType === ApiType.METHOD && this.isEventMethod(basicApi.apiName)) {
219 …const apiCompletePath: string = [...directorRelations, this.getEventName(eventInfo.apiName)].join(…
235 const eventType: string = this.getEventType(eventInfo.apiName);
253 private getEventName(apiName: string): string {
254 return apiName.split(/\_/)[1];
257 private getEventType(apiName: string): string {
258 return apiName.split(/\_/)[0];
261 private isEventMethod(apiName: string): boolean {
263 return eventNameReg.test(apiName);
Dcompile_info.ts41 apiName: string,
65 .setApiName(apiName)
/interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/
DmodificationProcessor.ts81 const apiName: string = JSDocModificationManager.getApiName(curNode); constant
83 … JSDocModificationManager.createErrorInfo(ErrorInfo.JSDOC_FORMAT_ERROR, []), this.context, apiName,
93 const apiName: string = JSDocModificationManager.getApiName(curNode); constant
102 this.context, apiName, JSDocCheckErrorType.INCOMPLETE_TAG);
107 this.context, apiName, JSDocModifyType.MISSING_TAG_COMPLETION);
116 const apiName: string = JSDocModificationManager.getApiName(curNode); constant
125 this.context, apiName, JSDocModifyType.MISSING_TAG_COMPLETION);
138 this.context, apiName, JSDocCheckErrorType.INCOMPLETE_TAG);
145 const apiName: string = JSDocModificationManager.getApiName(curNode); constant
150 this.context, apiName, JSDocModifyType.TAG_ORDER_AJUSTMENT);
[all …]
DasynchronousFunctionProcessor.ts48 const apiName: string = node.name ? node.name.getText() : ''; constant
49 …= LogReportStringUtils.createErrorInfo(ErrorInfo.AYYNCHRONOUS_FUNCTION_JSDOC_COPY, [`${apiName}`]);
51 apiName, JSDocModifyType.AYYNCHRONOUS_FUNCTION_JSDOC_COPY);
Dtypedef.ts651 apiName: string; property
673 apiName?: string; property
DapiSplitProcessor.ts87 const apiName: string = `${node.name?.getText()}(${node.parameters[0].type?.getFullText()})`; constant
88 …ing = LogReportStringUtils.createErrorInfo(ErrorInfo.EVENT_SUBSCRIPTION_SPLITTION, [`${apiName}`]);
91 apiName, JSDocModifyType.EVENT_SUBSCRIPTION_SPLITTION);
DcoreImpls.ts1063 context: Context | undefined, apiName: string, errorType: JSDocCheckErrorType): CheckLogResult {
1085 apiName: apiName, constant
1096 …context: Context | undefined, apiName: string, jsDocModifyType: JSDocModifyType): ModifyLogResult {
1118 apiName: apiName, constant
/interface/sdk-js/build-tools/dts_parser/src/typedef/statistics/
DApiStatistics.ts42 apiName: string = ''; property in ApiStatisticsInfo
158 setApiName(apiName: string): ApiStatisticsInfo {
159 this.apiName = apiName;
164 return this.apiName;
/interface/sdk-js/build-tools/dts_parser/src/typedef/parser/
DApiInfoDefination.ts59 apiName: string = ''; // api的名称 property in BasicApiInfo
144 setApiName(apiName: string): void {
145 this.apiName = apiName;
149 this.addHierarchicalRelation([apiName]);
153 return this.apiName;
575 apiName: string = ''; // 参数名 property in ParamInfo
589 setApiName(apiName: string) {
590 this.apiName = apiName;
594 return this.apiName;
/interface/sdk-js/build-tools/api_check_plugin/src/
Dcompile_info.js55 apiName: node.symbol ? node.symbol.escapedName : '', property
71 let apiName = '';
73 apiName = node.name.text;
75 apiName = node.escapedText;
89 maskInfo.name === apiName &&
Dutils.js209 …sheet.getRow(i + 1).values = [i, apiData.errorType, apiData.fileName, apiData.apiName, apiData.api…
/interface/sdk-js/build-tools/dts_parser/src/typedef/checker/
Dresult_type.ts254 apiName: string = ''; property in ApiResultInfo
311 setApiName(apiName: string): ApiResultInfo {
312 this.apiName = apiName;
317 return this.apiName;
/interface/sdk-js/build-tools/api_check_plugin/src/check_jsdoc_value/
Dcheck_rest_value.js114 const apiName = apiParamInfos[tagIndex].name.escapedText;
123 if (apiName !== tagNameValue) {
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/parser/
DNodeProcessor.ts129 const apiName: string = apiInfo.getApiName(); constant
135 if (parentMap.has(apiName)) {
137 const currentMap: BasicApiInfoMap = parentMap.get(apiName) as BasicApiInfoMap;
146 parentMap.set(apiName, currentMap);
/interface/sdk-js/build-tools/collect_api/
Dcollect_base_api.js180 const apiName = stat.declarationList.declarations[0].name.escapedText;
181 addApi(packageName, 'global', apiName, stat.getText().trim(), getApiInfo(stat, apiInfo),