[GDScript] Add static HashMap cleanup.

This commit is contained in:
bruvzg 2020-08-01 22:00:26 +03:00
parent ec9302cecc
commit ee973f5b90
No known key found for this signature in database
GPG key ID: FCED35F1CECE0D3A
5 changed files with 15 additions and 0 deletions

View file

@ -71,6 +71,10 @@ static StringName get_real_class_name(const StringName &p_source) {
return p_source;
}
void GDScriptAnalyzer::cleanup() {
underscore_map.clear();
}
static GDScriptParser::DataType make_callable_type(const MethodInfo &p_info) {
GDScriptParser::DataType type;
type.type_source = GDScriptParser::DataType::ANNOTATED_EXPLICIT;