global info search methods

This commit is contained in:
ProgramSnail 2023-04-14 16:43:56 +03:00
parent aa4e9fa721
commit 9c25cb1c6f
2 changed files with 124 additions and 18 deletions

View file

@ -113,7 +113,8 @@ struct NamespaceInfo {
std::unordered_map<std::string, TypeInfo> types;
std::unordered_map<std::string, TypeclassInfo> typeclasses;
std::unordered_map<std::string, FunctionInfo> functions;
std::unordered_map<std::string, std::vector<NamespaceInfo>> namespaces;
std::unordered_map<std::string, NamespaceInfo> namespaces;
std::unordered_map<std::string, std::vector<NamespaceInfo>> variable_namespaces;
std::optional<Modifier> modifier;
std::optional<std::string> variable;