Commit e40ed283 authored by Ronan's avatar Ronan

add default protected constructor in Recognizer

parent b8a3c979
......@@ -68,10 +68,11 @@ public:
void optimize();
void optimize(int recursionLevel);
Recognizer() = default;
/*returns true if the transition map is complete, false otherwise*/
virtual bool _getTransitionMap(TransitionMap *mask);
virtual void _optimize(int recursionLevel)=0;
virtual size_t _feed(const std::shared_ptr<ParserContextBase> &ctx, const std::string &input, size_t pos)=0;
std::string mName;
unsigned int mId = 0;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment