mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-06-06 08:42:35 +00:00
20 lines
513 B
C++
20 lines
513 B
C++
#pragma once
|
|
|
|
#include "TokenPos.h"
|
|
|
|
class IParserValue
|
|
{
|
|
protected:
|
|
IParserValue() = default;
|
|
|
|
public:
|
|
virtual ~IParserValue() = default;
|
|
IParserValue(const IParserValue& other) = default;
|
|
IParserValue(IParserValue&& other) noexcept = default;
|
|
IParserValue& operator=(const IParserValue& other) = default;
|
|
IParserValue& operator=(IParserValue&& other) noexcept = default;
|
|
|
|
[[nodiscard]] virtual bool IsEof() const = 0;
|
|
[[nodiscard]] virtual const TokenPos& GetPos() const = 0;
|
|
};
|