public LLParser(string stream, Language _lg) { lexx = new Lexer(stream); lg = _lg; M = lg.M; Stack.Push(lg.Term[0]); List <InheritedAttribute> ls = new List <InheritedAttribute>(); ls.Add(new InheritedAttribute(lg.FindNTermByName(lg.Prod[0].lhs.Name), null)); Stack.Push(ls[0]); token = lexx.getToken(); }