public void AddRule(LexerRule <TokenType> rule) => Rules.Add(rule);
public LexerToken(LexerRule <TokenType> rule, Match match) { Rule = rule; RegexMatch = match; }