Added first go at creating stateSets. This is a commit to save work, as it still segfaults.:

This commit is contained in:
Nathan Braswell
2013-05-24 00:00:41 -04:00
parent e4f83cbb67
commit 1aec4ee6a7
5 changed files with 115 additions and 0 deletions

View File

@@ -17,6 +17,8 @@ class ParseRule {
ParseRule(Symbol* leftHandle, int pointerIndex, std::vector<Symbol*> &rightSide);
~ParseRule();
bool const operator==(const ParseRule &other);
ParseRule* clone();
void setLeftHandle(Symbol* leftHandle);
@@ -24,6 +26,7 @@ class ParseRule {
Symbol* getLeftSide();
std::vector<Symbol*> getRightSide();
int getIndex();
bool advancePointer();