| 1179 | } |
| 1180 | |
| 1181 | StringName GDScript::debug_get_static_var_by_index(int p_idx) const { |
| 1182 | for (const KeyValue<StringName, MemberInfo> &E : static_variables_indices) { |
| 1183 | if (E.value.index == p_idx) { |
| 1184 | return E.key; |
| 1185 | } |
| 1186 | } |
| 1187 | |
| 1188 | return "<error>"; |
| 1189 | } |
| 1190 | |
| 1191 | Ref<GDScript> GDScript::get_base() const { |
| 1192 | return base; |