aboutsummaryrefslogtreecommitdiff
path: root/buildtools/codegen/CodegenOutput.hpp
blob: 660feb10fca38d43dc3588b58c6d839c0c6f1937 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <string>
#include <vector>

// A generic "thing" (could be anything, comments, string-concated functionsm, etc.) to spit into the output file
struct CodegenOutputThing {
	std::string text;
};

class CodegenOutput {
private:
	std::vector<CodegenOutputThing> mOutThings;

public:
	void AddOutputThing(CodegenOutputThing thing);
};