Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "CFGParser.h"
- class ProductionNode {
- public:
- ProductionNode(Symbol _symbol);
- int getDependenceyCount();
- void addDependent(ProductionNode *dependent);
- std::vector<ProductionNode *> getDependents();
- Symbol getSymbol();
- void setEps();
- bool containsEps();
- void changeDependecies(int val);
- private:
- ProductionNode();
- Symbol symbol;
- std::vector<ProductionNode *> dependents;
- int dependenceyCount;
- bool hasEps;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement