OpenAssetTools/src/Parser/Parsing/Simple/Matcher/SimpleMatcherKeywordPrefix.h
2021-03-23 17:16:36 +01:00

18 lines
431 B
C++

#pragma once
#include <string>
#include "Parsing/Simple/SimpleParserValue.h"
#include "Parsing/Matcher/AbstractMatcher.h"
class SimpleMatcherKeywordPrefix final : public AbstractMatcher<SimpleParserValue>
{
std::string m_value;
protected:
MatcherResult<SimpleParserValue> CanMatch(ILexer<SimpleParserValue>* lexer, unsigned tokenOffset) override;
public:
explicit SimpleMatcherKeywordPrefix(std::string value);
};