Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
 public Generator(AST.Definition definition, GeneratorSettings settings)
 {
     Definition  = definition;
     Settings    = settings;
     OutputFiles = new List <string>();
 }