Home
last modified time | relevance | path

Searched refs:push (Results 1 – 25 of 66) sorted by relevance

123

/interface/sdk-js/build-tools/dts_parser/src/typedef/parser/
DApiInfoDefination.ts165 this.hierarchicalRelations.push(...hierarchicalRelation);
176 this.decorators.push(...decorators);
235 this.exportValues.push({ key: name, value: type || name });
251 this.importValues.push({ key: name, value: type || name });
293 this.jsDocInfos.push(...jsDocInfos);
298 this.jsDocInfos.push(jsDocInfo);
307 this.parentClasses.push(...parentClasses);
315 this.childApis.push(...childApis);
319 this.childApis.push(childApi);
332 this.parentClasses.push(...parentClasses);
[all …]
DResultsInfo.ts137 this.valueRange.push(value);
142 this.valueRange.push(...valueRange);
185 this.params.push(paramInfo);
205 this.errorCodes.push(...errorCodes);
230 this.childApis.push(...childApis);
239 this.parentClasses.push(...parentClasses);
261 this.importValues.push({ key: name, value: type || name });
/interface/sdk-js/build-tools/jsdoc_format_plugin/test/testCase/
DrunTest.ts39 inputParams.push('-s');
40 inputParams.push('-i');
41 inputParams.push(testFilePath);
42 inputParams.push('-o');
43 inputParams.push(outputFilePath);
44 inputParams.push('-t');
67 inputParams.push('-s');
68 inputParams.push('-i');
69 inputParams.push(testFileDir);
70 inputParams.push('-o');
[all …]
/interface/sdk-js/build-tools/api_check_plugin/src/
Dcheck_diff_changes.js96 changeErrors.push({
118 newTagValue.push(tag.name);
125 oldTagValue.push(tag.name);
131 addTags.push(newValue);
167 changeErrors.push({
191 changeErrors.push({
228 changeErrors.push({
235 changeErrors.push({
241 changeErrors.push({
271 types.push(type.getText());
[all …]
Dcheck_spelling.js49 errorWords.push(word);
57 levArr.push(getLevenshteinValue(errorWord, dictionary));
66 suggest.push(dictionariesArr[indexArr[i]]);
96 basicWords.push(complexWord);
106 newBaseWords.push(word);
Dcompile_info.js34 result.apiFiles.push(fileName);
47 apiCheckArr.push({
59 apiCheckInfoArr.push({
105 parentkindArr.push(Object.keys(ts.SyntaxKind).find(k => ts.SyntaxKind[k] === node.parent.kind));
109 parentkindArr.push(Object.keys(ts.SyntaxKind).find(k => ts.SyntaxKind[k] === node.parent.kind));
Dcheck_legality.js102 illegalKinds.push(kind);
174 checkInfoMap[index].missingTags.push(tagName);
185 checkInfoMap[index].illegalTags.push({
208 errorLogs.push({
217 errorLogs.push({
245 errorLogs.push(valueCheckResult);
267 errorLogs.push(checkAPIDecorator);
278 checkInfoArray.push(checkInfoMap[key]);
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/parser/
DResultsProcess.ts83 apis.push(apiInfo);
177 apis.push(...api);
264 infos.push(newInfo);
275 infos.push(newInfo);
291 infos.push(newInfo);
300 infos.push(newInfo);
316 infos.push(newInfo);
325 infos.push(newInfo);
340 infos.push(newInfo);
345 infos.push(newInfo);
[all …]
/interface/sdk-js/build-tools/api_diff/src/
Dindex.js97 …changeLogData.push(this.formatDiffApi('N/A', diffData.rawText, diffData.className, diffData.classN…
101 …changeLogData.push(this.formatDiffApi(diffData.rawText, 'N/A', diffData.className, diffData.classN…
105 changeLogData.push(this.formatDiffApi('N/A', 'N/A', 'N/A', 'N/A', diffData.dtsName, 'N/A'));
108 …changeLogData.push(this.formatDiffApi(diffData.oldMessage, diffData.newMessage, diffData.className,
112 … changeLogData.push(this.formatDiffApi(diffData.rawText, diffData.rawText, diffData.className,
143 diffs.push(JSON.parse(data));
Dcollect_api.js44 newFileNames.push(fileName);
48 oldFileNames.push(fileName);
57 compileApiInfos.push({
68 compileApiInfos.push({
84 fileContentList.push({
101 tmpNewApis.push(JSON.stringify(getApiInfoDeleteDtsPath(newApi)));
105 tmpOldApis.push(JSON.stringify(getApiInfoDeleteDtsPath(oldApi)));
133 newDiffApiArr.push(includeTypeApi);
142 oldDiffApiArr.push(includeTypeApi);
235 …diffApis.push(getApiInfoWithFlag(newApi, flag, diffOld, diffNew, subsystemMap, sysCapInfo, notes, …
[all …]
/interface/sdk-js/build-tools/jsdoc_format_plugin/src/utils/
DfileUtils.ts32 files.push(filePath);
36 files.push(filePath);
40 files.push(...FileUtils.readFilesInDir(filePath, filter));
/interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/
DapiSplitProcessor.ts75 eventValues.push(eventValue.slice(1, eventValue.length - 1));
100 newParams.push(newTypeParam);
105 newParams.push(paramNode);
123 modifiers.push(newModifier);
132 newFunctionNodes.push(newFunctionNode);
153 newFunctionNodes.push(newFunctionNode);
174 newFunctionNodes.push(newFunctionNode);
187 newStatements.push(statement);
191 newStatements.push(...newFunctionNodes);
212 newStatements.push(statement);
[all …]
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/checker/src/
Dtag_legality_check.ts61 apiLegalityCheckResult.push(apiRedundantResultFormat);
99 apiLegalityCheckResult.push(apiLostResultFormat);
125 apiLegalityCheckResult.push(apiRedundantResultFormat);
131 apiLegalityCheckResult.push(apiLostResultFormat);
144 illegalTagsArray.push(tag);
Dtag_value_check.ts45 tagValueError.push(sincevalueCheckResult);
51 tagValueError.push(extendsvalueCheckResult);
57 tagValueError.push(enumvalueCheckResult);
63 tagValueError.push(returnsvalueCheckResult);
69 tagValueError.push(outerValueCheckResult);
75 tagValueError.push(typeValueCheckResult);
81 tagValueError.push(syscapValueCheckResult);
87 tagValueError.push(defaultValueCheckResult);
93 tagValueError.push(deprecatedValueCheckResult);
99 tagValueError.push(permissionValueCheckResult);
[all …]
Dtag_repeat_check.ts31 tagNameArr.push(tag.tag);
43 tagRepeatCheckResult.push(tagRepeatCheckFormat);
Dcompile_info.ts68 checkErrorInfos.push(apiChecktSimpleErrorLog);
69 checkErrorAllInfos.push(apiCheckErrorLog);
Dwords_check.ts84 errorWords.push(basicWord);
130 basicWords.push(complexWord);
140 newBaseWords.push(word);
/interface/sdk-js/build-tools/api_check_plugin/src/check_jsdoc_value/
Dcheck_order.js39 formNeighborArr.push(secondIndex);
40 newFormNeighborArr.push(secondIndex);
80 checkOrderRusult.push({
86 checkOrderRusult.push({
123 parentTagArr.push(tag.tag);
147 tagArr.push(tag.tag);
/interface/sdk-js/build-tools/dts_parser/src/utils/
DFileUtils.ts51 files.push(filePath);
55 files.push(filePath);
59 files.push(...FileUtils.readFilesInDir(filePath, filter));
/interface/sdk-js/build-tools/dts_parser/src/coreImpl/diff/
DPermissionsProcessor.ts97 this.splitchar.push(splitchar);
98 this.transferchar.push(item.transferchar);
273 … states.push(Number(index).toString(NumberConstant.BINARY_SYSTEM).padStart(len, '0').split(''));
300 values.push(eval(modifyStr));
305 values.push(0);
323 calculate.pass.push(index);
325 calculate.fail.push(index);
DDiffProcessor.ts83 diffInfos.push(diffInfo);
115 diffInfos.push(diffInfo);
121 diffInfos.push(diffInfo);
126 diffInfos.push(diffInfo);
419 diffInfos.push(diffInfo);
435 diffInfos.push(diffInfo);
467 diffInfos.push(diffInfo);
474 diffInfos.push(diffInfo);
487 diffInfos.push(diffInfo);
576 diffInfos.push(diffInfo);
[all …]
Ddiff.ts49 diffInfos.push(
70 diffInfos.push(
95 diffInfos.push(
107 diffInfos.push(
142 diffInfos.push(
153 diffInfos.push(
/interface/sdk-js/build-tools/
Ddelete_systemapi_plugin.js104 newStatements.push(newStatement);
114 newStatements.push(statement);
159 … importNodeNamedBindings.push(factory.createImportSpecifier(element.propertyName, element.name));
313 utFiles.push(filePath);
416 newStatements.push(statement);
431 newStatements.push(statement);
433 newStatements.push(statement);
534 clasueCheckList.push('exist');
536 clasueCheckList.push('non-exist');
555 newSpecifiers.push(element);
[all …]
/interface/sdk-js/api/
D@ohos.pluginComponent.d.ts394 function push(param: PushParameters, callback: AsyncCallback<void>): void; function
416 function push(param: PushParameterForStage, callback: AsyncCallback<void>): void;
D@ohos.util.Stack.d.ts144 push(item: T): T;

123