🚧
Still under progress. Soon will be finished.
Description
Reflected node that represents a documentation comment
Methods
-
hasTag
codeWhether the comment has the specified tag
hasTag(name: string): boolean
Parameters
name string
The name of the documentation tag to check
Returns
boolean
:True if the block tag exist, otherwise false
-
getTag
codeReturns the first tag with the given name.
getTag(name: string): CommentPart | undefined
Parameters
name string
The name of the tag.
Returns
CommentPart | undefined
:The first tag with the given name or
undefined
if no such tag exists. -
getAllTags
codegetAllTags(name: string): CommentPart[]
Parameters
name string
Returns
CommentPart[]
: -
isIgnored
codeWhether the documentation comment has tags that make the associated declaration ignored for documentation purposes.
isIgnored(): boolean
Returns
boolean
:True if the symbol should be ignored based on the JSDoc, otherwise false
-
serialize
codeSerializes the reflected node
serialize(): CommentPart[]
Returns
CommentPart[]
:The reflected node as a serializable object