/third_party/typescript/tests/baselines/reference/ |
D | completionsJSDocTags.baseline | 23 "jsDoc": [ 90 "jsDoc": [ 169 "jsDoc": [ 304 "jsDoc": [ 371 "jsDoc": [ 455 "jsDoc": [ 526 "jsDoc": [
|
D | completionsStringMethods.baseline | 19 "jsDoc": [ 135 "jsDoc": [ 251 "jsDoc": [ 379 "jsDoc": [ 557 "jsDoc": [ 789 "jsDoc": [ 984 "jsDoc": [ 1116 "jsDoc": [ 1446 "jsDoc": [ 1578 "jsDoc": [ [all …]
|
D | completionsCommentsCommentParsing.baseline | 23 "jsDoc": [ 148 "jsDoc": [ 232 "jsDoc": [ 408 "jsDoc": [ 553 "jsDoc": [ 803 "jsDoc": [ 1387 "jsDoc": [ 1680 "jsDoc": [ 2191 "jsDoc": [ 2327 "jsDoc": [ [all …]
|
D | completionsCommentsFunctionDeclaration.baseline | 23 "jsDoc": [ 814 "jsDoc": [ 914 "jsDoc": [ 1062 "jsDoc": [ 1162 "jsDoc": [ 1403 "jsDoc": [ 2227 "jsDoc": [ 2327 "jsDoc": [ 2823 "jsDoc": [ 2923 "jsDoc": [ [all …]
|
D | completionsCommentsFunctionExpression.baseline | 126 "jsDoc": [ 1025 "jsDoc": [ 1125 "jsDoc": [ 1273 "jsDoc": [ 1373 "jsDoc": [ 1566 "jsDoc": [ 2270 "jsDoc": [ 2370 "jsDoc": [ 2839 "jsDoc": [ 2939 "jsDoc": [ [all …]
|
D | completionsCommentsClass.baseline | 1064 "jsDoc": [ 1164 "jsDoc": [ 1312 "jsDoc": [ 1412 "jsDoc": [ 1605 "jsDoc": [ 2309 "jsDoc": [ 2409 "jsDoc": [ 2878 "jsDoc": [ 2978 "jsDoc": [ 3977 "jsDoc": [ [all …]
|
D | completionsCommentsClassMembers.baseline | 2093 "jsDoc": [ 2193 "jsDoc": [ 2341 "jsDoc": [ 2441 "jsDoc": [ 2634 "jsDoc": [ 3326 "jsDoc": [ 3426 "jsDoc": [ 3823 "jsDoc": [ 3923 "jsDoc": [ 4862 "jsDoc": [ [all …]
|
D | completionEntryForUnionMethod.baseline | 23 "jsDoc": [ 561 "jsDoc": [ 1219 "jsDoc": [ 1869 "jsDoc": [ 2271 "jsDoc": [ 2457 "jsDoc": [ 2589 "jsDoc": [ 2841 "jsDoc": [ 3353 "jsDoc": [ 3489 "jsDoc": [ [all …]
|
/third_party/typescript/src/services/ |
D | smartSelection.ts | 63 if (hasJSDocNodes(node) && node.jsDoc?.length) { 64 pushSelectionRange(first(node.jsDoc).getStart(), end); 74 …if (firstChild && hasJSDocNodes(firstChild) && firstChild.jsDoc?.length && firstChild.getStart() !… 75 start = Math.min(start, first(firstChild.jsDoc).getStart());
|
D | textChanges.ts | 481 if (node.jsDoc) { 482 for (const jsdoc of node.jsDoc) { 495 const comments = flatMap(node.jsDoc, jsDoc => 496 …isString(jsDoc.comment) ? factory.createJSDocText(jsDoc.comment) : jsDoc.comment) as JSDocComment[… 497 const jsDoc = singleOrUndefined(node.jsDoc); constant 498 …return jsDoc && positionsAreOnSameLine(jsDoc.pos, jsDoc.end, sourceFile) && length(comments) === 0… 507 const oldTags = flatMapToMutable(parent.jsDoc, j => j.tags); 517 …this.replaceJSDocComment(sourceFile, parent, filter(flatMapToMutable(parent.jsDoc, j => j.tags), p… 968 jsDocNode.jsDoc = parent.jsDoc;
|
D | jsDoc.ts | 360 …ommentOwnerJsDoc = hasJSDocNodes(commentOwner) && commentOwner.jsDoc ? commentOwner.jsDoc : undefi… 387 const hasTag = (commentOwnerJsDoc || []).some(jsDoc => !!jsDoc.tags);
|
D | navigationBar.ts | 456 forEach(node.jsDoc, jsDoc => { 457 forEach(jsDoc.tags, tag => {
|
D | classifier.ts | 691 if (docCommentAndDiagnostics && docCommentAndDiagnostics.jsDoc) { 693 setParent(docCommentAndDiagnostics.jsDoc, token as HasJSDoc); 694 classifyJSDocComment(docCommentAndDiagnostics.jsDoc);
|
D | services.ts | 24 public jsDoc?: JSDoc[]; 166 forEach((node as JSDocContainer).jsDoc, processNode); 286 …return this.kind === SyntaxKind.EndOfFileToken ? (this as EndOfFileToken).jsDoc || emptyArray : em… 2823 for (const jsDoc of node.jsDoc!) { constant 2824 forEachChild(jsDoc, walk);
|
D | types.ts | 1309 jsDoc?: JSDocTagInfo[]; property
|
/third_party/typescript/src/testRunner/unittests/ |
D | jsDocParsing.ts | 100 JSON.stringify(comment.jsDoc, 405 assert.equal((doc?.jsDoc.tags?.[0] as JSDocTemplateTag).typeParameters.length, 0);
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | completions.ts | 47 jsDoc: undefined, constant 213 jsDoc: [{ constant
|
/third_party/typescript/ |
D | README.md | 71 * [x] Add jsDoc and displayParts info in `getCompletionAtPosition` interface.
|
/third_party/typescript/src/compiler/ |
D | utilities.ts | 524 return getTokenPosOfNode(node.jsDoc![0], sourceFile); 2835 … addRange(result, filterOwnedJSDocTags(hostNode, last((hostNode.initializer as HasJSDoc).jsDoc!))); 2841 result = addRange(result, filterOwnedJSDocTags(hostNode, last(node.jsDoc!))); 2857 function filterOwnedJSDocTags(hostNode: Node, jsDoc: JSDoc | JSDocTag) { 2858 if (isJSDoc(jsDoc)) { 2859 const ownedTags = filter(jsDoc.tags, tag => ownsJSDocTag(hostNode, tag)); 2860 return jsDoc.tags === ownedTags ? [jsDoc] : ownedTags; 2862 return ownsJSDocTag(hostNode, jsDoc) ? [jsDoc] : undefined; 2959 const jsDoc = getJSDocRoot(node); constant 2960 if (!jsDoc) { [all …]
|
D | utilitiesPublic.ts | 2041 const { jsDoc } = node as JSDocContainer; constant 2042 return !!jsDoc && jsDoc.length > 0;
|
D | parser.ts | 1012 if (result && result.jsDoc) { 1015 Parser.fixupParentReferences(result.jsDoc); 1424 Debug.assert(!node.jsDoc); // Should only be called once per node 1425 …const jsDoc = mapDefined(getJSDocCommentRanges(node, sourceText), comment => JSDocParser.parseJSDo… 1426 if (jsDoc.length) node.jsDoc = jsDoc; 8587 …ontent: string, start: number | undefined, length: number | undefined): { jsDoc: JSDoc, diagnostic… 8589 … const jsDoc = doInsideOfContext(NodeFlags.JSDoc, () => parseJSDocCommentWorker(start, length)); 8595 return jsDoc ? { jsDoc, diagnostics } : undefined; 9742 for (const jsDocComment of node.jsDoc!) { 9852 for (const jsDocComment of node.jsDoc!) { [all …]
|
/third_party/typescript/src/services/codefixes/ |
D | inferFromUsage.ts | 370 const jsDoc = factory.createJSDocComment(/*comment*/ undefined, [typeTag]); constant 371 … changes.insertNodeAt(sourceFile, param.getStart(sourceFile), jsDoc, { suffix: " " });
|
/third_party/typescript/src/compiler/transformers/ |
D | declarations.ts | 709 updated.jsDoc = original.jsDoc;
|
/third_party/typescript/src/server/ |
D | protocol.ts | 2372 jsDoc?: JsDocTagInfo[]; property
|
/third_party/typescript/lib/ |
D | protocol.d.ts | 1813 jsDoc?: JsDocTagInfo[]; property
|