MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / format

Method format

include/chaiscript/language/chaiscript_common.hpp:428–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426 }
427
428 static std::string format(const std::string &t_why, const File_Position &t_where, const std::string &t_fname,
429 const std::vector<Boxed_Value> &t_parameters, bool t_dot_notation, const chaiscript::detail::Dispatch_Engine &t_ss)
430 {
431 std::stringstream ss;
432
433 ss << format_why(t_why);
434 ss << " ";
435
436 ss << "With parameters: " << format_parameters(t_parameters, t_dot_notation, t_ss);
437 ss << " ";
438
439 ss << format_filename(t_fname);
440 ss << " ";
441
442 ss << format_location(t_where);
443
444 return ss.str();
445 }
446
447 static std::string format(const std::string &t_why,
448 const std::vector<Boxed_Value> &t_parameters,

Callers

nothing calls this directly

Calls 1

strMethod · 0.45

Tested by

no test coverage detected