* added colors for file nodes and dependency edges * use TokenComponentFilePath on file nodes to store FilePath
21 lines
420 B
C++
21 lines
420 B
C++
#include "data/graph/token_component/TokenComponentFilePath.h"
|
|
|
|
TokenComponentFilePath::TokenComponentFilePath(const FilePath& path)
|
|
: m_path(path)
|
|
{
|
|
}
|
|
|
|
TokenComponentFilePath::~TokenComponentFilePath()
|
|
{
|
|
}
|
|
|
|
std::shared_ptr<TokenComponent> TokenComponentFilePath::copy() const
|
|
{
|
|
return std::make_shared<TokenComponentFilePath>(*this);
|
|
}
|
|
|
|
const FilePath& TokenComponentFilePath::getFilePath() const
|
|
{
|
|
return m_path;
|
|
}
|