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