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