You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #62713 from YuriSizov/docs-scripting-annotations
This commit is contained in:
@@ -105,6 +105,10 @@ void GDScriptParser::get_annotation_list(List<MethodInfo> *r_annotations) const
|
||||
}
|
||||
}
|
||||
|
||||
bool GDScriptParser::annotation_exists(const String &p_annotation_name) const {
|
||||
return valid_annotations.has(p_annotation_name);
|
||||
}
|
||||
|
||||
GDScriptParser::GDScriptParser() {
|
||||
// Register valid annotations.
|
||||
// TODO: Should this be static?
|
||||
|
||||
Reference in New Issue
Block a user