MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / describe

Method describe

src/simulate/debug_info.cpp:714–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

712 LineInfo LineInfo::g_LineInfoNULL;
713
714 string LineInfo::describe(bool fully) const {
715 if ( fileInfo ) {
716 TextWriter ss;
717 ss << fileInfo->name << ":" << line << ":" << column;
718 if ( fully ) ss << "-" << last_line << ":" << last_column;
719 return ss.str();
720 } else {
721 return string();
722 }
723 }
724
725 bool LineInfo::operator < ( const LineInfo & info ) const {
726 if ( fileInfo && info.fileInfo && fileInfo->name != info.fileInfo->name)

Callers 5

printSimFunctionFunction · 0.45
evalMethod · 0.45
reportMethod · 0.45
throw_fatal_errorMethod · 0.45
rethrowMethod · 0.45

Calls 2

stringClass · 0.85
strMethod · 0.45

Tested by

no test coverage detected