mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-19 03:57:14 +01:00
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
|