string _GetImplicitTermId() { var result = "implicit"; var i = 2; while (Productions.ContainsKey(result)) { result = string.Concat("implicit", i.ToString()); ++i; } return(result); }
internal bool IsTerminal(TSymbol term) { return(!(Productions.ContainsKey(term)) || Productions[term].Length == 0); }