Cleaned prefab parser a lot

This commit is contained in:
2023-03-29 18:44:28 -07:00
parent d8bac10b48
commit fce3e050a1
15 changed files with 312 additions and 153 deletions

View File

@ -4,7 +4,7 @@
// https://opensource.org/licenses/MIT
#pragma once
#include "PrefabParser.hpp"
#include "PrefabGen.hpp"
namespace Dawn {
class PrefabTool : public DawnTool {
@ -15,13 +15,4 @@ namespace Dawn {
public:
int32_t start();
};
class PrefabGen : public CodeGen {
public:
static void generate(
std::vector<std::string> *out,
struct Prefab *prefab,
std::string tabs
);
};
}