surrogate
Version:
Object method hooks made easy
19 lines (16 loc) • 520 B
JavaScript
class $3f95177ca42b9af5$export$335404972d6e5b14 {
constructor(node, using){
this.node = node;
this.using = using;
}
shouldRun() {
return this.node.shouldRun(this.using);
}
run(node) {
const { container: container, didError: didError } = node;
const handler = container.getHandlerRunner(node);
handler.run(this.using, didError);
}
}
export {$3f95177ca42b9af5$export$335404972d6e5b14 as HandlerRule};
//# sourceMappingURL=surrogate.0a92a057.js.map