pub fn parse_cost(raw: &str) -> CostExpand description
Parse a Cost$ value from the DSL.
Examples:
"T"→ tap"1 G"→ mana cost {1}{G}"T 1 G"→ tap + mana"Sac<1/CARDNAME>"→ sacrifice self"PayLife<3>"→ pay 3 life"Exile<1/Creature>"→ exile a creature from battlefield"ExileFromHand<1/Card>"→ exile from hand"Return<1/CARDNAME>"→ return self to hand"tapXType<1/Creature>"→ tap a creature"AddCounter<1/LOYALTY>"→ add a loyalty counter"SubCounter<1/LOYALTY/CARDNAME>"→ remove loyalty counter