UnaryExpr implementation
UnaryExpr::UnaryExpr
(const char* x, const Expr& y):
op(x), e(y) { }
void UnaryExpr::print(FILE* f)
{
fprintf(f, ``(%s'', op);
e.print(f);
fprintf(f, ``)'');
}
Previous slide
Next slide
Back to first slide
View graphic version