public Parser(string text) { lex = new Lex <INode>(text); Root = exp(); if (!lex.Eof()) { throw new FormatException("parse error token=" + lex.Token() + " " + lex.Show()); } }