aboutsummaryrefslogtreecommitdiffstats
path: root/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/parser.h b/parser.h
index eab8354..cd39732 100644
--- a/parser.h
+++ b/parser.h
@@ -4,10 +4,12 @@
#include <vector>
class Parser {
- private:
- std::vector<Token> m_tokens;
public:
- Parser(std::string&);
- std::vector<Token>& getTokens();
- void printTokens();
+ 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>&);
};