| /interface/sdk-js/build-tools/api_diff/src/ |
| D | api_collector.js | 58 const rawText = propertySignature.getText(); 59 const apiName = propertySignature.name.getText(); 73 const rawText = methodDeclaration.getText(); 74 const apiName = methodDeclaration.name.getText(); 80 const rawText = typeAliasDeclaration.getText(); 81 const apiName = typeAliasDeclaration.name.getText(); 87 const rawText = callSignature.getText(); 88 const apiName = callSignature.name ? callSignature.name.getText() : className; 102 const rawText = methodSignature.getText(); 103 const apiName = methodSignature.name.getText(); [all …]
|
| D | collect_base_api.js | 64 returnDeclarationArr.add(node.type.typeName.getText()); 75 if (stat.getText().indexOf('namespace') > 0) { 174 addApi(packageName, 'global', apiName, stat.getText().trim(), getApiInfo(stat, apiInfo), 251 addApi(packageName, child.name.escapedText, type.literal.text, child.getText(), 255 if (type.getText() !== '') { 256 typeObj.value.push(type.getText()); 259 addApi(packageName, child.name.escapedText, type.getText(), child.getText(), 272 addApi(packageName, child.name.escapedText, type.literal.text, child.getText(), 276 if (type.getText() !== '') { 277 typeObj.value.push(type.getText()); [all …]
|
| D | api_data.js | 108 …signature = ts.isIdentifier(astNode) ? astNode.text.replace(/\'|\"/g, '') : astNode.getText().repl…
|
| D | jsdoc_diff.js | 284 …const oldJsDocTextArr = oldApi.getAstNode().getFullText().replace(oldApi.getAstNode().getText(), '… 285 …const newJsDocTextArr = newApi.getAstNode().getFullText().replace(oldApi.getAstNode().getText(), '…
|
| /interface/sdk-js/build-tools/dts_parser/src/coreImpl/parser/ |
| D | NodeProcessor.ts | 170 const text: string = literal.getText(); 176 const text: string = item.literal.getText(); 275 …portDefaultInfo.setApiName(StringConstant.EXPORT_DEFAULT + exportDefaultNode.expression.getText()); 276 exportDefaultInfo.setDefinedText(exportDefaultNode.getText()); 296 … (exportDeclarationNode.moduleSpecifier ? exportDeclarationNode.moduleSpecifier.getText() : '') 300 exportDeclareInfo.setApiName(StringConstant.EXPORT + exportClause.name.getText()); 306 const exportValueType: string = element.propertyName ? element.propertyName.getText() : ''; 307 const exportValueName: string = element.name.getText(); 313 exportDeclareInfo.setDefinedText(exportDeclarationNode.getText()); 340 importInfo.setApiName(importNode.moduleSpecifier.getText()); [all …]
|
| /interface/sdk-js/build-tools/dts_parser/src/typedef/parser/ |
| D | Decorator.ts | 24 this.setExpression(expression.expression.getText()); 27 this.addExpressionArguments([arg.getText()]); 31 this.setExpression(expression.getText());
|
| /interface/sdk-js/build-tools/collect_api/ |
| D | collect_base_api.js | 73 returnDeclarationArr.add(node.type.typeName.getText()); 84 if (stat.getText().indexOf('namespace') > 0) { 181 addApi(packageName, 'global', apiName, stat.getText().trim(), getApiInfo(stat, apiInfo), 259 addApi(packageName, child.name.escapedText, type.literal.text, child.getText(), 263 if (type.getText() !== '') { 264 typeObj.value.push(type.getText()); 267 addApi(packageName, child.name.escapedText, type.getText(), child.getText(), 280 addApi(packageName, child.name.escapedText, type.literal.text, child.getText(), 284 if (type.getText() !== '') { 285 typeObj.value.push(type.getText()); [all …]
|
| /interface/sdk-js/build-tools/api_check_plugin/src/ |
| D | check_naming.js | 48 const lowIdentifier = node.getText().toLowerCase(); 66 const internalWord = node.getText().substr(prohibitedWordIndex, key.length); 67 …const errorInfo = `Prohibited word in [${node.getText()}]:{${internalWord}}.The word allowed is [$… 113 const internalWord = node.getText().substr(prohibitedWordIndex, key.length); 114 …const errorInfo = `Prohibited word in [${node.getText()}]:{${internalWord}} in the [${path.basenam…
|
| D | check_legality.js | 33 …urrentNode.kind !== ts.SyntaxKind.VariableStatement || !/^const\s/.test(currentNode.getText()))) || 34 …&& currentNode.kind === ts.SyntaxKind.VariableStatement && /^const\s/.test(currentNode.getText())); 45 if (/^extends\s/.test(claus.getText())) {
|
| D | check_diff_changes.js | 271 types.push(type.getText()); 274 types.push(paramType.getText()); 369 paramName: param.name ? param.name.getText() : '',
|
| D | compile_info.js | 77 const apiText = node.getText().replace(/\r|\n|(\r\n)|\s/g, '');
|
| D | utils.js | 60 const apiLength = node.getText().length; 304 apiDeclareValue = declareValue.getText().replace(/\n|\r|\s/g, '');
|
| D | check_event_subscription.js | 177 childNodeName = childNode.name.getText();
|
| /interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/ |
| D | asynchronousFunctionProcessor.ts | 48 const apiName: string = node.name ? node.name.getText() : ''; 109 (node.type as ts.TypeReferenceNode).typeName.getText() === 'Promise') { 116 (param.type as ts.TypeReferenceNode).typeName.getText() === 'AsyncCallback') {
|
| D | modificationProcessor.ts | 219 tagType = node.astNode.type.getText(); 228 if (/^extends /.test(clause.getText()) && clause.types) { 230 extendClasses.push(type.getText()); 306 const apiName: string = node.astNode.name ? node.astNode.name.getText() : ''; 315 paramType = curParameter.type.getText(); 319 newCommentTag.name = curParameter.name ? curParameter.name.getText() : ''; 373 apiName = node.name.getText(); 377 apiName = node.declarationList.declarations[0].name.getText(); 379 apiName = node.declarations[0].name.getText();
|
| D | outputProcessor.ts | 98 const value = node.getText().trim();
|
| D | apiSplitProcessor.ts | 62 functionName = node.name.getText(); 73 const eventValue = (eventValueNode as ts.LiteralTypeNode).literal.getText(); 87 const apiName: string = `${node.name?.getText()}(${node.parameters[0].type?.getFullText()})`;
|
| D | coreImpls.ts | 233 …`skip, [ ${node.getText()} ] kind: ${node.kind}, line: ${line + 1}, character: ${character}, comme… 775 return node.getText(); 1082 apiContent += node.getText(); 1115 apiContent += node.getText();
|
| /interface/sdk-js/build-tools/collect_application_api/src/ |
| D | api_recognizer.js | 74 return node.name ? node.name.getText() : undefined; 166 …return node.name && this.arkUIRender.has(node.name.getText()) && ts.isStructDeclaration(node.paren… 182 const decoratorStr = `@${decoratorName.getText()}`; 338 const moduleRelativePaths = moduleSpecifier.getText().match(/^['"](.*)['"]$/); 345 if (specialInterfaceSet.has(typeNameNode.getText())) { 346 apiDecInfo.apiText = this.getSpecialInterfaceText(modulePath, typeNameNode.getText());
|
| /interface/sdk-js/build-tools/openharmony_sdk_upgrade_assistant/src/main/java/com/update/check/action/view/ |
| D | UpdateCheckWizardDialog.java | 230 … String orders = "node api-diff.js --old " + this.textFieldOldSdkPath.getText() + " --new " + in runApiDiffTool() 258 this.textFieldOldSdkPath.getText() + " --format json"; in runApiCollectTool() 480 if (!IoUtils.isValidLocalPath(this.textFieldOldSdkPath.getText())) { in readOldSdkPath() 484 if (this.isEtsFilePath(this.textFieldOldSdkPath.getText())) { in readOldSdkPath() 488 return new File(this.textFieldOldSdkPath.getText()); in readOldSdkPath() 492 if (!IoUtils.isValidLocalPath(this.textFieldNewSdkPath.getText())) { in readNewSdkPath() 496 if (this.isEtsFilePath(this.textFieldNewSdkPath.getText())) { in readNewSdkPath() 500 return new File(this.textFieldNewSdkPath.getText()); in readNewSdkPath() 505 this.textFieldOldSdkPath.getText() + ConstString.get("check.package")); in getSdkVersion()
|
| /interface/sdk-js/api/ |
| D | @ohos.xml.d.ts | 868 getText(): string;
|
| D | @ohos.UiTest.d.ts | 384 getText(): Promise<string>; 2213 getText(): Promise<string>;
|
| /interface/sdk_c/distributeddatamgr/relational_store/include/ |
| D | oh_cursor.h | 197 int (*getText)(OH_Cursor *cursor, int32_t columnIndex, char *value, int length); member
|
| /interface/sdk-js/build-tools/ |
| D | delete_systemapi_plugin.js | 106 copyrightMessage = sourceFile.getFullText().replace(sourceFile.getText(), ''); 370 copyrightMessage = node.getFullText().replace(node.getText(), ''); 447 …\/www\.apache\.org\/licenses\/LICENSE\-2\.0/g.test(node.getFullText().replace(node.getText(), '')); 513 const importSpecifier = statement.moduleSpecifier.getText().replace(/[\'\"]/g, ''); 569 …return { copyrightMessage: node.getFullText().replace(node.getText(), ''), isCopyrightDeleted: tru… 572 …return { copyrightMessage: node.getFullText().replace(node.getText(), ''), isCopyrightDeleted: tru… 587 const copyrightMessage = fullText.replace(node.getText(), '').split(/\/\*\*/)[0]; 972 const notesContent = node.getFullText().replace(node.getText(), '').replace(/[\s]/g, '');
|
| /interface/sdk-js/build-tools/dts_parser/src/coreImpl/diff/ |
| D | diff.ts | 224 const jsDocText: string | undefined = apiNode?.getFullText().replace(apiNode.getText(), '');
|