| /interface/sdk-js/build-tools/dts_parser/src/typedef/parser/ |
| D | ResultsInfo.ts | 21 apiType: string = ''; // api 类型 property in BasicApiInfo 22 constructor(apiType: string) { 23 this.apiType = apiType; 39 constructor(apiType: string, jsDocInfo: Comment.JsDocInfo) { 40 super(apiType); 87 constructor(apiType: string, jsDocInfo: Comment.JsDocInfo) { 88 super(apiType, jsDocInfo); 173 constructor(apiType: string, jsDocInfo: Comment.JsDocInfo) { 174 super(apiType, jsDocInfo); 248 return new ExportDefaultInfo(this.apiType);
|
| D | ApiInfoDefination.ts | 53 apiType: ApiType = '' as ApiType; // api的类型 property in BasicApiInfo 67 constructor(apiType: string = '', node: ts.Node, parentApi: BasicApiInfo | undefined) { 74 this.setApiType(apiType); 104 setApiType(apiType: string): void { 105 this.apiType = apiType as ApiType; 109 return this.apiType; 270 constructor(apiType: string = '', node: ts.Node, parentApi: BasicApiInfo) { 271 super(apiType, node, parentApi); 574 apiType: string = ''; // api的类型为方法参数 property in ParamInfo 581 constructor(apiType: string) { [all …]
|
| /interface/sdk-js/build-tools/dts_parser/src/coreImpl/checker/src/ |
| D | check_hump.ts | 111 const apiType: string = apiInfo.getApiType(); constant 116 apiType === ApiType.ENUM_VALUE || 117 … (apiType === ApiType.CONSTANT && filePath.indexOf(`component${path.sep}ets${path.sep}`) === -1) 123 apiType === ApiType.INTERFACE || 124 apiType === ApiType.CLASS || 125 apiType === ApiType.TYPE_ALIAS || 126 apiType === ApiType.ENUM 132 apiType === ApiType.PROPERTY || 133 apiType === ApiType.METHOD || 134 apiType === ApiType.PARAM || [all …]
|
| D | compile_info.ts | 39 apiType: string, 61 .setApiType(apiType)
|
| D | event_method_check.ts | 37 if (basicApi.apiType === ApiType.METHOD && this.isEventMethod(basicApi.apiName)) {
|
| /interface/sdk-js/build-tools/collect_api/ |
| D | collect_base_api.js | 311 let apiType = new String(faterApiType); 332 apiType = 'Method'; 333 …collectSubscriptionTypeApi(child, apiType, packageName, className, faterApiType, api, currentTypeL… 336 collectOtherApi(child, packageName, className, faterApiInfo, apiType, api, 343 function collectOtherApi(child, packageName, className, faterApiInfo, apiType, api, argument 352 apiType = 'Method'; 356 apiType = 'Method'; 359 apiType = 'Field'; 367 addFunctionOnOffApi(packageName, className, methodName, faterApiInfo, apiType, api, 372 apiType = 'Method'; [all …]
|
| /interface/sdk-js/build-tools/api_diff/src/ |
| D | collect_base_api.js | 307 let apiType = new String(faterApiType); 330 apiType = 'Method'; 331 …collectOnOffApi(child, apiType, packageName, className, faterApiType, api, exportApi, currentTypeL… 334 collectOtherApi(child, packageName, className, faterApiInfo, apiType, api, 341 function collectOtherApi(child, packageName, className, faterApiInfo, apiType, api, argument 352 apiType = 'Method'; 356 apiType = 'Method'; 359 apiType = 'Field'; 367 addFunctionOnOffApi(packageName, className, methodName, faterApiInfo, apiType, api, 372 apiType = 'Method'; [all …]
|
| D | api_diff.js | 365 let apiType = judgeApiType(apiDigestInfo[0].getAstNode()); 366 if (apiType === 'callback') { 368 newApiTypeMap.set(apiType, callbackApiSignautreSet); 369 } else if (apiType === 'Promise') { 371 newApiTypeMap.set(apiType, promiseApiSignautreSet); 372 } else if (apiType === 'other') { 374 newApiTypeMap.set(apiType, otherTypeApiSignautreSet); 387 let apiType = 'other'; 390 apiType = 'callback'; 394 apiType = 'Promise'; [all …]
|
| D | api_data.js | 164 setApiType(apiType) { argument 165 this.apiType = apiType; 170 return this.apiType;
|
| D | collect_api.js | 156 …api.methodName === newApi.methodName && api.apiType === 'Method' && api.funType === newApi.funType… 254 if (newApi.apiType === 'import') { 256 } else if (newApi.apiType === 'export') { 281 …if (newApi.methodName === oldApi.methodName && newApi.apiType.toString() === oldApi.apiType.toStri… 404 if (newApi.apiType === 'import') { 406 } else if (newApi.apiType === 'export') { 420 if (oldApi.apiType === 'import' && newApi.headimport === oldApi.headimport) { 436 if (oldApi.apiType === 'export' && newApi.endexport === oldApi.endexport) { 582 if (oldApi.apiType === 'import') { 585 } else if (oldApi.apiType === 'export') { [all …]
|
| D | api_collector.js | 33 function wrapApiDigestInfo(astNode, className, apiName, apiType, rawText, ext) { argument 37 .setApiType(apiType)
|
| /interface/sdk-js/build-tools/dts_parser/src/typedef/statistics/ |
| D | ApiStatistics.ts | 45 apiType: string = ''; property in ApiStatisticsInfo 66 setApiType(apiType: string): ApiStatisticsInfo { 67 this.apiType = apiType === ApiType.DECLARE_CONST ? ApiType.PROPERTY : apiType; 137 return this.apiType;
|
| /interface/sdk-js/build-tools/dts_parser/src/typedef/checker/ |
| D | result_type.ts | 250 apiType: string = ''; property in ApiResultInfo 275 setApiType(apiType: string): ApiResultInfo { 276 this.apiType = apiType; 281 return this.apiType;
|
| /interface/sdk-js/build-tools/dts_parser/src/typedef/diff/ |
| D | ApiInfoDiff.ts | 23 apiType: string = BasicDiffInfo.EMPTY; property in BasicDiffInfo 62 setApiType(apiType: string): BasicDiffInfo { 63 if (apiType) { 64 this.apiType = apiType; 66 this.apiType = BasicDiffInfo.EMPTY; 72 return this.apiType;
|
| /interface/sdk-js/build-tools/api_check_plugin/src/check_jsdoc_value/ |
| D | check_rest_value.js | 115 let apiType = getDeclareValue(apiParamInfos[tagIndex].type); 117 if (apiType === tagTypeValue) { 120 if (apiType === 'Function' && tagTypeValue === 'function') {
|
| /interface/sdk-js/build-tools/collect_application_api/src/ |
| D | api_writer.js | 90 apiInfo.apiType,
|
| /interface/sdk-js/build-tools/dts_parser/src/coreImpl/parser/ |
| D | NodeProcessor.ts | 131 if (parentApiInfo && containerApiTypes.has(parentApiInfo.apiType)) { 825 if (containerApiTypes.has(apiInfo.apiType)) { 833 if (containerApiTypes.has(apiInfo.apiType)) {
|
| D | ResultsProcess.ts | 241 let apiType: string = apiInfo.getApiType(); 242 … nodeProcessor: ResultsInfo.NodeProcessorInterface | undefined = resultsProcessMethod.get(apiType);
|
| /interface/sdk-js/build-tools/dts_parser/src/coreImpl/diff/ |
| D | DiffProcessor.ts | 510 const apiType: string = newApiInfo.getApiType(); constant 511 if (oldApiInfo.getApiType() !== apiType) { 514 const apiNodeDiff: ApiNodeDiffProcessor | undefined = apiNodeDiffMethod.get(apiType);
|