poco/CppParser/src/Decl.cpp
Roger Meier b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00

45 lines
611 B
C++

//
// Decl.cpp
//
// $Id: //poco/1.4/CppParser/src/Decl.cpp#1 $
//
// Library: CppParser
// Package: SymbolTable
// Module: Decl
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/CppParser/Decl.h"
#include "Poco/String.h"
namespace Poco {
namespace CppParser {
Decl::Decl(const std::string& decl, NameSpace* pNameSpace):
Symbol(extractName(decl), pNameSpace),
_decl(Poco::trim(decl))
{
}
Decl::~Decl()
{
}
std::string Decl::toString() const
{
return _decl;
}
} } // namespace Poco::CppParser