2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 08:42:35 +00:00
Files
OpenAssetTools/src/Parser/Parsing/IParserValue.h
T
2026-03-06 00:13:04 +01:00

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;
};