UNPKG

node-web-mvc

Version:
17 lines (16 loc) 617 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const Pointcut_1 = __importDefault(require("./Pointcut")); class FunctionExpressionPointcut extends Pointcut_1.default { setExpression(expression) { this.expression = expression; } matches(clazz, method) { var _a; return (_a = this.expression) === null || _a === void 0 ? void 0 : _a.call(this, clazz, method); } } exports.default = FunctionExpressionPointcut;