From be011366f249b8ebed3905030ce3b7021597ee34 Mon Sep 17 00:00:00 2001 From: jantuomi Date: Thu, 1 Sep 2016 11:14:10 +0300 Subject: Add value parsing from stdin, remove value class --- parser.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'parser.h') diff --git a/parser.h b/parser.h index eab8354..cd39732 100644 --- a/parser.h +++ b/parser.h @@ -4,10 +4,12 @@ #include class Parser { - private: - std::vector m_tokens; public: - Parser(std::string&); - std::vector& getTokens(); - void printTokens(); + Parser(); + + std::vector parseValues(const std::string&); + std::vector parseCode(const std::string&); + + static void printTokens(const std::vector&); + static void printValues(const std::vector&); }; -- cgit v1.3