aboutsummaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/parser.h b/src/parser.h
index a27d1c0..54e540a 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -2,19 +2,11 @@
#define PARSER_SRC_PARSER_H_
#include <string>
-#include <vector>
-
-#include "tree.h"
namespace SimpleParser {
-double calculate(std::string term) {
- return Tree(term).solve();
-}
-
-std::string exportTree(std::string term) {
- return Tree(term).print();
-}
+double calculate(std::string);
+std::string exportTree(std::string);
}