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

Method get_annotation_list

modules/gdscript/gdscript_parser.cpp:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void GDScriptParser::get_annotation_list(List<MethodInfo> *r_annotations) const {
87 for (const KeyValue<StringName, AnnotationInfo> &E : valid_annotations) {
88 r_annotations->push_back(E.value.info);
89 }
90}
91
92bool GDScriptParser::annotation_exists(const String &p_annotation_name) const {
93 return valid_annotations.has(p_annotation_name);

Callers 2

complete_codeMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected