mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
s/Mozilla Parser API/ESTree/
This commit is contained in:
parent
1d4d107b28
commit
c7c205d5e2
@ -27,7 +27,7 @@ exports.installPlugins = (plugins, parser) => {
|
||||
plugin.defineTags(dictionary);
|
||||
}
|
||||
|
||||
// ...add a Mozilla Parser API node visitor
|
||||
// ...add an ESTree node visitor
|
||||
if (plugin.astNodeVisitor) {
|
||||
parser.addAstNodeVisitor(plugin.astNodeVisitor);
|
||||
}
|
||||
|
||||
@ -711,7 +711,7 @@ class Visitor {
|
||||
constructor() {
|
||||
this._parser = null;
|
||||
|
||||
// Mozilla Parser API node visitors added by plugins
|
||||
// ESTree node visitors added by plugins
|
||||
this._nodeVisitors = [];
|
||||
// built-in visitors
|
||||
this._visitors = [
|
||||
|
||||
@ -626,7 +626,7 @@ walkers[Syntax.YieldExpression] = (node, parent, state, cb) => {
|
||||
};
|
||||
|
||||
/**
|
||||
* Create a walker that can traverse an AST that is consistent with the Mozilla Parser API.
|
||||
* Create a walker that can traverse an ESTree AST.
|
||||
*
|
||||
* @memberof module:jsdoc/src/walker
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user