Esempio n. 1
0
 private MidExp SimplifyExpImpl(MidAttributeFetch exp, SimplifyEnv env)
 {
     return(_exps.AttributeFetch(
                exp.Range,
                exp.Obj,
                exp.Attribute));
 }
Esempio n. 2
0
        public MidAttributeFetch CleanupExp(MidAttributeFetch exp)
        {
            var oldAttr = exp.Attribute;
            var newAttr = MapOldToNew(oldAttr);

            return(_exps.AttributeFetch(exp.Range, exp.Obj, newAttr));
        }