#22·lexer

在 `getCatchablePattern` 中添加一个"键"

作者: jdeniau创建于 2018年10月10日更新于 2018年10月10日

Today, getCatchablePattern should return an array, and the matching value is passed into getType.

It could be really handy to have an indexed array and pass the matching index into the getType function like this: