aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.h
diff options
context:
space:
mode:
authorjantuomi <jans.tuomi@gmail.com>2016-09-01 11:20:59 +0300
committerjantuomi <jans.tuomi@gmail.com>2016-09-01 11:20:59 +0300
commit50bafbdd68160d00606a4e83d9759c21223c11f8 (patch)
tree66c58cfb012dc0b7d222a03e8c55507b75e9af1f /src/parser.h
parentbe011366f249b8ebed3905030ce3b7021597ee34 (diff)
Restructure project
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h
new file mode 100644
index 0000000..cd39732
--- /dev/null
+++ b/src/parser.h
@@ -0,0 +1,15 @@
+#pragma once
+#include <string>
+#include "token.h"
+#include <vector>
+
+class Parser {
+ public:
+ Parser();
+
+ std::vector<int> parseValues(const std::string&);
+ std::vector<Token> parseCode(const std::string&);
+
+ static void printTokens(const std::vector<Token>&);
+ static void printValues(const std::vector<int>&);
+};