Classes
Members
basename
- Source:
currentModule
- Source:
doclet
- Source:
doclet
- Source:
doclet
- Source:
e
- Source:
escape
- Source:
flatComment
- Source:
jsdoc
- Source:
longname
- Source:
memberof
- Source:
memberof
- Source:
memberof
- Source:
memberof
- Source:
memberof
- Source:
memberof
- Source:
memberofInfo
- Source:
memberofInfo
- Source:
memberofName
- Source:
memberofName
- Source:
moduleOriginalName
- Source:
msg
- Source:
nameAndPunc
- Source:
newDoclet
- Source:
parentDoclet
- Source:
resolveTargetRegExp
- Source:
SCOPE_NAMES
- Source:
SCOPE_PUNC
- Source:
scopePunc
- Source:
scopePunc
- Source:
scopePunc
- Source:
scopePunc
- Source:
scopePunc
- Source:
skipMemberof
- Source:
Syntax
- Source:
trailingPunc
- Source:
unresolved
- Source:
Methods
attachTo(parser)
Attach these event handlers to a particular instance of a parser.
Parameters:
| Name | Type | Description |
|---|---|---|
parser |
- Source:
addDoclet()
- Source:
addSymbolMemberof()
- Source:
createDoclet()
- Source:
createSymbolDoclet()
Create a doclet for a `symbolFound` event. The doclet represents an actual symbol that is defined
in the code.
Here's why this function is useful. A JSDoc comment can define a symbol name by including:
+ A `@name` tag
+ Another tag that accepts a name, such as `@function`
When the JSDoc comment defines a symbol name, we treat it as a "virtual comment" for a symbol
that isn't actually present in the code. And if a virtual comment is attached to a symbol, it's
possible that the comment and symbol have nothing to do with one another.
To handle this case, this function checks the new doclet to see if we've already added a name
property by parsing the JSDoc comment. If so, this method creates a replacement doclet that
ignores the attached JSDoc comment and only looks at the code.
- Source:
filterByLongname()
- Source:
findSymbolMemberof()
- Source:
newSymbolDoclet()
- Source:
processAlias()
- Source:
setCurrentModule()
- Source:
setDefaultScope()
- Source:
setModuleScopeMemberOf()
- Source: