diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-07-02 17:27:25 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-07-02 17:27:25 +0200 |
commit | 1ebd12ac5fdd2e99123ba00197e5d60bed541e1d (patch) | |
tree | 23264c9770fdb7739c498648a330ee1e0e12993b /modules/gdscript/gdscript_cache.h | |
parent | 9db1a963beae8056cbd30d692d4160d09c10b2dc (diff) | |
parent | ffc0d0981b48aaa6372f9859da5d238c825efbad (diff) | |
download | redot-engine-1ebd12ac5fdd2e99123ba00197e5d60bed541e1d.tar.gz |
Merge pull request #92616 from rune-scape/rune-invalidate-parser-chain
GDScript: Invalidate cached parser chain when reloading
Diffstat (limited to 'modules/gdscript/gdscript_cache.h')
-rw-r--r-- | modules/gdscript/gdscript_cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_cache.h b/modules/gdscript/gdscript_cache.h index 16121cc082..c927317e19 100644 --- a/modules/gdscript/gdscript_cache.h +++ b/modules/gdscript/gdscript_cache.h @@ -65,6 +65,7 @@ private: public: Status get_status() const; + String get_path() const; uint32_t get_source_hash() const; GDScriptParser *get_parser(); GDScriptAnalyzer *get_analyzer(); @@ -82,6 +83,7 @@ class GDScriptCache { HashMap<String, Ref<GDScript>> full_gdscript_cache; HashMap<String, Ref<GDScript>> static_gdscript_cache; HashMap<String, HashSet<String>> dependencies; + HashMap<String, HashSet<String>> parser_inverse_dependencies; friend class GDScript; friend class GDScriptParserRef; |