void DumpErrors(AnalysisResultPtr ar) { JSON::CodeError::OutputStream o(std::cerr, ar); s_code_errors.serialize(o); }
void SaveErrors(JSON::CodeError::OutputStream &out) { s_code_errors.serialize(out); }