| 84 | } |
| 85 | |
| 86 | void 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 | |
| 92 | bool GDScriptParser::annotation_exists(const String &p_annotation_name) const { |
| 93 | return valid_annotations.has(p_annotation_name); |
no test coverage detected