swc/crates/jsdoc/tests/fixtures/testPlugin2.js
2021-11-10 16:39:01 +09:00

23 lines
650 B
JavaScript

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