Classes
Members
Doclet
_
code
docletSrc
docletSrc
docletSrc
docletSrc
enumerable
errorMessage
errorMessage
filepath
isClass
jsdoc
kind
kind
kind
kind
kind
kind
kind
kind
newTags
node
parsedTag
path
pathname
Syntax
tagText
tagTitle
target[undefined]
target[undefined]
target[undefined]
target[undefined]
text
title
title
type
value
value
Methods
_replaceDictionary(dict)
Replace the existing tag dictionary with a new tag dictionary.
Used for testing only.
Parameters:
| Name | Type | Description |
|---|---|---|
dict |
module:jsdoc/tag/dictionary.Dictionary | The new tag dictionary. |
combine(primary, secondary) → {module:jsdoc/doclet.Doclet}
Combine two doclets into a new doclet.
Parameters:
| Name | Type | Description |
|---|---|---|
primary |
module:jsdoc/doclet.Doclet | The doclet whose properties will be used. |
secondary |
module:jsdoc/doclet.Doclet | The doclet to use as a fallback for properties that the primary doclet does not have. |
Returns:
A new doclet that combines the primary and secondary
doclets.
applyTag()
codeToKind()
copyMostProperties(primary, secondary, target, exclude)
Copy all but a list of excluded properties from one of two doclets onto a target doclet. Prefers
the primary doclet over the secondary doclet.
Parameters:
| Name | Type | Description |
|---|---|---|
primary |
module:jsdoc/doclet.Doclet | The primary doclet. |
secondary |
module:jsdoc/doclet.Doclet | The secondary doclet. |
target |
module:jsdoc/doclet.Doclet | The doclet to which properties will be copied. |
exclude |
Array.<string> | The names of properties to exclude from copying. |
copySpecificProperties(primary, secondary, target, include)
Copy specific properties from one of two doclets onto a target doclet, as long as the property
has a non-falsy value and a length greater than 0. Prefers the primary doclet over the secondary
doclet.
Parameters:
| Name | Type | Description |
|---|---|---|
primary |
module:jsdoc/doclet.Doclet | The primary doclet. |
secondary |
module:jsdoc/doclet.Doclet | The secondary doclet. |
target |
module:jsdoc/doclet.Doclet | The doclet to which properties will be copied. |
include |
Array.<string> | The names of properties to copy. |
dooper()
expandParamNames()
fakeMeta()
fixDescription()
getFilepath(The) → {string}
Get the full path to the source file that is associated with a doclet.
Parameters:
| Name | Type | Description |
|---|---|---|
The |
module:jsdoc/doclet.Doclet | doclet to check for a filepath. |
Returns:
The path to the doclet's source file, or an empty string if the path is not
available.
- Type
- string
removeGlobal()
toTags()
Convert the raw source of the doclet comment into an array of pseudo-Tag objects.