Added a firstSet(Symbol*) function that takes in a Symbol* and returns a vector of Symbol* s that are the first set of the first Symbol*.

This commit is contained in:
Nathan Braswell committed 2013-06-13 19:11:31 -04:00
1 parent 0c651a5d9e
commit da6e5f3de9
3 files changed
+41

No files matched your search

+2
View File
@@ -23,6 +23,8 @@ class Parser {
~Parser();
void loadGrammer(std::string grammerInputString);
std::vector<Symbol*>* firstSet(Symbol* token);
void printFirstSets();
void createStateSet();
void closure(State* state);
void addStates(std::vector< State* >* stateSets, State* state);