public CsGenerator(AST.Definition def, GeneratorSettings settings) : base(def, settings) { ABIFolder = Path.Combine(Settings.OutputFolder, "ABI"); BaseFolder = Path.Combine(Settings.OutputFolder, "GluonInternal"); PreprocessDefinition(); if (!Directory.Exists(ABIFolder)) { Directory.CreateDirectory(ABIFolder); } }
public Generator(AST.Definition definition, GeneratorSettings settings) { Definition = definition; Settings = settings; OutputFiles = new List <string>(); }