* Call hooks for expression. * @template T * @template R * @param {HookMap<SyncBailHook<T, R>>} hookMap hooks the should be called * @param {Expression | Super} expr expression * @param {AsArray<T>} args args for the hook * @returns {R | undefined} result of hook
(hookMap, expr, ...args)
| 4408 | * @returns {R | undefined} result of hook |
| 4409 | */ |
| 4410 | callHooksForExpression(hookMap, expr, ...args) { |
| 4411 | return this.callHooksForExpressionWithFallback( |
| 4412 | hookMap, |
| 4413 | expr, |
| 4414 | undefined, |
| 4415 | undefined, |
| 4416 | ...args |
| 4417 | ); |
| 4418 | } |
| 4419 | |
| 4420 | /** |
| 4421 | * Call hooks for expression with fallback. |
no test coverage detected