(plugin, parserName)
| 62 | } |
| 63 | |
| 64 | function initParser(plugin, parserName) { |
| 65 | const parserOrParserInitFunction = plugin.parsers[parserName]; |
| 66 | return typeof parserOrParserInitFunction === "function" |
| 67 | ? parserOrParserInitFunction() |
| 68 | : parserOrParserInitFunction; |
| 69 | } |
| 70 | |
| 71 | async function initPrinter(plugin, astFormat) { |
| 72 | const printerOrPrinterInitFunction = plugin.printers[astFormat]; |
no outgoing calls
no test coverage detected
searching dependent graphs…