MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _for_all

Function _for_all

editor/debugger/editor_debugger_node.cpp:61–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60template <typename Func>
61void _for_all(TabContainer *p_node, const Func &p_func) {
62 for (int i = 0; i < p_node->get_tab_count(); i++) {
63 ScriptEditorDebugger *dbg = Object::cast_to<ScriptEditorDebugger>(p_node->get_tab_control(i));
64 ERR_FAIL_NULL(dbg);
65 p_func(dbg);
66 }
67}
68
69EditorDebuggerNode *EditorDebuggerNode::singleton = nullptr;
70

Callers 15

set_keep_openMethod · 0.85
stopMethod · 0.85
_notificationMethod · 0.85
_update_errorsMethod · 0.85
_debugger_stoppedMethod · 0.85
_pausedMethod · 0.85
set_breakpointMethod · 0.85
reload_all_scriptsMethod · 0.85
reload_scriptsMethod · 0.85
_methods_changedMethod · 0.85
_properties_changedMethod · 0.85
set_live_debuggingMethod · 0.85

Calls 2

get_tab_controlMethod · 0.80
get_tab_countMethod · 0.45

Tested by

no test coverage detected