예제 #1
0
 public void AddRule(LexerRule <TokenType> rule) => Rules.Add(rule);
예제 #2
0
 public LexerToken(LexerRule <TokenType> rule, Match match)
 {
     Rule       = rule;
     RegexMatch = match;
 }