mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 00:00:44 +01:00
26 lines
442 B
C++
26 lines
442 B
C++
#ifndef END_NODE_H
|
|
#define END_NODE_H
|
|
|
|
#include "expression_reference.h"
|
|
#include "expression_node.h"
|
|
|
|
class EndNode : public ExpressionNode {
|
|
public:
|
|
EndNode() : ExpressionNode() {
|
|
printf("Create end node\n");
|
|
}
|
|
float approximate() override {
|
|
assert(false);
|
|
return 0.0f;
|
|
}
|
|
#if TREE_LOGGING
|
|
const char * description() const override {
|
|
return "End";
|
|
}
|
|
#endif
|
|
};
|
|
|
|
//typedef ExpressionReference<EndNode> End;
|
|
|
|
#endif
|