diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-03-30 15:12:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 15:12:04 +0200 |
commit | 737f09895d24cfd267018bdea2c67c1a4ddd20a6 (patch) | |
tree | eb2c4179e6b6e8c0719a968a672496decc618fe7 /modules/gdscript/gdscript_parser.h | |
parent | 89637e45f83a0121bdb1d086a359ce11d981dd8f (diff) | |
parent | 2b9be53243e868a03894ffe8637c9983e7f0255f (diff) |
Merge pull request #47131 from vnen/gdscript-export-fix
Fix a few issues with @export in GDScript
Diffstat (limited to 'modules/gdscript/gdscript_parser.h')
-rw-r--r-- | modules/gdscript/gdscript_parser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_parser.h b/modules/gdscript/gdscript_parser.h index 2d75676cff..272d21ffce 100644 --- a/modules/gdscript/gdscript_parser.h +++ b/modules/gdscript/gdscript_parser.h @@ -132,7 +132,7 @@ public: ClassNode *class_type = nullptr; MethodInfo method_info; // For callable/signals. - HashMap<StringName, int> enum_values; // For enums. + Map<StringName, int> enum_values; // For enums. _FORCE_INLINE_ bool is_set() const { return kind != UNRESOLVED; } _FORCE_INLINE_ bool has_no_type() const { return type_source == UNDETECTED; } @@ -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; } |