| 59 | |
| 60 | template <typename Func> |
| 61 | void _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 | |
| 69 | EditorDebuggerNode *EditorDebuggerNode::singleton = nullptr; |
| 70 |
no test coverage detected