| /interface/sdk-js/build-tools/api_diff/src/ |
| D | api_collector.js | 33 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 …]
|
| D | api_data.js | 47 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;
|
| D | api_diff.js | 218 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);
|
| D | collect_base_api.js | 173 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/ |
| D | check_hump.ts | 113 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,
|
| D | event_method_check.ts | 37 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);
|
| D | compile_info.ts | 41 apiName: string, 65 .setApiName(apiName)
|
| /interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/ |
| D | modificationProcessor.ts | 81 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 …]
|
| D | asynchronousFunctionProcessor.ts | 48 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);
|
| D | typedef.ts | 651 apiName: string; property 673 apiName?: string; property
|
| D | apiSplitProcessor.ts | 87 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);
|
| D | coreImpls.ts | 1063 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/ |
| D | ApiStatistics.ts | 42 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/ |
| D | ApiInfoDefination.ts | 59 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/ |
| D | compile_info.js | 55 apiName: node.symbol ? node.symbol.escapedName : '', property 71 let apiName = ''; 73 apiName = node.name.text; 75 apiName = node.escapedText; 89 maskInfo.name === apiName &&
|
| D | utils.js | 209 …sheet.getRow(i + 1).values = [i, apiData.errorType, apiData.fileName, apiData.apiName, apiData.api…
|
| /interface/sdk-js/build-tools/dts_parser/src/typedef/checker/ |
| D | result_type.ts | 254 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/ |
| D | check_rest_value.js | 114 const apiName = apiParamInfos[tagIndex].name.escapedText; 123 if (apiName !== tagNameValue) {
|
| /interface/sdk-js/build-tools/dts_parser/src/coreImpl/parser/ |
| D | NodeProcessor.ts | 129 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/ |
| D | collect_base_api.js | 180 const apiName = stat.declarationList.declarations[0].name.escapedText; 181 addApi(packageName, 'global', apiName, stat.getText().trim(), getApiInfo(stat, apiInfo),
|