示例#1
0
        string _GetImplicitTermId()
        {
            var result = "implicit";
            var i      = 2;

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