mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-26 06:11:53 +00:00
20 lines
404 B
C++
20 lines
404 B
C++
#pragma once
|
|
|
|
#include "HeaderParserValue.h"
|
|
#include "Parsing/Impl/AbstractLexer.h"
|
|
|
|
#include <unordered_map>
|
|
|
|
class HeaderLexer final : public AbstractLexer<HeaderParserValue>
|
|
{
|
|
std::unordered_map<std::string, HeaderParserValueType> m_keywords;
|
|
|
|
void PrepareKeywords();
|
|
|
|
protected:
|
|
HeaderParserValue GetNextToken() override;
|
|
|
|
public:
|
|
explicit HeaderLexer(IParserLineStream* stream);
|
|
};
|