Home
last modified time | relevance | path

Searched refs:jsDoc (Results 1 – 25 of 39) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DcompletionsJSDocTags.baseline23 "jsDoc": [
90 "jsDoc": [
169 "jsDoc": [
304 "jsDoc": [
371 "jsDoc": [
455 "jsDoc": [
526 "jsDoc": [
DcompletionsStringMethods.baseline19 "jsDoc": [
135 "jsDoc": [
251 "jsDoc": [
379 "jsDoc": [
557 "jsDoc": [
789 "jsDoc": [
984 "jsDoc": [
1116 "jsDoc": [
1446 "jsDoc": [
1578 "jsDoc": [
[all …]
DcompletionsCommentsCommentParsing.baseline23 "jsDoc": [
148 "jsDoc": [
232 "jsDoc": [
408 "jsDoc": [
553 "jsDoc": [
803 "jsDoc": [
1387 "jsDoc": [
1680 "jsDoc": [
2191 "jsDoc": [
2327 "jsDoc": [
[all …]
DcompletionsCommentsFunctionDeclaration.baseline23 "jsDoc": [
814 "jsDoc": [
914 "jsDoc": [
1062 "jsDoc": [
1162 "jsDoc": [
1403 "jsDoc": [
2227 "jsDoc": [
2327 "jsDoc": [
2823 "jsDoc": [
2923 "jsDoc": [
[all …]
DcompletionsCommentsFunctionExpression.baseline126 "jsDoc": [
1025 "jsDoc": [
1125 "jsDoc": [
1273 "jsDoc": [
1373 "jsDoc": [
1566 "jsDoc": [
2270 "jsDoc": [
2370 "jsDoc": [
2839 "jsDoc": [
2939 "jsDoc": [
[all …]
DcompletionsCommentsClass.baseline1064 "jsDoc": [
1164 "jsDoc": [
1312 "jsDoc": [
1412 "jsDoc": [
1605 "jsDoc": [
2309 "jsDoc": [
2409 "jsDoc": [
2878 "jsDoc": [
2978 "jsDoc": [
3977 "jsDoc": [
[all …]
DcompletionsCommentsClassMembers.baseline2093 "jsDoc": [
2193 "jsDoc": [
2341 "jsDoc": [
2441 "jsDoc": [
2634 "jsDoc": [
3326 "jsDoc": [
3426 "jsDoc": [
3823 "jsDoc": [
3923 "jsDoc": [
4862 "jsDoc": [
[all …]
DcompletionEntryForUnionMethod.baseline23 "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/
DsmartSelection.ts63 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());
DtextChanges.ts481 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;
DjsDoc.ts360 …ommentOwnerJsDoc = hasJSDocNodes(commentOwner) && commentOwner.jsDoc ? commentOwner.jsDoc : undefi…
387 const hasTag = (commentOwnerJsDoc || []).some(jsDoc => !!jsDoc.tags);
DnavigationBar.ts456 forEach(node.jsDoc, jsDoc => {
457 forEach(jsDoc.tags, tag => {
Dclassifier.ts691 if (docCommentAndDiagnostics && docCommentAndDiagnostics.jsDoc) {
693 setParent(docCommentAndDiagnostics.jsDoc, token as HasJSDoc);
694 classifyJSDocComment(docCommentAndDiagnostics.jsDoc);
Dservices.ts24 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);
Dtypes.ts1309 jsDoc?: JSDocTagInfo[]; property
/third_party/typescript/src/testRunner/unittests/
DjsDocParsing.ts100 JSON.stringify(comment.jsDoc,
405 assert.equal((doc?.jsDoc.tags?.[0] as JSDocTemplateTag).typeParameters.length, 0);
/third_party/typescript/src/testRunner/unittests/tsserver/
Dcompletions.ts47 jsDoc: undefined, constant
213 jsDoc: [{ constant
/third_party/typescript/
DREADME.md71 * [x] Add jsDoc and displayParts info in `getCompletionAtPosition` interface.
/third_party/typescript/src/compiler/
Dutilities.ts524 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 …]
DutilitiesPublic.ts2041 const { jsDoc } = node as JSDocContainer; constant
2042 return !!jsDoc && jsDoc.length > 0;
Dparser.ts1012 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/
DinferFromUsage.ts370 const jsDoc = factory.createJSDocComment(/*comment*/ undefined, [typeTag]); constant
371 … changes.insertNodeAt(sourceFile, param.getStart(sourceFile), jsDoc, { suffix: " " });
/third_party/typescript/src/compiler/transformers/
Ddeclarations.ts709 updated.jsDoc = original.jsDoc;
/third_party/typescript/src/server/
Dprotocol.ts2372 jsDoc?: JsDocTagInfo[]; property
/third_party/typescript/lib/
Dprotocol.d.ts1813 jsDoc?: JsDocTagInfo[]; property

12