| 2008 | } |
| 2009 | |
| 2010 | void GDScriptInstance::get_method_list(List<MethodInfo> *p_list) const { |
| 2011 | const GDScript *sptr = script.ptr(); |
| 2012 | while (sptr) { |
| 2013 | for (const KeyValue<StringName, GDScriptFunction *> &E : sptr->member_functions) { |
| 2014 | p_list->push_back(E.value->get_method_info()); |
| 2015 | } |
| 2016 | sptr = sptr->_base; |
| 2017 | } |
| 2018 | } |
| 2019 | |
| 2020 | bool GDScriptInstance::has_method(const StringName &p_method) const { |
| 2021 | const GDScript *sptr = script.ptr(); |
no test coverage detected