#include class RNGLRParser { public: parseInput(std::string inputString); reducer(int i); shifter(int i); private: Lexer lexer; std::vector input; GraphStructuredStack gss; //start node, lefthand side of the reduction, reduction length std::queue, int > toReduce; //Node coming from, state going to std::queue< std::pair > toShift; };