MCPcopy Create free account
hub / github.com/babel/minify / wrapPluginVisitorMethod

Function wrapPluginVisitorMethod

scripts/plugin-timing.js:59–65  ·  view source on GitHub ↗
(pluginAlias, visitorType, callback)

Source from the content-addressed store, hash-verified

57 minified: true,
58 compact: true,
59 wrapPluginVisitorMethod(pluginAlias, visitorType, callback) {
60 return function(...args) {
61 b.push(pluginAlias);
62 callback.call(this, ...args);
63 b.pop(pluginAlias);
64 };
65 }
66 });
67
68 const table = new Table({

Callers

nothing calls this directly

Calls 2

pushMethod · 0.80
popMethod · 0.80

Tested by

no test coverage detected