summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-04-05 23:15:12 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-04-05 23:19:30 +0200
commit00799fc8c245a09259fda8d17e65428a904402c6 (patch)
tree70d791a41f668faced75e98884e327df33b7edc3 /modules/gdscript/gdscript.h
parentcc349336e7a099f786c8c281fdceefd7d0bd33ae (diff)
downloadredot-engine-00799fc8c245a09259fda8d17e65428a904402c6.tar.gz
Add support for type hints in non-default script editor templates
This also refactors template processing to avoid repetition. This closes #27074.
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r--modules/gdscript/gdscript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h
index ded873c7d3..c67e390e32 100644
--- a/modules/gdscript/gdscript.h
+++ b/modules/gdscript/gdscript.h
@@ -444,6 +444,7 @@ public:
virtual void get_reserved_words(List<String> *p_words) const;
virtual void get_comment_delimiters(List<String> *p_delimiters) const;
virtual void get_string_delimiters(List<String> *p_delimiters) const;
+ virtual String _get_processed_template(const String &p_template, const String &p_base_class_name) const;
virtual Ref<Script> get_template(const String &p_class_name, const String &p_base_class_name) const;
virtual bool is_using_templates();
virtual void make_template(const String &p_class_name, const String &p_base_class_name, Ref<Script> &p_script);