mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-05 02:31:55 +00:00
23 lines
740 B
C++
23 lines
740 B
C++
#pragma once
|
|
|
|
#include "Parsing/Impl/AbstractParser.h"
|
|
#include "Parsing/Simple/SimpleLexer.h"
|
|
#include "Parsing/Simple/SimpleParserValue.h"
|
|
#include "StateMapParserState.h"
|
|
#include "Techset/TechsetDefinition.h"
|
|
#include "Utils/ClassUtils.h"
|
|
|
|
namespace state_map
|
|
{
|
|
class StateMapParser final : public AbstractParser<SimpleParserValue, StateMapParserState>
|
|
{
|
|
protected:
|
|
const std::vector<sequence_t*>& GetTestsForState() override;
|
|
|
|
public:
|
|
StateMapParser(SimpleLexer* lexer, std::string stateMapName, const StateMapLayout& layout);
|
|
_NODISCARD std::unique_ptr<StateMapDefinition> GetStateMapDefinition() const;
|
|
_NODISCARD StateMapParserState* GetState() const;
|
|
};
|
|
} // namespace state_map
|