Completely re-implemented and tested Matchers for DeckRecognizer

The new DeckRecognizer implementation comes fully tested to check the new multiple line request format supported.
The DeckRecognizer has been made very versatile for card recognition - supporting request with multiple formats - as well as for NON-CARD tokens including "Deck Name", "Deck Sections", and "Card (Core) Types".

There is also integration for constraints imposed on card matching due to
restrictions (in set) from Game Format, Deck Format (banned cards), and Date (Release Before).
In those cases, new Token Types will be returned (i.e. "IllegalCard" and "InvalidCard", respectively) that could be pretty-printed or emphasised in DeckImport.
This commit is contained in:
leriomaggio
2021-09-02 17:43:13 +01:00
parent 624dd62665
commit 83853280b6
2 changed files with 1430 additions and 219 deletions

File diff suppressed because it is too large Load Diff