Home
last modified time | relevance | path

Searched refs:getText (Results 1 – 25 of 27) sorted by relevance

12

/interface/sdk-js/build-tools/api_diff/src/
Dapi_collector.js58 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 …]
Dcollect_base_api.js64 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 …]
Dapi_data.js108 …signature = ts.isIdentifier(astNode) ? astNode.text.replace(/\'|\"/g, '') : astNode.getText().repl…
Djsdoc_diff.js284 …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/
DNodeProcessor.ts170 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/
DDecorator.ts24 this.setExpression(expression.expression.getText());
27 this.addExpressionArguments([arg.getText()]);
31 this.setExpression(expression.getText());
/interface/sdk-js/build-tools/collect_api/
Dcollect_base_api.js73 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/
Dcheck_naming.js48 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…
Dcheck_legality.js33 …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())) {
Dcheck_diff_changes.js271 types.push(type.getText());
274 types.push(paramType.getText());
369 paramName: param.name ? param.name.getText() : '',
Dcompile_info.js77 const apiText = node.getText().replace(/\r|\n|(\r\n)|\s/g, '');
Dutils.js60 const apiLength = node.getText().length;
304 apiDeclareValue = declareValue.getText().replace(/\n|\r|\s/g, '');
Dcheck_event_subscription.js177 childNodeName = childNode.name.getText();
/interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/
DasynchronousFunctionProcessor.ts48 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') {
DmodificationProcessor.ts219 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();
DoutputProcessor.ts98 const value = node.getText().trim();
DapiSplitProcessor.ts62 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()})`;
DcoreImpls.ts233 …`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/
Dapi_recognizer.js74 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/
DUpdateCheckWizardDialog.java230 … 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.ts868 getText(): string;
D@ohos.UiTest.d.ts384 getText(): Promise<string>;
2213 getText(): Promise<string>;
/interface/sdk_c/distributeddatamgr/relational_store/include/
Doh_cursor.h197 int (*getText)(OH_Cursor *cursor, int32_t columnIndex, char *value, int length); member
/interface/sdk-js/build-tools/
Ddelete_systemapi_plugin.js106 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/
Ddiff.ts224 const jsDocText: string | undefined = apiNode?.getFullText().replace(apiNode.getText(), '');

12