swc/crates/jsdoc/tests/fixtures/testPlugin2.js

23 lines
650 B
JavaScript
Raw Normal View History

2020-08-14 12:20:25 +03:00
global.jsdocPluginsTest.plugin2 = {};
exports.handlers = {
fileBegin: function() {
global.jsdocPluginsTest.plugin2.fileBegin = true;
},
beforeParse: function() {
global.jsdocPluginsTest.plugin2.beforeParse = true;
},
jsdocCommentFound: function() {
global.jsdocPluginsTest.plugin2.jsdocCommentFound = true;
},
symbolFound: function() {
global.jsdocPluginsTest.plugin2.symbolFound = true;
},
newDoclet: function() {
global.jsdocPluginsTest.plugin2.newDoclet = true;
},
fileComplete: function() {
global.jsdocPluginsTest.plugin2.fileComplete = true;
}
};