Files
memecoin-botV2/.pnpm-store/v10/files/a4/06fbeff5cd2a85fa84f93f6f4463728394709b32be61076e675d660e78657be16e66aa852f408e5155a8ec111389bf48b4561db131309c03030ecc32f8d171

11 lines
832 B
Plaintext

import type { JSDocComment, JSDocTag } from "./ast.generated.ts";
import { type Node, type NodeArray, SyntaxKind } from "./ast.ts";
/** Get all JSDoc tags related to a node, including those on parent nodes. */
export declare function getJSDocTags(node: Node): readonly JSDocTag[];
/** Gets all JSDoc tags that match a specified predicate */
export declare function getAllJSDocTags<T extends JSDocTag>(node: Node, predicate: (tag: JSDocTag) => tag is T): readonly T[];
/** Gets all JSDoc tags of a specified kind */
export declare function getAllJSDocTagsOfKind(node: Node, kind: SyntaxKind): readonly JSDocTag[];
/** Gets the text of a jsdoc comment, flattening links to their text. */
export declare function getTextOfJSDocComment(comment?: string | NodeArray<JSDocComment>): string | undefined;
//# sourceMappingURL=jsdoc.d.ts.map