Lines Matching defs:context

4411     static parse_error create(int id_, const position_t& pos, const std::string& what_arg, BasicJsonContext context)
4414 position_string(pos), ": ", exception::diagnostics(context), what_arg);
4419 static parse_error create(int id_, std::size_t byte_, const std::string& what_arg, BasicJsonContext context)
4423 ": ", exception::diagnostics(context), what_arg);
4455 static invalid_iterator create(int id_, const std::string& what_arg, BasicJsonContext context)
4457 std::string w = concat(exception::name("invalid_iterator", id_), exception::diagnostics(context), what_arg);
4473 static type_error create(int id_, const std::string& what_arg, BasicJsonContext context)
4475 std::string w = concat(exception::name("type_error", id_), exception::diagnostics(context), what_arg);
4490 static out_of_range create(int id_, const std::string& what_arg, BasicJsonContext context)
4492 std::string w = concat(exception::name("out_of_range", id_), exception::diagnostics(context), what_arg);
4507 static other_error create(int id_, const std::string& what_arg, BasicJsonContext context)
4509 std::string w = concat(exception::name("other_error", id_), exception::diagnostics(context), what_arg);
11958 @param[in] context further context information (for diagnostics)
11962 bool unexpect_eof(const input_format_t format, const char* context) const
11967 parse_error::create(110, chars_read, exception_message(format, "unexpected end of input", context), nullptr));
11985 @param[in] context further context information
11990 const std::string& context) const
12021 return concat(error_msg, ' ', context, ": ", detail);
12564 std::string exception_message(const token_type expected, const std::string& context)
12568 if (!context.empty())
12570 error_msg += concat("while parsing ", context, ' ');
23996 // context-sensitive error message