Searched refs:astNode (Results 1 – 8 of 8) sorted by relevance
| /interface/sdk-js/build-tools/api_diff/src/ |
| D | api_collector.js | 33 function wrapApiDigestInfo(astNode, className, apiName, apiType, rawText, ext) { argument 35 const jsdoc = getNodeLeadingJSDoc(astNode); 36 digestInfo.setAstNode(astNode) 42 .setApiSignature(astNode, ext.packageName, className) 282 function getNodeLeadingJSDoc(astNode) { argument 283 if (astNode.kind === ts.SyntaxKind.SourceFile) { 286 const sourceFile = astNode.getSourceFile(); 287 …const leadingCommentRange = ts.getLeadingCommentRanges(sourceFile.getFullText(), astNode.getFullSt… 306 function getApiDigestInfo(astNode, parentApiDigest, ext) { argument 307 const digestMethod = apiDigestMethodMap.get(astNode.kind); [all …]
|
| D | api_data.js | 97 function getNodeSignature(astNode, packageName, className) { argument 98 if (ts.isInterfaceDeclaration(astNode) || ts.isClassDeclaration(astNode) || 99 ts.isModuleDeclaration(astNode) || ts.isEnumDeclaration(astNode) || ts.isSourceFile(astNode)) { 103 if (astNode.getChildCount() > 0) { 104 astNode.forEachChild((childNode) => { 108 …signature = ts.isIdentifier(astNode) ? astNode.text.replace(/\'|\"/g, '') : astNode.getText().repl… 247 setApiSignature(astNode, packageName, className) { argument 248 this.signature = getNodeSignature(astNode, packageName, className);
|
| /interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/ |
| D | rawCodeProcessor.ts | 36 if (node.astNode) { 37 const nodeSignature = AstNodeHelper.getNodeSignature(node.astNode); 41 const sourceFile = node.astNode.getSourceFile(); 45 const { line, character } = sourceFile.getLineAndCharacterOfPosition(node.astNode.getStart()); 46 this.rawSourceCodeInfo?.addRawNodeInfo(nodeSignature, node.astNode, line + 1, character);
|
| D | modificationProcessor.ts | 49 if (node.astNode) { 50 const curNode: ts.Node = node.astNode; 52 …const checkResults = apiChecker.checkJSDoc(node.astNode, node.astNode?.getSourceFile(), this.conte… 88 CommentHelper.setComment(node.astNode, newCommentInfos); 210 if (node.astNode) { 211 …tagName === 'returns' && (ts.isMethodDeclaration(node.astNode) || ts.isMethodSignature(node.astNod… 212 ts.isFunctionDeclaration(node.astNode) || ts.isCallSignatureDeclaration(node.astNode)) && 213 node.astNode.type) { 214 if (ts.isTypeLiteralNode(node.astNode.type)) { 216 } else if (ts.isFunctionTypeNode(node.astNode.type)) { [all …]
|
| D | typedef.ts | 197 astNode: ts.Node; 214 astNode?: ts.Node; property 422 astNode: ts.Node property
|
| D | outputProcessor.ts | 55 if (node.astNode && node.commentInfos && node.commentInfos.length > 0) { 56 CommentHelper.addComment(node.astNode, node.commentInfos);
|
| D | apiSplitProcessor.ts | 44 if (node.astNode === undefined) { 47 const nodeProcessor = nodeProcessorMap.get(node.astNode.kind); 48 return nodeProcessor ? nodeProcessor(node.astNode, this.context) : undefined;
|
| D | coreImpls.ts | 137 astNode: node, 203 const rootNode = callback.onTransformNode({ astNode: transformSourceFile }); 905 astNode: node
|