OpenAssetTools/src/Parser/Parsing/IParserValue.h
2023-11-19 21:07:21 +00:00

21 lines
537 B
C++

#pragma once
#include "TokenPos.h"
#include "Utils/ClassUtils.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;
};