virtual void encode(const SourceRange& rng) { out << rng.getSourceId().getId() << ' ' << rng.getOffset() << ' ' << rng.getLength() << ' '; }