MCPcopy Create free account
hub / github.com/jsdoc/jsdoc / setParser

Method setParser

lib/jsdoc/src/visitor.js:730–732  ·  view source on GitHub ↗

* Set the parser instance that visitors can use. * * @param {module:jsdoc/src/parser.Parser} parser - The parser instance.

(parser)

Source from the content-addressed store, hash-verified

728 * @param {module:jsdoc/src/parser.Parser} parser - The parser instance.
729 */
730 setParser(parser) {
731 this._parser = parser;
732 }
733
734 // TODO: docs
735 addAstNodeVisitor(visitor) {

Callers 1

constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected