11 using boost::any_cast;
33 return '(' + c.first +
',' + c.second +
')';
43 s.append(sep).append(it->to_string());
56 s.append(sep).append(it->first +
':' + it->second.to_string());
96 it->set_prolog(new_prolog_state);
104 it->second.set_prolog(new_prolog_state);
122 static std::regex
const splitRE(
"(.*):([0-9-]*)");
124 if (std::regex_match(
src_info, m, splitRE)) {
126 std::string(
"line ") + m[2].str() +
" of file \"" + m[1].str() +
'"';
128 result =
"<unknown>";
bool isSnippetMode(bool m)
std::pair< std::string, std::string > complex_t
std::vector< extended_value > sequence_t
const_iterator cbegin() const
std::string to_string() const
std::string pretty_src_info() const
const_iterator cend() const
void set_prolog(bool new_prolog_state)