Arctyx/include/arctyx/compiler/Interpretation.h
2025-04-27 10:34:53 -07:00

28 lines
530 B
C++

#pragma once
#include <ehs/Array.h>
#include "Instruction.h"
#include "Token.h"
class EHS_LIB_IO Interpretation : public Token
{
private:
Instruction result;
public:
Interpretation() = default;
Interpretation(const TokenT &type, ehs::Str_8 value, Instruction result);
Interpretation(Interpretation &&other) noexcept;
Interpretation(const Interpretation &other);
Interpretation &operator=(Interpretation &&other) noexcept;
Interpretation &operator=(const Interpretation &other);
Instruction GetResult() const;
};