ICG 2
Electric Boogaloo
ParsedAssignment.hpp
Go to the documentation of this file.
1 #include <string>
2 #include <regex>
3 #include <map>
4 
5 #include "Value/Value.hpp"
6 
8  public:
9 
10  ParsedAssignment (std::string assignment_string);
11 
12  std::string getVariableName();
13  std::string getValueRawString();
14  Value * getValue();
15 
16  private:
17  void parse(std::string s);
18  void parse2(std::string s);
19 
20 
21  std::string var_name;
22  Value * val;
23  std::string val_str;
24 
25 };
26 
Definition: ParsedAssignment.hpp:7
ParsedAssignment(std::string assignment_string)
Definition: ParsedAssignment.cpp:18
std::string getVariableName()
Definition: ParsedAssignment.cpp:97
std::string getValueRawString()
Definition: ParsedAssignment.cpp:101
Value * getValue()
Definition: ParsedAssignment.cpp:105
Value is an abstract base-class that represents a value on the right-hand-side of an assignment.
Definition: Value.hpp:9