easyappointments/rsc/scripts/jsdoc/test/fixtures/testPlugin2.js

30 lines
831 B
JavaScript
Raw Normal View History

var myGlobal = require('jsdoc/util/global');
myGlobal.jsdocPluginsTest.plugin2 = {};
exports.handlers = {
fileBegin: function() {
myGlobal.jsdocPluginsTest.plugin2.fileBegin = true;
},
beforeParse: function() {
myGlobal.jsdocPluginsTest.plugin2.beforeParse = true;
},
jsdocCommentFound: function() {
myGlobal.jsdocPluginsTest.plugin2.jsdocCommentFound = true;
},
symbolFound: function() {
myGlobal.jsdocPluginsTest.plugin2.symbolFound = true;
},
newDoclet: function() {
myGlobal.jsdocPluginsTest.plugin2.newDoclet = true;
},
fileComplete: function() {
myGlobal.jsdocPluginsTest.plugin2.fileComplete = true;
}
};
exports.nodeVisitor = {
visitNode: function() {
myGlobal.jsdocPluginsTest.plugin2.visitNode = true;
}
};