Added clone method and pointer location to toString in ParseRule

This commit is contained in:
Nathan Braswell committed 2013-05-20 23:26:15 -04:00
1 parent 200cff6ab4
commit 14fc410e00
2 files changed
+27

No files matched your search

+5
View File
@@ -14,11 +14,16 @@
class ParseRule {
public:
ParseRule();
ParseRule(Symbol* leftHandle, int pointerIndex, std::vector<Symbol*> &rightSide);
~ParseRule();
ParseRule* clone();
void setLeftHandle(Symbol* leftHandle);
void appendToRight(Symbol* appendee);
bool advancePointer();
std::string toString();
std::string toDOT();