* 根据格式 ID 获取解析器
(formatId: string)
| 160 | * 根据格式 ID 获取解析器 |
| 161 | */ |
| 162 | getParserById(formatId: string): Parser | null { |
| 163 | const module = this.formats.find((m) => m.feature.id === formatId) |
| 164 | return module?.parser || null |
| 165 | } |
| 166 | |
| 167 | /** |
| 168 | * 获取所有支持的格式 |
no outgoing calls
no test coverage detected