s/Mozilla Parser API/ESTree/

This commit is contained in:
Jeff Williams 2019-01-26 15:45:28 -08:00
parent 1d4d107b28
commit c7c205d5e2
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ exports.installPlugins = (plugins, parser) => {
plugin.defineTags(dictionary); plugin.defineTags(dictionary);
} }
// ...add a Mozilla Parser API node visitor // ...add an ESTree node visitor
if (plugin.astNodeVisitor) { if (plugin.astNodeVisitor) {
parser.addAstNodeVisitor(plugin.astNodeVisitor); parser.addAstNodeVisitor(plugin.astNodeVisitor);
} }

View File

@ -711,7 +711,7 @@ class Visitor {
constructor() { constructor() {
this._parser = null; this._parser = null;
// Mozilla Parser API node visitors added by plugins // ESTree node visitors added by plugins
this._nodeVisitors = []; this._nodeVisitors = [];
// built-in visitors // built-in visitors
this._visitors = [ this._visitors = [

View File

@ -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 * @memberof module:jsdoc/src/walker
*/ */