Add initial draft of structured data def parser to parse enums only for now

This commit is contained in:
Jan
2022-01-18 22:55:50 +01:00
parent 91cfb2e8dd
commit 1c1fbd1007
24 changed files with 792 additions and 0 deletions

View File

@ -0,0 +1,20 @@
#pragma once
#include <memory>
#include <vector>
#include "Domain/CommonStructuredDataDef.h"
namespace sdd
{
class StructuredDataDefParserState
{
public:
std::vector<std::unique_ptr<CommonStructuredDataDef>> m_defs;
CommonStructuredDataDef* m_current_def;
CommonStructuredDataDefEnum* m_current_enum;
CommonStructuredDataDefStruct* m_current_struct;
StructuredDataDefParserState();
};
}