summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_parser.h
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2021-03-17 10:57:30 -0300
committerGeorge Marques <george@gmarqu.es>2021-03-30 08:29:36 -0300
commit577a17980d160a95652e6d5ecc3e8554f4c2ebad (patch)
tree016c96218ec11f5926d567e7b56f5bb5946aeab7 /modules/gdscript/gdscript_parser.h
parent655a913e2273b41037df80ae00c11bed9f98d9a9 (diff)
downloadredot-engine-577a17980d160a95652e6d5ecc3e8554f4c2ebad.tar.gz
Move GDSript annotation application after type-checking
This ensures that annotations that rely on the datatype (such as @export) can validated it timely, allowing compound expressions instead of only literal values.
Diffstat (limited to 'modules/gdscript/gdscript_parser.h')
-rw-r--r--modules/gdscript/gdscript_parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_parser.h b/modules/gdscript/gdscript_parser.h
index 2d75676cff..de5156101d 100644
--- a/modules/gdscript/gdscript_parser.h
+++ b/modules/gdscript/gdscript_parser.h
@@ -1369,6 +1369,7 @@ public:
ClassNode *get_tree() const { return head; }
bool is_tool() const { return _is_tool; }
static Variant::Type get_builtin_type(const StringName &p_type);
+ static StringName get_real_class_name(const StringName &p_source);
CompletionContext get_completion_context() const { return completion_context; }
CompletionCall get_completion_call() const { return completion_call; }