Skip to content

cleanup/extend ostream to ease usage

Many places with things like this:

os.writeKeyword(key) << val << token::END_STATEMENT << nl;

Provide a single os.writeEntry(key, val) replacement.

The previously introduced Ostream::beginBlock and Ostream::endBlock should include a newline for convenience.