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

Method getLocationExtra

src/ast/ast.cpp:798–808  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796 }
797
798 string Function::getLocationExtra() const {
799 if ( !inferStack.size() ) {
800 return "";
801 }
802 TextWriter ss;
803 ss << "\nwhile compiling " << describe() << "\n";
804 for ( const auto & ih : inferStack ) {
805 ss << "instanced from " << ih.func->describe() << " at " << ih.at.describe() << "\n";
806 }
807 return ss.str();
808 }
809
810 string Function::describeName(DescribeModule moduleName) const {
811 TextWriter ss;

Callers 3

visitMethod · 0.80
visitMethod · 0.80
errorMethod · 0.80

Calls 4

describeFunction · 0.85
sizeMethod · 0.45
describeMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected