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

Method set_source_code

modules/gdscript/gdscript.cpp:461–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459}
460
461void GDScript::set_source_code(const String &p_code) {
462 if (source == p_code) {
463 return;
464 }
465 source = p_code;
466#ifdef TOOLS_ENABLED
467 source_changed_cache = true;
468#endif
469}
470
471#ifdef TOOLS_ENABLED
472void GDScript::_update_exports_values(HashMap<StringName, Variant> &values, List<PropertyInfo> &propnames) {

Callers 15

parseMethod · 0.45
reload_scriptsMethod · 0.45
get_classes_usedMethod · 0.45
parse_code_stringMethod · 0.45
make_templateMethod · 0.45
find_functionMethod · 0.45
update_document_linksMethod · 0.45
test_tokenizerFunction · 0.45
test_directoryFunction · 0.45
apply_codeMethod · 0.45
_validate_scriptMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_tokenizerFunction · 0.36
test_directoryFunction · 0.36