node-query/node_modules/jsdoc/test/fixtures/testPlugin2.js

30 lines
831 B
JavaScript
Raw Normal View History

2014-10-20 16:56:45 -04:00
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;
}
};