Ejemplo n.º 1
0
 public NamedDataTypeExtractor(IEnumerable <DeclSpec> specs, XmlConverter converter)
 {
     this.specs             = specs;
     this.converter         = converter;
     this.callingConvention = CTokenType.None;
     this.eval       = new CConstantEvaluator(converter.Constants);
     this.simpleSize = SimpleSize.None;
     foreach (var declspec in specs)
     {
         dt = declspec.Accept(this);
     }
 }
Ejemplo n.º 2
0
 public EnumEvaluator(CConstantEvaluator ceval)
 {
     this.value = 0;
     this.ceval = ceval;
 }