GDScript: Replace abstract keyword with @abstract annotation

Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
This commit is contained in:
Aaron Franke 2025-06-19 04:53:15 -07:00
parent 88b9932ce1
commit 1085200f51
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
31 changed files with 179 additions and 197 deletions

View file

@ -2749,7 +2749,6 @@ Vector<String> GDScriptLanguage::get_reserved_words() const {
"when",
"while",
// Declarations.
"abstract",
"class",
"class_name",
"const",
@ -2915,7 +2914,7 @@ String GDScriptLanguage::get_global_class_name(const String &p_path, String *r_b
*r_icon_path = c->simplified_icon_path;
}
if (r_is_abstract) {
*r_is_abstract = false;
*r_is_abstract = c->is_abstract;
}
if (r_is_tool) {
*r_is_tool = parser.is_tool();