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); } }
public EnumEvaluator(CConstantEvaluator ceval) { this.value = 0; this.ceval = ceval; }