5152535455565758596061
IExpression e = product(); while (true) { if (accept('+')) { e = new Add(e, product()); } else if (accept('-')) { e = new Sub(e, product()); } else { return e; } } }
5051525354555657585960