MCPcopy Create free account
hub / github.com/KLayout/klayout / to_string

Method to_string

src/tl/tl/tlScriptError.cc:65–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65std::string
66BacktraceElement::to_string() const
67{
68 if (line > 0) {
69 if (! more_info.empty ()) {
70 return file + ":" + tl::to_string (line) + ":" + more_info;
71 } else {
72 return file + ":" + tl::to_string (line);
73 }
74 } else {
75 return more_info;
76 }
77}
78
79// -------------------------------------------------------------------
80// ScriptError implementation

Callers 1

msgMethod · 0.45

Calls 2

to_stringFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected