Added structure for Regular Expressions, saving work as a backup because of software upgrade.
This commit is contained in:
@@ -7,6 +7,13 @@ Symbol::Symbol(std::string name, bool isTerminal) {
|
||||
value = "HAHAHA VALUE";
|
||||
}
|
||||
|
||||
Symbol::Symbol(std::string name, bool isTerminal, std::string value) {
|
||||
this->name = name;
|
||||
this->terminal = isTerminal;
|
||||
this->subTree = NULL;
|
||||
this->value = value;
|
||||
}
|
||||
|
||||
Symbol::Symbol(std::string name, bool isTerminal, NodeTree* tree) {
|
||||
this->name = name;
|
||||
this->terminal = isTerminal;
|
||||
|
||||
Reference in New Issue
Block a user