- Note
- This Source File belongs to 7GUIs Cells Example. Please follow the link for example explanation.
#pragma once
#include <AUI/Common/AObject.h>
#include "Tokens.h"
#include "Formula.h"
namespace ast {
class INodeVisitor {
public:
virtual ~INodeVisitor() = default;
};
class INode {
public:
INode() = default;
virtual ~INode() = default;
virtual formula::Value evaluate(const Spreadsheet& ctx) = 0;
};
_unique<INode> parseExpression(std::span<token::Any> tokens);
}