public static GATNode _term(this LL1Processor ll1) { var node = new GATNode(); node.generator = Term; var factor1 = ll1._factor(); node.AddChild(factor1); var next = WordContainer.GetWordType(); while (next == WordType.MULOP) { var mulop = WordContainer.Advance(WordType.MULOP); node.AddChild(mulop); var factor2 = ll1._factor(); node.AddChild(factor2); next = WordContainer.GetWordType(); } return(node); }