mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
26 lines
579 B
C++
26 lines
579 B
C++
#pragma once
|
|
|
|
#include <map>
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
#include "StateMap/StateMapDefinition.h"
|
|
#include "StateMap/StateMapLayout.h"
|
|
|
|
namespace state_map
|
|
{
|
|
class StateMapParserState
|
|
{
|
|
public:
|
|
const StateMapLayout& m_layout;
|
|
std::map<std::string, size_t> m_valid_state_map_entry_names;
|
|
std::unique_ptr<StateMapDefinition> m_definition;
|
|
|
|
bool m_in_entry;
|
|
size_t m_current_entry_index;
|
|
StateMapRule* m_current_rule;
|
|
|
|
StateMapParserState(std::string stateMapName, const StateMapLayout& layout);
|
|
};
|
|
}
|