A simple scripting language in C++
Ferenc Szontágh
2025-04-17 36ec04c00fa540fcee0f2cff1f7b81dd8a98101a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef INTERPRETER_FUNCTION_EXECUTOR_HPP
#define INTERPRETER_FUNCTION_EXECUTOR_HPP
 
#include "Symbols/Value.hpp"
 
namespace Interpreter {
struct ExpressionNode {
    virtual ~ExpressionNode()                                              = default;
    virtual Symbols::Value evaluate(class Interpreter & interpreter) const = 0;
    virtual std::string    toString() const                                = 0;
};
 
}  // namespace Interpreter
#endif  // INTERPRETER_FUNCTION_EXECUTOR_HPP