public RustEncoderGenerator(GeneratorContext generatorContext) : base(generatorContext.Types) { this.generatorContext = generatorContext; idConverter = RustIdentifierConverter.Create(); enumGenerator = new RustEnumsGenerator(generatorContext); }
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; }
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); }