Exemple #1
0
 public RustEncoderGenerator(GeneratorContext generatorContext)
     : base(generatorContext.Types)
 {
     this.generatorContext = generatorContext;
     idConverter           = RustIdentifierConverter.Create();
     enumGenerator         = new RustEnumsGenerator(generatorContext);
 }
Exemple #2
0
 public RustInstrInfoGenerator(GeneratorOptions generatorOptions)
 {
     idConverter           = RustIdentifierConverter.Create();
     this.generatorOptions = generatorOptions;
     enumGenerator         = new RustEnumsGenerator(generatorOptions);
     constantsGenerator    = new RustConstantsGenerator(generatorOptions);
 }
 public RustInstrInfoGenerator(GeneratorContext generatorContext)
     : base(generatorContext.Types)
 {
     idConverter           = RustIdentifierConverter.Create();
     enumGenerator         = new RustEnumsGenerator(generatorContext);
     constantsGenerator    = new RustConstantsGenerator(generatorContext);
     this.generatorContext = generatorContext;
 }
Exemple #4
0
 public RustInstrInfoGenerator(GeneratorContext generatorContext)
     : base(generatorContext.Types)
 {
     idConverter           = RustIdentifierConverter.Create();
     enumGenerator         = new RustEnumsGenerator(generatorContext);
     constantsGenerator    = new RustConstantsGenerator(generatorContext);
     this.generatorContext = generatorContext;
     opAccessType          = generatorContext.Types[TypeIds.OpAccess];
     registerType          = generatorContext.Types[TypeIds.Register];
 }
 public RustEncoderGenerator(GeneratorOptions generatorOptions)
 {
     idConverter           = RustIdentifierConverter.Create();
     this.generatorOptions = generatorOptions;
     enumGenerator         = new RustEnumsGenerator(generatorOptions);
 }