Backup.
This commit is contained in:
27
include/arctyx/compiler/Interpretation.h
Normal file
27
include/arctyx/compiler/Interpretation.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#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;
|
||||
};
|
Reference in New Issue
Block a user