easyappointments/data/scripts/jsdoc/test/fixtures/testPlugin2.js
2013-05-20 17:21:58 +00:00

29 lines
831 B
JavaScript

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;
}
};