recogn-parse
Version:
recogn-parse 提供了 识别--解析 的机制,使用者只需要添加识别器 和 解析器,然后就可以对事件进行识别和解析,适合用所有具备 识别--解析 流程的场景中,如:加载并显示各种模型、预览文件等
20 lines (11 loc) • 646 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [recogn-parse](./recogn-parse.md) > [SerialParser](./recogn-parse.serialparser.md)
## SerialParser type
串行解析器
**Signature:**
```typescript
export type SerialParser<Options = any> = Parse<Options>[];
```
**References:** [Parse](./recogn-parse.parse.md)
## Remarks
串行解析器就是一组解析函数,这些解析函数会依次执行,并会以最后一个解析函数返回的结果为最终的解析结果。这组解析函数中如果有解析函数抛出错误,则会终止解决流程。