| 1999 | } |
| 2000 | |
| 2001 | Json::Value Target::DumpLanguageStandard(JBTs<std::string> const& standard) |
| 2002 | { |
| 2003 | Json::Value languageStandard = Json::objectValue; |
| 2004 | languageStandard["standard"] = standard.Value; |
| 2005 | if (!standard.Backtraces.empty()) { |
| 2006 | Json::Value backtraces = Json::arrayValue; |
| 2007 | for (JBTIndex backtrace : standard.Backtraces) { |
| 2008 | backtraces.append(backtrace.Index); |
| 2009 | } |
| 2010 | languageStandard["backtraces"] = backtraces; |
| 2011 | } |
| 2012 | return languageStandard; |
| 2013 | } |
| 2014 | |
| 2015 | Json::Value Target::DumpDefine(JBT<std::string> const& def) |
| 2016 | { |
no test coverage detected