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

Method get_public_annotations

modules/gdscript/gdscript_editor.cpp:523–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

521}
522
523void GDScriptLanguage::get_public_annotations(List<MethodInfo> *p_annotations) const {
524 GDScriptParser parser;
525 List<MethodInfo> annotations;
526 parser.get_annotation_list(&annotations);
527
528 for (const MethodInfo &E : annotations) {
529 p_annotations->push_back(E);
530 }
531}
532
533String GDScriptLanguage::make_function(const String &p_class, const String &p_name, const PackedStringArray &p_args) const {
534#ifdef TOOLS_ENABLED

Callers 2

generateMethod · 0.45

Calls 2

get_annotation_listMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected