Home
last modified time | relevance | path

Searched refs:apiType (Results 1 – 19 of 19) sorted by relevance

/interface/sdk-js/build-tools/dts_parser/src/typedef/parser/
DResultsInfo.ts21 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);
DApiInfoDefination.ts53 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/
Dcheck_hump.ts111 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 …]
Dcompile_info.ts39 apiType: string,
61 .setApiType(apiType)
Devent_method_check.ts37 if (basicApi.apiType === ApiType.METHOD && this.isEventMethod(basicApi.apiName)) {
/interface/sdk-js/build-tools/collect_api/
Dcollect_base_api.js311 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/
Dcollect_base_api.js307 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 …]
Dapi_diff.js365 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 …]
Dapi_data.js164 setApiType(apiType) { argument
165 this.apiType = apiType;
170 return this.apiType;
Dcollect_api.js156 …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 …]
Dapi_collector.js33 function wrapApiDigestInfo(astNode, className, apiName, apiType, rawText, ext) { argument
37 .setApiType(apiType)
/interface/sdk-js/build-tools/dts_parser/src/typedef/statistics/
DApiStatistics.ts45 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/
Dresult_type.ts250 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/
DApiInfoDiff.ts23 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/
Dcheck_rest_value.js115 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/
Dapi_writer.js90 apiInfo.apiType,
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/parser/
DNodeProcessor.ts131 if (parentApiInfo && containerApiTypes.has(parentApiInfo.apiType)) {
825 if (containerApiTypes.has(apiInfo.apiType)) {
833 if (containerApiTypes.has(apiInfo.apiType)) {
DResultsProcess.ts241 let apiType: string = apiInfo.getApiType();
242 … nodeProcessor: ResultsInfo.NodeProcessorInterface | undefined = resultsProcessMethod.get(apiType);
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/diff/
DDiffProcessor.ts510 const apiType: string = newApiInfo.getApiType(); constant
511 if (oldApiInfo.getApiType() !== apiType) {
514 const apiNodeDiff: ApiNodeDiffProcessor | undefined = apiNodeDiffMethod.get(apiType);