18 std::string cleanedName =
"";
20 for (
int i = 0; i < rawName.length(); i++)
22 char c = rawName.at(i);
25 if ((c ==
'm' || c ==
's' || c ==
'g') && rawName.at(i + 1) ==
'_')
32 cleanedName += std::toupper(c);
35 else if (rawName.length() > i + 1 && std::isupper(c) && std::islower(rawName.at(i + 1)))
40 else if (std::isalpha(c) && rawName.at(i - 1) ==
'_')
42 cleanedName += std::toupper(c);
67 if (CompilationClassStack().empty())
69 EE_CORE_ERROR(
"ERROR: Tried to PopClassStack but stack is empty!");
74 for (
int i = 0; i < CompilationClassStack().size(); i++)
76 fullName.append(CompilationClassStack()[i]);
77 if (i != CompilationClassStack().size() - 1)
82 CompilationClassStack().pop_back();
83 ClassPaths().push_back(fullName);