ast-plugin
Version:
The simplest abstract syntax tree walker.
28 lines (23 loc) • 449 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Plugin = void 0;
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Plugin = function Plugin(cfg) {
_classCallCheck(this, Plugin);
this.cfg = cfg;
} //
// pre() {
//
// }
//
// visitor() {
//
// }
//
// post() {
//
// }
;
exports.Plugin = Plugin;