* replaced vector of strings as name hierarchy by a new NameHierarchy class. * Adjusted code in ASTVisitor, Storage and various test cases.
16 lines
345 B
C++
16 lines
345 B
C++
#include "data/parser/ParseVariable.h"
|
|
|
|
#include "utility/utilityString.h"
|
|
|
|
ParseVariable::ParseVariable(const ParseTypeUsage& type, const NameHierarchy& nameHierarchy, bool isStatic)
|
|
: type(type)
|
|
, nameHierarchy(nameHierarchy)
|
|
, isStatic(isStatic)
|
|
{
|
|
}
|
|
|
|
std::string ParseVariable::getFullName() const
|
|
{
|
|
return nameHierarchy.getFullName();
|
|
}
|