mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 15:50:49 +01:00
14 lines
311 B
C++
14 lines
311 B
C++
#ifndef EXPRESSION_NODE_H
|
|
#define EXPRESSION_NODE_H
|
|
|
|
#include "tree_node.h"
|
|
|
|
class ExpressionNode : public TreeNode {
|
|
public:
|
|
static TreeNode * failedAllocationNode();
|
|
virtual float approximate() = 0;
|
|
ExpressionNode * child(int i) { return static_cast<ExpressionNode *>(childTreeAtIndex(i)); }
|
|
};
|
|
|
|
#endif
|