ICG 2
Electric Boogaloo
Public Member Functions | List of all members
JClang::Scope Class Reference

Keep track of the namespace scope that we're in. More...

#include <Scope.hpp>

Public Member Functions

void push_qualifier (std::string name)
 Push on a qualifier when we enter a namespace/class. More...
 
std::string pop_qualifier ()
 Pop the top level qualifier when we leave a namespace/class. More...
 
std::string make_scoped_name (std::string name)
 Take a top level name and attach the current qualifiers. More...
 

Detailed Description

Keep track of the namespace scope that we're in.

Member Function Documentation

◆ make_scoped_name()

std::string JClang::Scope::make_scoped_name ( std::string  name)
inline

Take a top level name and attach the current qualifiers.

Parameters
namebare name
Returns
std::string fully qualified name

◆ pop_qualifier()

std::string JClang::Scope::pop_qualifier ( )
inline

Pop the top level qualifier when we leave a namespace/class.

Returns
std::string

◆ push_qualifier()

void JClang::Scope::push_qualifier ( std::string  name)
inline

Push on a qualifier when we enter a namespace/class.

Parameters
namename to push

The documentation for this class was generated from the following file: