#ifndef PARSER_SRC_NODE_H_ #define PARSER_SRC_NODE_H_ #include #include #include #include "nodes.h" namespace SimpleParser { class Tree { public: Tree(std::string); double solve(); std::string print(); private: template Node* addNode(Node**, Args&&... args); Node* buildTree(std::string); std::vector> node_collection_; Node* root_node_; std::string term_; }; } #endif // PARSER_SRC_NODE_H_