Inferno
0.2
|
#include <uniquify_identifiers.hpp>
Public Types | |
typedef pair< const string, NameUsage > | NameUsagePair |
Public Member Functions | |
string | AddIdentifierNumber (NameUsage &nu, TreePtr< CPPTree::SpecificIdentifier > i, string b, unsigned n) |
string | AddIdentifier (TreePtr< CPPTree::SpecificIdentifier > i) |
Static Public Member Functions | |
static string | MakeUniqueName (string b, unsigned n) |
static void | SplitName (TreePtr< CPPTree::SpecificIdentifier > i, string *b, unsigned *n) |
Public Attributes | |
map< string, NameUsage > | name_usages |
Definition at line 19 of file uniquify_identifiers.hpp.
typedef pair<const string, NameUsage> VisibleIdentifiers::NameUsagePair |
Definition at line 22 of file uniquify_identifiers.hpp.
string VisibleIdentifiers::AddIdentifier | ( | TreePtr< CPPTree::SpecificIdentifier > | i | ) |
Definition at line 68 of file uniquify_identifiers.cpp.
References FOREACH.
Referenced by UniquifyIdentifiers::UniquifyScope().
string VisibleIdentifiers::AddIdentifierNumber | ( | NameUsage & | nu, |
TreePtr< CPPTree::SpecificIdentifier > | i, | ||
string | b, | ||
unsigned | n | ||
) |
Definition at line 39 of file uniquify_identifiers.cpp.
References FOREACH.
string VisibleIdentifiers::MakeUniqueName | ( | string | b, |
unsigned | n | ||
) | [static] |
Definition at line 13 of file uniquify_identifiers.cpp.
References SSPrintf(), and UID_FORMAT.
void VisibleIdentifiers::SplitName | ( | TreePtr< CPPTree::SpecificIdentifier > | i, |
string * | b, | ||
unsigned * | n | ||
) | [static] |
Definition at line 22 of file uniquify_identifiers.cpp.
References Traceable::GetName(), and UID_FORMAT.
map< string, NameUsage > VisibleIdentifiers::name_usages |
Definition at line 23 of file uniquify_identifiers.hpp.