View Source LibJudge.Tokenizer (lib_judge v0.4.2)
Tokenizer for the MTG Comprehensive Rules
Link to this section Summary
Link to this section Types
Specs
Specs
effective_date() :: {:effective_date, Date.t()}
Specs
glossary() :: {:glossary, [glossary_item()]}
Specs
Specs
intro() :: {:intro, String.t()}
Specs
rule() :: {:rule, {type :: LibJudge.Rule.rule_type(), rule :: LibJudge.Rule.t(), body :: String.t(), examples :: [String.t()]}}
Specs
title() :: {:title, String.t()}
Specs
Specs
token_type() :: :title | :effective_date | :intro | :contents | :rule | :glossary