capydi
Loading...
Searching...
No Matches
ITokenizer.hpp
Go to the documentation of this file.
1#ifndef I_TOKENIZER_HPP_
2#define I_TOKENIZER_HPP_
3
4#include <optional>
5
6template<typename TokenType_>
8{
9public:
10 using TokenType = TokenType_;
11
12public:
13 virtual ~ITokenizer() = default;
14
15public:
16 virtual std::optional<TokenType> next_token() noexcept = 0;
17};
18
19#endif // !I_TOKENIZER_HPP_
Definition ITokenizer.hpp:8
virtual std::optional< TokenType > next_token() noexcept=0
FileSystem::FileContentType TokenType
Definition ITokenizer.hpp:10
virtual ~ITokenizer()=default