23 qualified_name_parts.push_back(name);
32 std::string result = qualified_name_parts.back();
33 qualified_name_parts.pop_back();
45 for (
auto part : qualified_name_parts) {
53 std::deque<std::string> qualified_name_parts;
Keep track of the namespace scope that we're in.
Definition: Scope.hpp:13
std::string pop_qualifier()
Pop the top level qualifier when we leave a namespace/class.
Definition: Scope.hpp:31
std::string make_scoped_name(std::string name)
Take a top level name and attach the current qualifiers.
Definition: Scope.hpp:43
void push_qualifier(std::string name)
Push on a qualifier when we enter a namespace/class.
Definition: Scope.hpp:22