Basic structures work, prep work for function pointers and other stuff,a couple of bugs fixed.
This commit is contained in:
@@ -33,6 +33,7 @@ class State {
|
||||
void addParents(std::vector<State*>* parents);
|
||||
std::vector<State*>* getParents();
|
||||
std::vector<State*>* getDeepParents(int depth);
|
||||
int getNumber();
|
||||
|
||||
|
||||
std::vector<ParseRule*> basis;
|
||||
|
||||
@@ -8,10 +8,13 @@
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
std::string intToString(int theInt);
|
||||
std::string replaceExEscape(std::string first, std::string search, std::string replace);
|
||||
std::string strSlice(std::string str, int begin, int end);
|
||||
int findPerenEnd(std::string str, int i);
|
||||
std::vector<std::string> split(const std::string &str, char delim);
|
||||
std::string join(const std::vector<std::string> &strVec, std::string joinStr);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user