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