mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-19 03:57:14 +01:00
4a6bfc086c
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
48 lines
638 B
C++
48 lines
638 B
C++
//
|
|
// BuiltIn.cpp
|
|
//
|
|
// Library: CppParser
|
|
// Package: SymbolTable
|
|
// Module: BuiltIn
|
|
//
|
|
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#include "Poco/CppParser/BuiltIn.h"
|
|
#include "Poco/String.h"
|
|
#include <cctype>
|
|
|
|
|
|
namespace Poco {
|
|
namespace CppParser {
|
|
|
|
|
|
BuiltIn::BuiltIn(const std::string& name, NameSpace* pNameSpace):
|
|
Symbol(name, pNameSpace)
|
|
{
|
|
}
|
|
|
|
|
|
BuiltIn::~BuiltIn()
|
|
{
|
|
}
|
|
|
|
|
|
Symbol::Kind BuiltIn::kind() const
|
|
{
|
|
return Symbol::SYM_BUILTIN;
|
|
}
|
|
|
|
|
|
std::string BuiltIn::toString() const
|
|
{
|
|
return fullName();
|
|
}
|
|
|
|
|
|
} } // namespace Poco::CppParser
|