Files
Upsilon/apps/variable_box_node.h
Émilie Feral da31c78ceb [apps] create a class variable box node
Change-Id: I9b80465ea757a3bf61f4bed7e2787834432795b2
2016-11-10 17:26:07 +01:00

21 lines
463 B
C++

#ifndef APPS_VARIABLE_BOX_NODE_H
#define APPS_VARIABLE_BOX_NODE_H
#include "node.h"
#include <poincare.h>
class VariableBoxNode : public Node {
public:
constexpr VariableBoxNode(const char * label = nullptr, const VariableBoxNode * children = nullptr, int numberOfChildren = 0) :
Node(label, numberOfChildren),
m_children(children)
{
};
const Node * children(int index) const override;
private:
const VariableBoxNode * m_children;
};
#endif