(data, handler)
| 18 | } |
| 19 | |
| 20 | function parseHook(data, handler) { |
| 21 | if (data.normalModuleFactory.hooks) { |
| 22 | return data.normalModuleFactory.hooks.parser.for('javascript/auto').tap(tapName, handler); |
| 23 | } |
| 24 | return data.normalModuleFactory.plugin('parser', handler); |
| 25 | } |
| 26 | |
| 27 | function exportDeclarationHook(parser, handler) { |
| 28 | if (parser.hooks) { |
no outgoing calls
no test coverage detected
searching dependent graphs…