From d3b0ab71928fde3ccbc7c849eb6fcb87c1ca58e3 Mon Sep 17 00:00:00 2001 From: triton Date: Thu, 24 Oct 2013 19:27:53 +0100 Subject: [PATCH] Added missing Generator file. --- src/Generator/Generator.cs | 107 +++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 src/Generator/Generator.cs diff --git a/src/Generator/Generator.cs b/src/Generator/Generator.cs new file mode 100644 index 00000000..069437f9 --- /dev/null +++ b/src/Generator/Generator.cs @@ -0,0 +1,107 @@ +using System; +using System.Collections.Generic; +using CppSharp.AST; + +namespace CppSharp.Generators +{ + /// + /// Kinds of language generators. + /// + public enum GeneratorKind + { + CLI, + CSharp, + } + + /// + /// Output generated by each backend generator. + /// + public struct GeneratorOutput + { + /// + /// Translation unit associated with output. + /// + public TranslationUnit TranslationUnit; + + /// + /// Text templates with generated output. + /// + public List