Example #1
0
 public Token(TokenType type, string parser, Stop stop = null)
 {
     Parser = new Regex(parser, RegexOptions.Compiled);
     Type = type;
     Stop = stop;
 }
Example #2
0
 public Token(TokenType type, string parser, Stop stop = null)
 {
     Parser = new Regex(parser, RegexOptions.Compiled);
     Type   = type;
     Stop   = stop;
 }