示例#1
0
 bool MatchAny(params TokenType[] types)
 {
     tmp = lexer.Next();
     foreach (var type in types)
         if (tmp.Type == type)
             return true;
     lexer.Back();
     return false;
 }