mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-10-30 05:29:41 +01:00 
			
		
		
		
	 b0581433a7
			
		
	
	b0581433a7
	
	
	
		
			
			fix: remove executable flag and change back to 100644 (was 100755) Signed-off-by: Roger Meier <r.meier@siemens.com>
		
			
				
	
	
		
			45 lines
		
	
	
		
			611 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			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
 | |
| 
 |