MCPcopy Create free account
hub / github.com/GNOME/gjs / format_name

Method format_name

gi/function.cpp:801–813  ·  view source on GitHub ↗

Intended for error messages

Source from the content-addressed store, hash-verified

799
800// Intended for error messages
801std::string Gjs::Function::format_name() {
802 bool is_method = m_info.is_method();
803 std::string retval = is_method ? "method" : "function";
804 retval += ' ';
805 retval += m_info.ns();
806 retval += '.';
807 if (is_method) {
808 retval += m_info.container()->name();
809 retval += '.';
810 }
811 retval += m_info.name();
812 return retval;
813}
814
815namespace Gjs {
816

Callers 14

to_stringMethod · 0.45
define_classMethod · 0.45
prop_getterMethod · 0.45
prop_getter_funcMethod · 0.45
field_getterMethod · 0.45
prop_setterMethod · 0.45
prop_setter_funcMethod · 0.45
field_setterMethod · 0.45
init_gobjectMethod · 0.45
invokeMethod · 0.45

Calls 4

containerMethod · 0.80
is_methodMethod · 0.45
nsMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected