Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef PARSERFACTORY_H
- #define PARSERFACTORY_H
- #include"Type.h"
- #include"variable.h"
- static std::string const grammarfail=""; //added
- static unsigned int minimumlength=2; //added
- class parserfactory
- {
- public:
- virtual ~parserfactory(){};
- virtual Type* CreateType(std::string const& type)=0;
- virtual variable* CreateVariable(std::string const& name,Type* type)=0;
- virtual std::string const & CheckType(std::string const & typeline)=0; //added
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment