Beispiel #1
0
 private bool TestTerminals()
 {
     foreach (char c in Result)
     {
         if (NonTerminals.Contains(c))
         {
             return(false);
         }
     }
     return(true);
 }
Beispiel #2
0
 public override bool IsNonTerminal(string symbol) => NonTerminals.Contains(symbol);