godot/modules/gdscript/language_server
TechnoPorg 051ef479c9 Allow method binds to take Object subclasses as arguments
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object.
This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary.
A few small changes also had to be made to other files, due to the changes cascading down all the includes.
2022-01-25 09:03:36 -07:00
..
gdscript_extend_parser.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_extend_parser.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_language_protocol.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_language_protocol.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_language_server.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_language_server.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_text_document.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_text_document.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_workspace.cpp Allow method binds to take Object subclasses as arguments 2022-01-25 09:03:36 -07:00
gdscript_workspace.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
lsp.hpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00