mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-07 13:27:13 +01:00
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.
45 lines
739 B
C++
45 lines
739 B
C++
//
|
|
// Tokenizer.h
|
|
//
|
|
// Library: CppParser
|
|
// Package: CppParser
|
|
// Module: Tokenizer
|
|
//
|
|
// Definition of the Tokenizer class.
|
|
//
|
|
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef CppParser_Tokenizer_INCLUDED
|
|
#define CppParser_Tokenizer_INCLUDED
|
|
|
|
|
|
#include "Poco/CppParser/CppParser.h"
|
|
#include "Poco/StreamTokenizer.h"
|
|
|
|
|
|
namespace Poco {
|
|
namespace CppParser {
|
|
|
|
|
|
class CppParser_API Tokenizer: public Poco::StreamTokenizer
|
|
/// A Tokenizer for C++.
|
|
{
|
|
public:
|
|
Tokenizer(std::istream& istr);
|
|
/// Creates the Tokenizer.
|
|
|
|
~Tokenizer();
|
|
/// Destroys the Tokenizer.
|
|
};
|
|
|
|
|
|
} } // namespace Poco::CppParser
|
|
|
|
|
|
#endif // CppParser_Tokenizer_INCLUDED
|